PHP - adding ad group and keywords

2010-07-06 Thread phpguy
So I'm trying to add a new ad group with 2 associated keywords. I have the ad group adding correctly but am trying to add the keywords without making an additional "get" call to grab the new ad group "id". Is this possible? Or is it possible to add an ad group and 2 keywords to that ad group at

Re: PHP - adding ad group and keywords

2010-07-08 Thread phpguy
dWords API Advisor wrote: > Hi, > > When you make an AdGroupService.mutate(ADD) request, the response will > include the created ad group with the ID filled out.  You can grab > this ID and use it in your AdGroupCriterionService requests. > > Best, > - Eric Koleda, AdWords API

AdGroup Response with ID

2010-07-09 Thread phpguy
I have added an adgroup but wanted to see how I can capture the response to obtain the ID of that adgroup. Any help in PHP code would be much appreciated! Thanks! -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com ht

Filter adgroups by campaign

2010-07-09 Thread phpguy
I'm looking to retrieve ad groups from specific campaigns. Is there anyway to do this? I've seen the selector field by date but was hoping to do it by campaign. Thanks for any help! -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adword

Ad Groups & Campaigns Limit

2010-07-09 Thread phpguy
So I'm about to program a large list of ad groups and I'd prefer to keep them all in one campaign. I wanted to know what the maximum limit to how many ad groups can be in a campaign and how many campaigns is the max? Are there anyways around that limit for agencies, etc? -- =~=~=~=~=~=~=~=~=~=~

Re: Filter adgroups by campaign

2010-07-13 Thread phpguy
reference/AdGroupServi... > > A PHP example is available here: > >  http://code.google.com/p/google-api-adwords-php/source/browse/trunk/e... > > Best, > - Eric Koleda, AdWords API Team > > On Jul 9, 2:15 pm,phpguy wrote: > > > > > I'm looking to retrieve

Sandbox Issue

2010-07-23 Thread phpguy
It added about 10 adgroups to a campaign then this showed up. Any ideas? SoapFault Object ( [message:protected] => InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.gks.dpl.GksSqlConnectionException: ads (10.96.156.20): INSERT / *buildtime=1279156144,shard=0,name=AdGroupCrite

Dynamic Keyword Insertion

2010-07-26 Thread phpguy
I want to add the dynamic keyword insertion to the headline and description. So when someone searches for the keyword I'd like to place that keyword in the ad. So far I have this: $textAd1 = new TextAd(); $textAd1->headline = '[keywordtext] In Stock'; $textAd1->description1 = 'Buy [keywordtext]';

Re: Dynamic Keyword Insertion

2010-07-27 Thread phpguy
uot; it will also throw a policy violation error. Just posting for those who find this post. Thanks! On Jul 26, 9:33 am, phpguy wrote: > I want to add the dynamic keyword insertion to the headline and > description.  So when someone searches for the keyword I'd like to > place th

Changing client id on fly

2010-07-28 Thread phpguy
Hi, I wanted to see if it was possible to create a script to run through a certain number of adgroups/campaigns and then switch client ids while in the script and continue? We have an MCC account but just wanted to know if this was possible. Thanks for your help! -- =~=~=~=~=~=~=~=~=~=~=~=~=~=

Catch

2010-07-29 Thread phpguy
Yesterday I began running a script that adds 75,000 adgroups. It created 860 successfully and then had an "Internal API Server" error. I restarted the script and it has now created 10,000 roughly and is still running. My question: Is there a way to create a catch that when an internal server api

Response Size Limit Exceeded -> Paging

2010-07-30 Thread phpguy
So I've read that I need to use "paging". I'm returning a lot of adgroups. Here's my current code: // Create selector. $selectorAG = new AdGroupSelector(); //$selectorAG->campa

Concurrent Modification

2010-07-30 Thread phpguy
Here is my try/catch for a concurrent modification error...does anyone know the error code or where I can find it? try { retry: // Perform text ad operation $operations = array($textAdGroupAdOperation1, $textAdGroupAdOperation2, $textAdGroupAdOperation3, $textAdGroupAdOperation4); $result

Only paused and enabled ad groups

2010-08-04 Thread phpguy
Is it possible to select all adgroups in all campaigns that are enabled or paused? I don't want any of the disabled/deleted ad groups returned. Thanks! -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups

Formatting calls

2010-08-06 Thread phpguy
In reference to this post: http://groups.google.com/group/adwords-api/browse_thread/thread/8db67387b91b9053/79813ba7f65f4d6d?lnk=gst&q=Parsing+WSDL#79813ba7f65f4d6d I received the same error but am including the service inside of the loop. The error occurs occasionally but when you said "We recom

Re: Only paused and enabled ad groups

2010-08-06 Thread phpguy
d be a nice feature though, and I'll work with the core > engineering team to enable it. > > Best, > - Eric Koleda, AdWords API Team > > On Aug 4, 10:22 am,phpguy wrote: > > > > > Is it possible to select all adgroups in all campaigns that are > >

Re: Formatting calls

2010-08-06 Thread phpguy
oupAdService('v200909'); > > Alternatively you can enable WSDL caching to store the WSDL locally: > >  http://code.google.com/p/google-api-adwords-php/source/browse/trunk/s... > > Best, > - Eric Koleda, AdWords API Team > > On Aug 6, 10:28 am, phpguy wrote: > &g

Re: Formatting calls

2010-08-07 Thread phpguy
pAdService = $user->GetAdGroupAdService('v200909'); > > Alternatively you can enable WSDL caching to store the WSDL locally: > >  http://code.google.com/p/google-api-adwords-php/source/browse/trunk/s... > > Best, > - Eric Koleda, AdWords API Team > > On Aug

Internal API Error

2010-08-12 Thread phpguy
I'm adding several adgroups (around 70,000) and 6 keywords and 4 text ads per each ad group. Occasionally I'm hitting unexpected internal api errors. They are random. Sometimes it'll last over 24 hours and sometimes it'll hit within 8 hours. One instance was between request ID's eeddc47cfc70bfb

Re: Internal API Error

2010-08-12 Thread phpguy
[trigger] => [ApiErrorType] => InternalApiError [_parameterMap:ApiError:private] => Array ( [ApiError.Type] => ApiErrorType ) )

Re: Internal API Error

2010-08-12 Thread phpguy
AdsSoapClient->__soapCall('get', Array) #2 /var/www/vhosts/searchmojo.com/adwords/bookcircus/ bookcircus_script.php(440): AdGroupAdService- >get(Object(AdGroupAdSelector)) #3 {main} On Aug 12, 12:49 pm, phpguy wrote: > Here's an error report I just got: > > So

Ruby vs PHP vs Other Programming Language

2010-08-12 Thread phpguy
So I've been building out the API with PHP but I'm having to do a massive upload (200,000,000 keywords broken into adgroups). It's currently taking too long using PHP and I wanted to see if there was either: 1. A quicker way other than using SOAP (if that's the hold up) 2. A quicker programming

