Re: Fatal error: Call to undefined function Google\AdsApi\AdWords\boolval()

2018-02-21 Thread Alan Coleman
This issue was down to my own environments PHP Settings and a related directory issue, so unrelated to the API. Thanks On Monday, February 19, 2018 at 2:43:46 PM UTC, Alan Coleman wrote: > > Hello everyone, > > I've put together a simple PHP test script based on the GetCampai

Fatal error: Call to undefined function Google\AdsApi\AdWords\boolval()

2018-02-19 Thread Alan Coleman
Hello everyone, I've put together a simple PHP test script based on the GetCampaigns.php example. It returns data in my local development environment and also on my live serv

Re: SOAP request and response logs

2018-02-16 Thread Alan Coleman
Thanks again for your help. On Thursday, February 15, 2018 at 8:20:09 PM UTC, Milind Sankeshware (AdWords API Team) wrote: > > Hi Alan, > > To enable the logs, you just need to do some changes in adsapi_php.ini > file as mention in this guide >

Re: Setting clientCustomerId outside adsapi

2018-02-16 Thread Alan Coleman
Perfect, thank very much for your help. On Thursday, February 15, 2018 at 10:15:08 PM UTC, Milind Sankeshware (AdWords API Team) wrote: > > Hi Alan, > > You can set the clientCusotmerId while creating an AdWords session as > shown below: > > $session = (new AdWordsSessionBuilder()) > ->withOAuth

Re: Setting clientCustomerId outside adsapi

2018-02-15 Thread Alan Coleman
I can see that there's a Python method documented below, however I'm looking for PHP: https://github.com/googleads/googleads-python-lib#how-do-i-change-the-client-customer-id-at-runtime On Thursday, February 15, 2018 at 3:34:31 PM UTC, Alan Coleman wrote: > > Hello everyone, &

Setting clientCustomerId outside adsapi

2018-02-15 Thread Alan Coleman
Hello everyone, I'm trying to upgrade our PHP AdWords API Application to the new library. I can see that clientCustomerId is set in adsapi_php,ini . However I need to be able to set the clientCustomerId

SOAP request and response logs

2018-02-15 Thread Alan Coleman
Hello everyone, We're using the latest library of the Google AdWords API as documented here: https://github.com/googleads/googleads-php-lib/blob/master/UPGRADING.md I'm confused about SOAP Logging, which is documented here: https://github.com/googleads/googleads-php-lib/blob/master/README.md#l

Re: Setting up the API, getting a SOAP error

2018-02-06 Thread Alan Coleman
Thanks for the reply Sreelakshmi, As a local test I disabled the SOAP SSL Verification in SoapSettingsBuilder.php, this allowed me to run an example via the command line. So the problem is with the certs, or lack of them, on my local machine. Thanks again for your help. On Monday, February 5,

Re: Setting up the API, getting a SOAP error

2018-02-05 Thread Alan Coleman
Hi there, Did you managed to get this issue sorted in your local development environment? I'm having the same issue locally and really need to develop using localhost before pushing live. Thanks On Tuesday, December 12, 2017 at 10:53:10 AM UTC, mar...@pulsecomms.com wrote: > > Hello, I've bee

Re: Upgrading to googleads-php-lib-30

2018-01-30 Thread Alan Coleman
I think I may be answering my own question! https://github.com/googleads/googleads-php-lib/blob/master/UPGRADING.md On Tuesday, January 30, 2018 at 1:39:20 PM UTC, Alan Coleman wrote: > > Hello everyone, > > We have an AdWords API application that runs in the background of our &g

Re: Upgrading to googleads-php-lib-30

2018-01-30 Thread Alan Coleman
Also, I'm familiar with the Deprecation Schedules and Migration guides, I'm looking for something specific to the changes highlighted above. Thanks On Tuesday, January 30, 2018 at 1:39:20 PM UTC, Alan Coleman wrote: > > Hello everyone, > > We have an AdWords API applic

Upgrading to googleads-php-lib-30

2018-01-30 Thread Alan Coleman
Hello everyone, We have an AdWords API application that runs in the background of our business, we haven't upgraded the version since v201702. I've been out of the loop for a number of months now and haven't been active on the forum since this time last year - so I may have missed something!

Re: What's the easiest way to view a TextAd With a known Label ID

2016-11-25 Thread Alan Coleman
Thanks Peter, That was the answer I was looking for and the way that I intended to work, I just thought there might me a more direct method. Thanks again. On Thursday, November 24, 2016 at 2:09:44 PM UTC, Alan Coleman wrote: > > Hello everyone, > > I have a Label ID that I know is a

