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 Zweitze
3. After adding a group see if DUPLICATE_ADGROUP_NAME occurred and act accordingly. 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,

Re: Best practice suggestions to avoid DUPLICATE_ADGROUP_NAME

2013-02-26 Thread Alan Coleman
Thanks Zweitze, Very helpful. So it's about handling errors, which I'm not doing at the moment. Thanks again for your help. On Tuesday, February 26, 2013 12:12:34 PM UTC, Zweitze wrote: > > 3. After adding a group see if DUPLICATE_ADGROUP_NAME occurred and act > accordingly. For most languages

Re: Error creating a copy of an existing Template Ad

2013-02-26 Thread pete
Hi Kevin Any update on this issue? thanks pete On Friday, 15 February 2013 17:50:08 UTC, Kevin Winter (AdWords API Team) wrote: > > Hi Pete, > I'm asking some of the core engineers to look into this. It appears > that variationSpecificFieldOverrides is an internal field that's not > curr

Is BlackBerry criterion supported in adwords API ?

2013-02-26 Thread Radosław Pociecha
Hi, When we are trying to add campaign criterion with id=630252 we are getting error from api :[CriterionError.CANNOT_TARGET_CRITERION @ operations[0].operand.criterion; trigger:'630252'] also when such criterion is created using adwords interface we can not see it with api. This suggests that

Re: Getting campaign status - "Deleted".

2013-02-26 Thread ShayBarChen
Well , it didn't worked. I have added Predicate to the selector - GA.v201209.Predicate statusPredicate = new GA.v201209.Predicate(); statusPredicate.field = "CampaignStatus"; statusPredicate.@operator = GA.v201209.PredicateOperator.EQUALS; statusPredicate.values = new string[] { "DELETED" }; pred

Filter keywords by status

2013-02-26 Thread humberto . cuadra
Hi, I'm trying to filter keywords by status. I only want to get keywords that have an active status. I was able to do this with ads by adding the following predicate to the selector: $selector->predicates[] = new Predicate('Status','EQUALS','ENABLED'); With keywords, on the other hand, I got

Re: Getting campaign status - "Deleted".

2013-02-26 Thread Zweitze
Since you're querying an ad performance report, make sure that that deleted campaign contains at least one ad, and that ad has at least one impression in the period of the report. If that isn't possible, use a different report type, eg. campaign performance report (when the campaign has no ads),

Re: Filter keywords by status

2013-02-26 Thread humberto . cuadra
Found the solution, you have to use ACTIVE instead of ENABLED: $selector->predicates[] = new Predicate('Status','EQUALS','ACTIVE'); -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group

Re: Enhanced Campaign properties in reports?

2013-02-26 Thread HK
Hi, Anash I'm specifically looking for "Ad.devicePreference" in the Ad Performance report . It would make things a lot easier if that property could be included in the report :-) On Monday, February 25, 2013 1:17:16 AM UTC-8,

ProductConditionOperand question

2013-02-26 Thread Cap'n of d'Ship
In the references for the type ProductConditionOperand, there are 5 possible values for this : *Only following values are allowed as Operand :* - *id* - *product_type* - *brand* - *adwords_grouping* - *condition* - *adwords_labels* *This field can be selected using

Re: Best practice suggestions to avoid DUPLICATE_ADGROUP_NAME

2013-02-26 Thread Jason Stedman
Another alternative would be to encode the date/timestamp into the adgroup name. It is still good to have some exception handling in place. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.googl

Re: Best practice suggestions to avoid DUPLICATE_ADGROUP_NAME

2013-02-26 Thread Anash P. Oommen (AdWords API Team)
Hi Alan, You could make a call and see if DUPLICATE_ADGROUP_NAME error occurs. You could make the call using validateOnly headers as true, so the adgroup is not created if the name is available. That will cut your risk of name conflicts considerably, but you could still be unfortunate enough to

Re: Enhanced Campaign properties in reports?

2013-02-26 Thread Anash P. Oommen (AdWords API Team)
Hi Zwitze, Hans, I'll pass your request onto the respective teams. However, these are new features in the UI itself, it may take a while for them to be available in the API. Cheers, Anash P. Oommen, AdWords API Advisor. On Tuesday, February 26, 2013 10:17:06 PM UTC+5:30, HK wrote: > > Hi, Anas

Re: Does changing query string in Destination URL via Adwords API trigger editorial?

2013-02-26 Thread Anash P. Oommen (AdWords API Team)
Hi Taylor, My suggestion would be to get in touch with your Google Account manager. If it is a one-time bulk update, I'm sure they will help you find a good workaround for the issue. Cheers, Anash P. Oommen, AdWords API Advisor. On Monday, February 25, 2013 11:41:41 PM UTC+5:30, Taylor wrote:

Re: Enhanced Campaign properties in reports?

2013-02-26 Thread Oliver
I second Hans request for "device preference" field to be exposed. Enhanced Campaigns made a huge change to the way Ads worked in the past and their relationship to their parent entities. It might be one field only but it fundamentally affects how Ads are managed in every way. Using forwardC

Re: Does changing query string in Destination URL via Adwords API trigger editorial?

2013-02-26 Thread Oliver
I don't work for google, so this is just from personal experience,. Changing the keyword destination URL should not affect your traffic since the keyword remains intact (along with its quality score). Most people confuse this with changing the Ad destination URL which causes the current Ad to

PHP Adwords API: Possible to update IP Address exclusions?

2013-02-26 Thread Uday Kumar
Ref: PHP Adwords API We maintain a large number of accounts/campaigns, and need to update each campaign's IP Address exclusions periodically (this is in each campaign's Settings). Does the manage campaign API allow us to use a PHP program to update a campaign's IP-address Exclusions as well?

API Clinet Login error

2013-02-26 Thread Subrata Sarkar
Hello, I am a newbie in Adwords area. When I am trying ClientLogin I am getting *This code example gets and downloads a criteria Ad Hoc report from an XML report definition.UNABLE_TO_AUTHORIZE* Email, password, developer token, Client customer Id all are defined in Web.config file. I am using

Re: NullPointerException in java client lib 1.12.4

2013-02-26 Thread Minh Tran
Done https://code.google.com/p/google-api-ads-java/issues/detail?id=47 On Tuesday, February 26, 2013 6:31:23 AM UTC+11, David Torres wrote: > > Hi, > > Thanks a lot for your bug report, do you mind filing it in the library > project http://code.google.com/p/google-api-ads-java/issues/list. > > B

Re: ReportUtilities.DownloadClientReport error (v201209)

2013-02-26 Thread Subrata Sarkar
Hi Tom, I have the following setup in my application's web.config: (One thing, I don't know if this could be a reason!) I have set up an apps myself to generate ClientId and Secret. The problem is I was trying a different account which has a Developer Token it was limited to client login. I was

Re: oAuth or ClientLogin?

2013-02-26 Thread becky . russoniello
I am in a similar situation to Joey's. I took your advice and tried to follow the web server flow. However, it doesn't appear that the AdWords API is supported. I experimented with different "scope" parameter values and all were invalid. Could you please 1) confirm that it is possible to use

(PHP) CampaignService v201209 -> function getAttribute() on a non-object

2013-02-26 Thread resoneo
Hi, I need your help please, I try to get all campaign for a MCC with a client ID : $user = new AdWordsUser(); $user->SetEmail(mcc...@xxx.com) $user->SetClientId(xxx-xxx-); $user->SetPassword() $user->ValidateUser() return true; $campaignServiceObject = $user->GetService('CampaignServ

Re: Did Not Receive AdWords API Test Account Application Results

2013-02-26 Thread Jarad Collier
Thanks David, I just sent you the info. Jarad On Monday, February 25, 2013 11:28:25 AM UTC-8, David Torres wrote: > > Hi Jarad, > > Please reply me (Reply Author button) your MCC and Test Account CIDs. > > Best, > > - David Torres - AdWords API Team > > On Sunday, February 24, 2013 2:23:13 PM UTC

Long-lasting response to any request

2013-02-26 Thread la
Hello! We have a problem. Google doesn’t respond to any request, whether it concerns an authorization or access to the service, for a long time. Here are some examples (by using PHP): 1) Request to "https://accounts.google.com/accounts/ClientLogin"; through "curl_exec" takes about 20 seconds (ev

Access Adwords billing info through API in python

2013-02-26 Thread MS
Hello, I am putting together some statistics for my company which include the cost per day for each user that registers. My current method is to login to adwords, download the billing information (.csv file) and load the billing information into python to do my calculation. I know a

Re: Automated Rules In Adwords API

2013-02-26 Thread Evan Halley
Hi Eric, Is there any update with regard to bringing automated rule access to the Adwords API? Thanks, Evan On Monday, April 11, 2011 4:44:42 PM UTC-4, Eric Koleda wrote: > > Hi, > > There is no feature request tracker for the API, but I'll make sure to > pass your feedback to the correct peo

Re: Does changing query string in Destination URL via Adwords API trigger editorial?

2013-02-26 Thread Bfri
Hi Taylor, As long as you only deal with/update the keyword destination URLs (and not at creative level) it won't impact your keyword statistics or quality score. Hope that helps. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://ad