Re: Ruby vs PHP vs Other Programming Language

2010-08-16 Thread phpguy
men, > AdWords API Advisor. > > On Aug 13, 3:07 am, "Joshua J. Kugler" wrote: > > > > > On Thursday 12 August 2010, phpguy elucidated thus: > > > > So I've been building out the API with PHP but I'm having to do a > > > massive upload

Re: Internal API Error

2010-08-16 Thread phpguy
gt; your application for about 30 seconds and then try the request again. > > Best, > - Eric Koleda, AdWords API Team > > On Aug 12, 1:01 pm,phpguy wrote: > > > > > One more bit of info: > > > SoapFault exception: [soap:Server] > > InternalApiError.UNEXPE

Re: Internal API Error

2010-08-17 Thread phpguy
Does this happen (server timeouts on the backend) for the other programming languages or just PHP? On Aug 16, 10:01 am, phpguy wrote: > Eric, > > Thanks so much!  I'll work on building that in today and give it a > run. > > On Aug 12, 6:47 pm, AdWords API Advisor > wro

AdWords API

2010-08-23 Thread phpguy
Are there any issues with the AdWords API this morning? Mine started running and then stopped on Sunday around 2:30 PM EST. I knew there were scheduled fixes over the weekend but I've been trying to get my script running since last night which had been working fine but now it can't even get all c

Re: AdWords API

2010-08-23 Thread phpguy
I tried running another test script and it worked fine. It seems to be just the one script that won't run anymore. I'm testing out every option I can think of but let me know if you have any suggestions. On Aug 23, 9:03 am, phpguy wrote: > Are there any issues with the AdWords API

Re: AdWords API

2010-08-23 Thread phpguy
Solved it! I moved my AW-SRC folder from the working script over to the new script and updated client id and that seemed to fix it. Thanks though! On Aug 23, 9:25 am, phpguy wrote: > I tried running another test script and it worked fine.  It seems to > be just the one script that won

Running several scripts simultaneously

2010-08-25 Thread phpguy
I need to post several million keywords in AdWords as fast as possible. Can I run multiple scripts with 1 developer token and API key? Is there a limit to how many can run simultaneously? Thanks for your help! -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and dis

Re: Running several scripts simultaneously

2010-08-26 Thread phpguy
adwords-php/source/browse/trunk/e... > for details. > > Cheers, > Anash P. Oommen, > AdWords API Advisor. > > On Aug 26, 12:45 am, phpguy wrote: > > > > > I need to post several million keywords in AdWords as fast as > > possible.  Can I run multiple s

Server speed

2010-08-27 Thread phpguy
So for the past 3 days my script runs great for the first 12 hours. It writes to a text file which gets very large but by the next day it's running at a slow crawl. I'm trying to diagnose if this is on my server (slowing down), Google's server getting overloaded or if I need to make some changes t

Re: Server speed

2010-08-30 Thread phpguy
referring to? > > Cheers, > Anash P. Oommen, > AdWords API Advisor. > > On Aug 27, 6:30 pm, phpguy wrote: > > > > > So for the past 3 days my script runs great for the first 12 hours. > > It writes to a text file which gets very large but by the next day > >

If you're script just stops running or won't run

2010-09-07 Thread phpguy
It seems like I've encountered this a few times now but I wanted to post this message for either development purposes, FAQ or just a heads up for anyone having similar problems. My script has been tested and works great. Every now and then it stops running. I try to start back up but no dice. I

Re: If you're script just stops running or won't run

2010-09-08 Thread phpguy
-php/issues/list > requesting the ability to restrict logs only for errors? > > Cheers, > Anash P. Oommen, > AdWords API Advisor. > > On Sep 8, 1:01 am, phpguy wrote: > > > > > It seems like I've encountered this a few times now but I wanted to > > post this

API usage info per client id

2010-09-10 Thread phpguy
Is it possible to get the usage info by client id? Right now it's giving it to me for the entire client center. Thanks! -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~

Re: API usage info per client id

2010-09-13 Thread phpguy
t;  http://code.google.com/apis/adwords/v2009/docs/reference/InfoService > > Best, > - Eric Koleda, AdWords API Team > > On Sep 10, 9:54 am, phpguy wrote: > > > > > Is it possible to get the usage info by client id?  Right now it

Multiple API Keys

2011-05-04 Thread phpguy
Just a quick question for you all. I'm starting our big project and was hoping it'd be possible to get multiple API keys for one client center. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.c