What's the easiest way to view a TextAd With a known Label ID

2016-11-24 Thread Alan Coleman
Hello everyone, I have a Label ID that I know is attached to x amount of Standard Text Ads in a campaign, I don't know what the TextAd or AdGroups IDs are. I'd like to see 1 example of a TextAd from a campaign that has the known Label ID attached. Using the AdGroupAdService

Re: What is the maximum number of Location Targets that can be added to a campaign?

2016-11-17 Thread Alan Coleman
Again, Thanks Vishal! On Thursday, November 17, 2016 at 8:51:49 PM UTC, Vishal Vinayak (Adwords API Team) wrote: > > Hi Alan, > > That is correct. You can define up to 10,000 location targets > per campaign. > > Regards, > Vishal, AdWords

Re: What is the relationship between the Library and API Version?

2016-11-17 Thread Alan Coleman
Great, Thanks Vishal! On Thursday, November 17, 2016 at 7:14:01 PM UTC, Vishal Vinayak (Adwords API Team) wrote: > > Hi Alan, > > We recommend upgrading to the latest version of the API, whenever a new > version is out. For that, you can either follow the migration guide >

Re: Can you tell me how to access campaign performance report its return object

2016-11-17 Thread Alan Coleman
Hello, The Supported Download Formats are explained in the documentation. Do you mean returning the data and displaying in a browser rather than downloading a file? Thanks On Thursday, November 17,

What is the maximum number of Location Targets that can be added to a campaign?

2016-11-17 Thread Alan Coleman
Hello Everyone, When using the CampaignCriterionService , what is the maximum number of Location Targets that can be added to a

What is the relationship between the Library and API Version?

2016-11-17 Thread Alan Coleman
elationship between the Library and API Version?* Should I be updating the library <https://github.com/googleads/googleads-php-lib> every time I update the API To a new bi monthly version? A simple explanation of the relationship between the two would be appreciated. Thanks in advance for

Re: BatchJobService - Using Temporary and standard IDs together

2016-08-01 Thread Alan Coleman
array_merge(array(), $adGroupOperations); > > Or more simply, just $operations = $adGroupOperations; > > Hope this help. > > Cheers, > On Tuesday, July 26, 2016 at 9:22:46 AM UTC+1, Alan Coleman wrote: > > Hello everyone, > > We've been testing the temporary I

BatchJobService - Using Temporary and standard IDs together

2016-07-26 Thread Alan Coleman
Hello everyone, We've been testing the temporary IDs feature of the BatchJobService . The Add Complete Campaign script

Updating Text Ads once created

2016-05-25 Thread Alan Coleman
Hello everyone, In 2013 Anash stated that it's not possible to update Text Ads once created, and a copy / delete strategy was suggested instead. Is this still the case with v201603 ? Many thanks -- -- =~=~=~=~=~=~=~=~=

Re: Exhausting Memory when using PHP

2016-05-12 Thread Alan Coleman
Thanks Shwetha, We've implemented smaller batches and it's a great workaround. Cheers! On Wednesday, May 11, 2016 at 7:03:53 PM UTC+1, Shwetha Vastrad (AdWords API Team) wrote: > > Hi Alan, > > You can try using smaller BatchJobs to avoid having to deal with large > amount of data. You could

Exhausting Memory when using PHP

2016-05-11 Thread Alan Coleman
Hello everyone, We been experiencing some PHP issues regarding exhausting allowed memory size, our server has *256*MB of RAM Available. Here is an example: *PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 10667040 bytes) in /googleads-php-lib-8.2.1/src/Go

Batch processing TextAds resulting in BatchJobProcessingError.FILE_FORMAT_ERROR

2016-04-11 Thread Alan Coleman
Hello everyone, I'm migrating from MutateJobService to BatchJobService and to get started am experimenting with a test account and a script derived from v201601\CampaignManagement\AddKeywordsUsingIncrementalBatchJob.php I can add batches of *Keywords* and *Negative Keywords* no problem. Howeve

Re: [6-6732000011220] Batch processing TextAds resulting in BatchJobProcessingError.FILE_FORMAT_ERROR

2016-04-08 Thread Alan Coleman
EEkk, bit of an oversight on my part. Do you need to reissue the developer token? Is this a security risk? Apologies! Thanks On Fri, Apr 8, 2016 at 5:39 PM, wrote: > Hi Alan, > > My colleague deleted your post to the Google Group because it contained > your developer token. Per the forum posti

Batch processing TextAds resulting in BatchJobProcessingError.FILE_FORMAT_ERROR

2016-04-08 Thread Alan Coleman
Hello everyone, I'm migrating from MutateJobService to BatchJobService and to get started am experimenting with a test account and a script derived from v201601\CampaignManagement\AddKeywordsUsingIncrementalBatchJob.php I can add batches of *Keywords* and *Negative Keywords* no problem. Howeve

Re: Irregular Labels & LabelIds formatting in CAMPAIGN_PERFORMANCE_REPORT

2016-03-06 Thread Alan Coleman
- googleads-php-lib-6.1.0 - v201506 On Sunday, March 6, 2016 at 5:30:11 PM UTC, Alan Coleman wrote: > > Hello, > > I'm getting irregular formatting of *Labels* & *LabelIds* formatting in a > CAMPAIGN_PERFORMANCE_REPORT. > > I'm selecting th

Irregular Labels & LabelIds formatting in CAMPAIGN_PERFORMANCE_REPORT

2016-03-06 Thread Alan Coleman
Hello, I'm getting irregular formatting of *Labels* & *LabelIds* formatting in a CAMPAIGN_PERFORMANCE_REPORT. I'm selecting the following fields: 'CampaignId', 'CampaignName', 'Impressions', 'AveragePosition', 'Labels', 'LabelIds', 'AverageCpc' I've removed everything but the *Labels* & *Labe

Re: Is 128Mb enough as a PHP allocation?

2016-03-03 Thread Alan Coleman
Hi Nadine, Thanks very much for getting back to me, however this issue was down to my own RAM mismanagement and there not being enough to fulfil some basic requirements. Thanks again for your response. On Tuesday, March 1, 2016 at 1:47:04 PM UTC, Alan Coleman wrote: > > Hello ev

Is 128Mb enough as a PHP allocation?

2016-03-01 Thread Alan Coleman
Hello everyone, I'm receiving the following error in my logs: [01-Mar-2016 06:21:03 America/Denver] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 12730211 bytes) in /googleads-php-lib-6.1.0/src/Google/Api/Ads/Common/Util/XmlUtils.php on line 61 Here

Re: Uniqueness of CampaignName

2016-01-13 Thread Alan Coleman
Hi Mark, You'd probably be better off identifying a Campaign by its ID, then there's no ambiguity. Also, if your campaign name changes in the GUI, any AdWords application that uses that name probably will cease to identify it. Shown here in the Campaign Remove example. ``` function RemoveCampa

Re: Is it possible to make report segmented by 2 different criteria?

2016-01-11 Thread Alan Coleman
It looks like you need to read up on the Audience Performance Report . It's not something I've used myself, however there's also documentation on the segmentation

Re: Setting CpcBid in a keyword when using the AdGroupCriterionService

2015-10-13 Thread Alan Coleman
Thank you Anthony, You are correct, the Money object requires an amount in micros. So setting a bid of £1.23 would look like this: $CPCbid->bid = new Money(123); I don't think we've spoken before Anthony, so thanks very much for the help. Cheers! On Monday, October 12, 2015 at 8:01:04 P

Setting CpcBid in a keyword when using the AdGroupCriterionService

2015-10-12 Thread Alan Coleman
Hello everyone, I'm using the AdGroupCriterionService in an attempt to update the CpcBid in individual keywords. I've followed the relevant documentation through and am using the following code which is

Use of text string 'ax' in an Ad Headline returning POLICY_ERROR

2015-07-10 Thread Alan Coleman
Hello everyone, When attempting to create a TextAd with a headline that contains the string 'ax' or 'AX' I'm receiving the following policy error, which is a little odd because the TextAd doesn't contain any punctuation or symbols. Any help would be greatly appreciated. Many thanks An error h

Re: Solution for creating a label when creating a TextAd

2014-10-28 Thread Alan Coleman
or AdGroupAdService.mutate >should work fine as well. Just don't use AdGroupAdService.mutateLabel, > because as you've realised, that's for existing ads. > > > Let me know if you get it working. > Cheers! > > On Thursday, 23 October 2014 06:14:4

Re: Solution for creating a label when creating a TextAd

2014-10-28 Thread Alan Coleman
x27;t use AdGroupAdService.mutateLabel, >because as you've realised, that's for existing ads. > > > Let me know if you get it working. > Cheers! > > On Thursday, 23 October 2014 06:14:40 UTC-3, Alan Coleman wrote: >> >> Hi Martin, >> >> Sorr

Re: Are all Campaign settings available via the API

2014-10-27 Thread Alan Coleman
moment by getting and adding a Campaign by using the CampaignService <https://developers.google.com/adwords/api/docs/reference/v201409/CampaignService> Which doesn't include the fields I mentioned above. Thanks again. On Wednesday, October 22, 2014 9:25:23 AM UTC+1, Alan Coleman wrot

Re: Solution for creating a label when creating a TextAd

2014-10-23 Thread Alan Coleman
x27;adGroupId': adGroupId, > 'ad': textad, > 'status': 'ENABLED', > 'labels': [{'id': Label_id}], > }, > }) > > I hope this helps. :) > Cheers! > Martin > &g

Are all Campaign settings available via the API

2014-10-22 Thread Alan Coleman
Hello everyone, I'm using CampaignService to get hold of a Campaign and it's settings. However when I look at the campaign in the AdWords interface there are settings that don't seem to be availab

Re: MutateJobService not completing

2014-10-22 Thread Alan Coleman
Thanks for looking into this and replying Josh, So if the job is completing it looks like my issue maybe with the feedback to the browser hanging. I'll use this as my next pointer. Thanks again. On Tuesday, October 14, 2014 3:59:15 PM UTC+1, Alan Coleman wrote: > > Hello everyo

MutateJobService not completing

2014-10-14 Thread Alan Coleman
Hello everyone, I'm having trouble getting MutateJobService jobs to complete dealing with several jobs, each with 3000 operations. Could someone from the API Team take a look at the job id in the last entry into my soap log: http://schemas.xmlsoap.org/soap/envelope/";> https://adwords.

Re: Having trouble creating a new campaign with biddingStrategyType BUDGET_OPTIMIZER

2014-10-14 Thread Alan Coleman
ck this post: > > https://groups.google.com/forum/#!topic/adwords-api/pRY0N6yQzvE > > > > On Tuesday, October 14, 2014 2:39:17 PM UTC+1, Alan Coleman wrote: >> >> Thanks for commenting Oliver, >> >> BUDGET_OPTIMIZER is in the API Documentation >> <h

Re: Having trouble creating a new campaign with biddingStrategyType BUDGET_OPTIMIZER

2014-10-14 Thread Alan Coleman
12 PM UTC+1, Oliver wrote: > > I thought Budget Optimizer strategies were deprecated a long time ago? > > Oliver > > > On Tuesday, October 14, 2014 11:32:24 AM UTC+1, Alan Coleman wrote: >> >> >> Hello everyone, >> >> I

Having trouble creating a new campaign with biddingStrategyType BUDGET_OPTIMIZER

2014-10-14 Thread Alan Coleman
Hello everyone, I have a campaign that I'd like to duplicate with the following BiddingStrategyConfiguration object *object*(*BiddingStrategyConfiguration*)[*52*] *public* 'biddingStrategyId' => null *public* 'biddingStrategyName' => null *public* 'biddingStrategyType' => str

Re: The Moron’s Guide to Setting Up Google AdWords API

2014-10-08 Thread Alan Coleman
Wow, That's some documentation! On Monday, September 29, 2014 6:43:25 PM UTC+1, Sage Lewis wrote: > > I am very new to the whole API setup process. > > But I have had a lot of luck getting started with the help of this forum > and the Developers Guide. > > I thought I'd document my journey for an

Re: Solution for creating a label when creating a TextAd

2014-10-08 Thread Alan Coleman
assign a label > to the TextAd at the time of creation. > > Regards, > Mike, AdWords API Team > > On Friday, October 3, 2014 6:37:01 AM UTC-4, Alan Coleman wrote: >> >> Hello everyone, >> >> I'd like to be able to add a *label* to a *TextAd *whe

Re: SOAP Logs with Google AdWords

2014-10-03 Thread Alan Coleman
Hello, This may not be the answer to your problem but when using PHP the log options can be set in the user object: $user = new AdWordsUser(); $user->LogAll(); So your config may be correctly set but your user object may not. Are you using .NET? If so VB or C# ? Thanks On Thursday, October 2

Solution for creating a label when creating a TextAd

2014-10-03 Thread Alan Coleman
Hello everyone, I'd like to be able to add a *label* to a *TextAd *when creating the TextAd. I'm creating the TextAd using AdGroupAdOperation . If I want to use AdGroupAdLabelOperation

Re: Is there an option to Duplicate campaigns using the api

2014-10-03 Thread Alan Coleman
Hi Barak, This is possible. Read the campaign you want to duplicate: function GetCampaignsExample() { // Get the service, which loads the required classes. $campaignService = $user->GetService('CampaignService', ADWORDS_VERSION); Then create a new campaign with the same details: function

Re: Issue with uploading large amounts of data using MutateJobService

2014-09-23 Thread Alan Coleman
> Cheers, >>> Anash P. Oommen, >>> AdWords API Advisor. >>> >>> On Friday, August 29, 2014 4:21:35 AM UTC-4, Oliver wrote: >>>> >>>> Thanks Alan for the update. Let us know if the changes you make will >>>> have a

Re: ReportDefinitionService - AdGroup report returning inconsistent data

2014-09-08 Thread Alan Coleman
5 AM UTC+1, Alan Coleman wrote: > > Hello everyone, > > I'm using the ReportDefinitionService to return a list of all AdGroups in > a client: > > The report download works however the data in the report isn't consistent > with the client in the AdWords GUI. > &

ReportDefinitionService - AdGroup report returning inconsistent data

2014-09-08 Thread Alan Coleman
Hello everyone, I'm using the ReportDefinitionService to return a list of all AdGroups in a client: The report download works however the data in the report isn't consistent with the client in the AdWords GUI. So for example the client in the AdWords GUI shows 6814 AdGroups, however the downl

Re: Issue with uploading large amounts of data using MutateJobService

2014-08-29 Thread Alan Coleman
onsidered as > operating on the adgroup itself? > > If so, is this implying that we shouldn't attempt to create multiple Ads > within the same adgroup using MJS? > > Oliver > > > > On Thursday, August 28, 2014 10:39:40 AM UTC+1, Alan Coleman wrote: >> >

Re: Issue with uploading large amounts of data using MutateJobService

2014-08-28 Thread Alan Coleman
xception http://www.w3.org/2001/XMLSchema-instance"; xsi:type="InternalApiError"> InternalApiError.UNEXPECTED_INTERNAL_API_ERROR InternalApiError UNEXPECTED_INTERNAL_API_ERROR On

Issue with uploading large amounts of data using MutateJobService

2014-08-27 Thread Alan Coleman
Hello everyone, I'm creating some functionality in our app to build a fresh copy of a campaign based on a current campaign's ALL_TIME sqpr report. The report has the potential to produces tens of thousands of search terms - Which will in turn be created into AdGroups, TextAds, Keywords and Neg

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

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

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

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: 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

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

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

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,

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: 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

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: Furnishing AdGroups without returning the AdGroupReturnValue to our application.

2014-06-18 Thread Alan Coleman
Thanks! > > Ray > > On Wednesday, June 18, 2014 11:13:19 AM UTC-4, Alan Coleman wrote: >> >> 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

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: 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

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

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: 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

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-17 Thread Alan Coleman
k at it. > > > Thank you! > > > > > On Tuesday, 15 April 2014 11:07:24 UTC+2, 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
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? >> >>

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: Confused about changes to AdWordsUser() in v201306

2013-11-07 Thread Alan Coleman
Great, thanks for your help Paul, Also, if anyone else is upgrading from v201302 you may want to note that * SetClientId* has changed to *SetClientCustomerId.* * * Thanks again. On Tuesday, November 5, 2013 10:43:09 PM UTC, Alan Coleman wrote: > > > Hello everyone, > > I'm

Confused about changes to AdWordsUser() in v201306

2013-11-05 Thread Alan Coleman
Hello everyone, I'm having a few issues migrating from v201302. In particular checking that the Access Token is still valid, whether it can be refreshed and finally refreshing it. I've been looking through v201306 and have noticed that various user functions have had their names changed, *IsO

Confused about changes to AdWordsUser() in v201306

2013-11-05 Thread Alan Coleman
Hello everyone, I'm having a few issues migrating from v201302. In particular checking that the Access Token is still valid, whether it can be refreshed and finally refreshing it. I've been looking through v201306 and have noticed that various user functions have had their names changed, *IsOA

Re: How to start to use Adwords API with OAuth authentication

2013-11-05 Thread Alan Coleman
Hi Pierre, I've posted this link before. It's an excellent tutorial on how to get OAuth2 Authentication working. It can be a bit fiddly but if you follow the steps you should be okay. http://www.ewanheming.com/adwords-api-oauth-tutorial On Monday, November 4, 2013 4:07:48 PM UTC, pierre.au...

Re: How many API Calls am I making per day?

2013-11-05 Thread Alan Coleman
Thanks for getting back to me Anash, How do I know if I'm on a Standard or Basic access plan? Obviously this would have been chosen during setup, but is it displayed somewhere in our account settings? Many thanks On Tuesday, November 5, 2013 10:16:54 AM UTC, Alan Coleman wrote: >

How many API Calls am I making per day?

2013-11-05 Thread Alan Coleman
Hello everyone. Is there a way of knowing how many API calls I am making on a daily basis? I believe there is a limit of 50k(?) and I'm worried that I might be hitting it. Many thanks -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http:/

Retrieving Access and Refresh Token in v201306

2013-11-04 Thread Alan Coleman
Hello everyone, in v201302 I was successfully returning an *Access* and *Refresh Token* by calling the following function with my Authorisation Code and Return URL: $user->*GetOAuth2AccessToken*($authCode, $callbackUrl); However Nothing is being returned when using the above function in v20130

Re: Log files in library adwords_api_php_4.5.1

2013-11-04 Thread Alan Coleman
log > would exist in the examples directory. > > Regards, > > - Paul, AdWords API Team. > > On Sunday, 27 October 2013 10:27:37 UTC, Alan Coleman wrote: >> >> Hello, >> >> I can't find the log files in library adwords_api_php_4.5.1. >> >

Re: Missing required parameter: scope when using $authorizationUrl

2013-11-04 Thread Alan Coleman
tings.ini<https://code.google.com/p/google-api-adwords-php/source/browse/src/Google/Api/Ads/AdWords/settings.ini#40> > . > > Regards, > > - Paul, AdWords API Team. > > On Sunday, 27 October 2013 11:14:33 UTC, Alan Coleman wrote: >> >> Hello everyone,

Missing required parameter: scope when using $authorizationUrl

2013-10-27 Thread Alan Coleman
Hello everyone, I'm successfully generating *$authorizationUrl* using the code below. However on using that URL I'm receiving the error: *Missing required parameter: scope.* *OAUTH2_SCOPE* is being declared as a constant in the* AdWordsUser* class so I'm confused as to why it's not being carr

Log files in library adwords_api_php_4.5.1

2013-10-27 Thread Alan Coleman
Hello, I can't find the log files in library adwords_api_php_4.5.1. Libraries aw_api_php_lib_3.2.2 and adwords_api_php_4.2.5 both had logs directories in their root. Any ideas would be appreciated. Many thanks -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog

Re: OAuth2 - best practice to implement offline client access Adwords API

2013-10-22 Thread Alan Coleman
Hello, I had to implement offline OAuth2 authentication in my PHP app. Essentially the offline part is all about getting a refresh_token so that when your access_token expires it can be refreshed. It's a fairly simple process but it can be fiddly to implement. I followed Ewan Hemming's excelle

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,

Re: OAuth2 response - Server Port configuration

2013-10-16 Thread Alan Coleman
a server-side setup, unfortunately I can not provide any more > details as it completely depends on the platform / OS you are using. > > > -Danial, AdWords API Team. > > > On Wednesday, October 16, 2013 12:58:52 AM UTC+4, Alan Coleman wrote: >> >> Hi Danial, >> >

Re: OAuth2 response - Server Port configuration

2013-10-16 Thread Alan Coleman
e platform / OS you are using. > > > -Danial, AdWords API Team. > > > On Wednesday, October 16, 2013 12:58:52 AM UTC+4, Alan Coleman wrote: >> >> Hi Danial, >> >> As always, thanks for getting back to me. Can you give me a hint on where >> I&#x

Re: OAuth2 response - Server Port configuration

2013-10-15 Thread Alan Coleman
; > > It looks like you are going over IPv6. Can you try disabling it and going > over IPv4 address? > > > -Danial, AdWords API Team. > > > On Thursday, October 10, 2013 7:54:45 PM UTC+4, Alan Coleman wrote: >> >> Hi Danial, >> >> I've dele

Re: OAuth2 response - Server Port configuration

2013-10-10 Thread Alan Coleman
the issue was resolved. Please let us know if you still > have questions on this one. > > > -Danial, AdWords API Team. > > > On Tuesday, October 8, 2013 1:33:06 AM UTC+4, Alan Coleman wrote: >> >> Hello everyone, >> >> I'm having some connection i

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, 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: 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

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

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

  1   2   >