Exception occured on report validation / generation! The operation has timed out

2012-04-02 Thread Marius Toma
Hi All,

I have in my MCC 2 accounts with almost 2 millions adverts. 
When i try to get a full report with both performing and not performing 
adverts i get the following Exception. 
I have to mention that for the other accounts the code is working correctly.
I am using Adwords API v201109 for c#.net.


Exception occured on report validation / generation! The operation has 
timed out
System.Net.WebException: The operation has timed out
   at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
   at System.Net.HttpWebRequest.GetRequestStream()
   at 
Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadReportToStream(String
 
downloadUrl, AdWordsAppConfig config, Boolean returnMoneyInMicros, Stream 
outputStream, String postBody) in 
D:\Work\S_demo\trunk\AdWords\AdWords\Util\Reports\ReportUtilities.cs:line 
267
   at 
Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.GetClientReport[T](T 
reportDefinitionOrId, Boolean returnMoneyInMicros) in 
D:\Work\S_demo\trunk\AdWords\AdWords\Util\Reports\ReportUtilities.cs:line 
103
   at 
Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.GetClientReport[T](T 
reportDefinitionOrId) in 
D:\Work\S_demo\trunk\AdWords\AdWords\Util\Reports\ReportUtilities.cs:line 75
   at SoluteReportingService.ReportManager.GetReportFromGoogle(String 
pathToGzipFolder, String pathToUnpackedFolder) in 
D:\Work\S_demo\trunk\SoluteReportingService\ReportManager.cs:line 211

Can you advice me what to do in order to get this report.

Thank you,
Marius


-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Getting Error The SoapListenerExtension class is not loaded. The most possible cause for this error is that you haven't registered Google.Api.Ads.Common.Lib.SoapListenerExtension as a soap extension u

2012-04-02 Thread Pramod Patil
Hi

I am using newer version of  Google.Api.Ads.AdWords.v201109. but I am 
getting error on red code line . would you please help to resolve this.

Error : 

T*he SoapListenerExtension class is not loaded. The most possible cause for 
this error is that you haven't registered 
Google.Api.Ads.Common.Lib.SoapListenerExtension as a soap extension under 
configuration/system.web/webServices/soapExtensionTypes in your your 
App.config or Web.config.*


Below is my code.

Imports Google.Api.Ads.AdWords.Lib
Imports Google.Api.Ads.AdWords.v13
Imports Google.Api.Ads.AdWords.v201109

Public Function getUser() As AdWordsUser
Dim headers As New Dictionary(Of String, String)
Dim SearchEngineDBObj As New SearchEngineDB(SQLConn)
Dim SearchEngineObj As SearchEngine
Dim emailObj As New 
FusionLibrary.Fusion.Campaign.eMail("192.168.2.205")

SearchEngineObj = SearchEngineDBObj.populate("Google")
If SearchEngineObj Is Nothing Then
SearchID = 0
Return Nothing
End If

SearchID = SearchEngineObj.SearchID
headers.Add("email", "X")
headers.Add("password", "")
headers.Add("useragent", "X")
headers.Add("developerToken", "XX")
headers.Add("applicationToken", "XX")
headers.Add("clientCustomerId", "XX"
'headers.Add("AuthorizationMethod", "ClientLogin")

Try
Dim AdWordsUserObj As New AdWordsUser(headers)
Return AdWordsUserObj
Catch ex As Exception
Return Nothing
End Try
End Function

  Public Function updateCampaigns() As Integer
Dim user As AdWordsUser
user = getUser()

If user Is Nothing Then
Return 0
End If

Dim CampaignServiceObj As CampaignService
Dim page As CampaignPage
Dim SearchEngineeCampaignDBObj As New 
SearchEngineCampaignDB(SQLConn)
Dim secObj As SearchEngineCampaign
Dim rtn As String

CampaignServiceObj = 
user.GetService(AdWordsService.v201109.CampaignService)

Try
Dim selector As New Selector()
selector.fields = New String() {"Id", "Name", "Status"}

Dim orderByName As New OrderBy()
orderByName.field = "Name"
orderByName.sortOrder = SortOrder.ASCENDING

Dim emailObj As New 
FusionLibrary.Fusion.Campaign.eMail("XX")

Dim SearchEngineDBObj As New SearchEngineDB(SQLConn)
Dim SearchEngineObj As SearchEngine

SearchEngineObj = SearchEngineDBObj.populate("Google")
If SearchEngineObj Is Nothing Then
SearchID = 0
Return Nothing
End If

selector.ordering = New OrderBy() {orderByName}
TryCast(user.Config, AdWordsAppConfig).ClientCustomerId = 
SearchEngineObj.UserName


*page = CampaignServiceObj.get(selector)*


Catch ex As Exception
Return 0
End Try

If page Is Nothing Then
Return 0
End If
If page.entries.Length = 0 Then
Return 0
End If

For Each CampaignObj As Google.Api.Ads.AdWords.v201109.Campaign 
In page.entries
secObj = New SearchEngineCampaign
secObj.SearchID = SearchID
secObj.CampaignName = CampaignObj.name
secObj.BudgetAmount = CampaignObj.budget.amount.microAmount 
/ 100
secObj.Status = CampaignObj.status.ToString
secObj.ID = CampaignObj.id
rtn = SearchEngineeCampaignDBObj.findAdd(secObj)
Next

Return page.entries.Length - 1
End Function


Thanks

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: LocationCriterionService Selector returns bogus values

2012-04-02 Thread Aaron Sherman


On Monday, April 2, 2012 4:27:32 PM UTC-4, Eric Koleda wrote:
>
> Hi Aaron,
>
> The short answer is that the LocationCriterionService returns suggested 
> locations given your input, and those suggestions may occasionally include 
> some seemingly off-topic results.  For the input "Abbeville, Alabama" I 
> wasn't able to get the behavior you're seeing, so it may have been a 
> temporary issue.
>
>>
>>
Hmmm... I'll have to perform some more testing. Is there any way to turn 
off the "suggestions" and just get entries whose LocationName could 
rationally be said to be "equal" to the requested value?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: About params on Adwords API

2012-04-02 Thread Eric Koleda
Hi Eduardo,

When using ad parameters you must set the value on every keyword in the ad 
group.  There is no simple way to check that it's working correctly, other 
than the ad preview tool:

https://adwords.google.com/d/AdPreview/

Best,
- Eric Koleda, AdWords API Team

On Wednesday, March 28, 2012 10:08:07 AM UTC-4, Eduardo Hiroshi Campos 
Tamaki wrote:
>
> Hi,
>
> I'm new on Adwords API, I'm developing a tool to help an e-commerce to 
> refresh the ads when the products change prices and other values.
>
> So here are my questions:
>
> - There is a way to change the default param on the Ad, without losing the 
> history?
> - If, not I have to change the params on all of the keywords of that Ad?
> - There is a way to check if I have successfully added the params on the 
> keyword?
>
> If you need more details, please ask me here.
>
> Thanks!
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: SSL timeout errors

2012-04-02 Thread Eric Koleda
Hi,

I'm not aware of any widespread timeout issues for the API.  An AdWords API 
request may take up to 4 minutes to complete, so please ensure that 
HTTPS/SSL connections can remain open that long in your network.

Best,
- Eric Koleda, AdWords API Team

On Wednesday, March 28, 2012 6:30:40 AM UTC-4, webspade wrote:
>
> Hi, 
>
> We have recently started to see a lot of SSL timeout errors, across 
> various services. One such - 
>
>self.keyword_service 
> = client.GetAdGroupCriterionService(self.service_url)
>  
>keywords = self.keyword_service.Get(selector)[0]
>
>  File 
> "/deploy/pythonenv/lib/python2.6/site-packages/adspygoogle.adwords-15.2.1-py2.6.egg/adspygoogle/common/GenericApiService.py",
>  
> line 320, in CallMethod
>
>self._HandleLogsAndErrors(buf, start_time, stop_time, error)
>
>  File 
> "/deploy/pythonenv/lib/python2.6/site-packages/adspygoogle.adwords-15.2.1-py2.6.egg/adspygoogle/adwords/GenericAdWordsService.py",
>  
> line 244, in _HandleLogsAndErrors
>
>raise Error(e)
>
> Error: {'data': SSLError('The read operation timed out',)}
>
> These occur on mostly get calls for ads, adgroup criterion, keywords (as 
> above) etc. Are the servers overloaded or something?
>
>
>
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Search keywords in account

2012-04-02 Thread Eric Koleda
It's also possible to use predicates in the AdGroupCriterionService, if 
you'd rather not use reports.

Best,
- Eric Koleda, AdWords API Team

On Wednesday, March 28, 2012 5:26:08 AM UTC-4, Ewan Heming wrote:
>
> The simplest thing to do is download a keyword performance 
> report
>  and 
> use a 
> predicateto
>  select the keywords for which you're searching.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: SET operator changes which Criterion fields (v201109)

2012-04-02 Thread Eric Koleda
Hi Keith,

Here is a sample SOAP XML request to update a keyword bid:

http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
   
  https://adwords.google.com/api/adwords/cm/v201109";>
 ...
 ...
 ...
 ...
  
   
   
  https://adwords.google.com/api/adwords/cm/v201109";>
 
SET

   ...
   
  ...
   
   
  
 
100
 
  
   

 
  
   


Best,
- Eric Koleda, AdWords API Team

On Monday, March 26, 2012 2:39:58 AM UTC-4, RedZoneGlobal wrote:
>
> Anesh,
>
> The link you posted doesn't resolve. :(
> Any way you could post the raw soap packet for updating a bid of a single 
> keyword in v201109?
> We are migrating all the way from v2009, and having some issues with the 
> criterion constructs.
> We use an ActiveX SOAP control, rather than one of the available 
> libraries, so seeing the raw soap construct would help greatly.
>
> Regards,
>
> Keith
>
> On Thursday, February 16, 2012 1:55:18 AM UTC-6, Anash P. Oommen wrote:
>>
>> Hi Brian,
>>
>> Yes, that's the most likely explanation. As for an example, see 
>> http://code.google.com/p/​google-api-adwords-dotnet/​source/browse/trunk/examples/​csharp/v201109/​BasicOperations/UpdateKeyword.​cs.
>>  
>> I am updating only the bid of a keyword. I am not setting any fields I 
>> don't need to update (e.g. status). 
>>
>> Cheers,
>> Anash P. Oommen,
>> AdWords API Advisor.
>>
>>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Carrier Targeting CriterionError.CANNOT_TARGET_CRITERION

2012-04-02 Thread Eric Koleda
Hi Eric,

It looks like some of those carriers are no longer targetable, and have 
been removed from the UI as well.  We'll work on updating the documentation 
to reflect this change.

Best,
- Eric Koleda, AdWords API Team

On Friday, March 23, 2012 10:35:34 AM UTC-4, Eric Liu wrote:
>
> Hi Adwords Team,
> I have a campaign with carrier targeting as follows:
>
> EuskaltelES Spain 70334
> JazztelES  Spain 70335
> OrangeES Spain 70332
> SuperCarrierES  Spain 70359
> TelefonicaES  Spain  70330
> VodafoneES  Spain  70331
> YoigoES  Spain 70333
>
> However, I got api exception:
> [CriterionError.CANNOT_TARGET_CRITERION @ operations[3].operand.criterion; 
> trigger:'70334',
> CriterionError.CANNOT_TARGET_CRITERION @ operations[4].operand.criterion; 
> trigger:'70335',
> CriterionError.CANNOT_TARGET_CRITERION @ operations[6].operand.criterion; 
> trigger:'70359']
>
>
> Besides, these 3 failed carrier are not even shown on adwords UI either.
>
> Would you let us know why they are not consistent?
>
> Thanks a lot.
> Eric L
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Filter Search Query Performance report by keywordId?

2012-04-02 Thread Eric Koleda
Hi All,

Although we don't display it in that table in the documentation, the 
ReportDefinitionService.getReportFields() results indicate whether or nor a 
field can be filtered on, and KeywordId doesn't support it:


  KeywordId
  Keyword ID
  keywordID
  long
  true
  *false*
  false


Best,
- Eric Koleda, AdWords API Team

On Friday, March 23, 2012 9:35:52 AM UTC-4, mm wrote:
>
> That's interesting - I hadn't noticed that it was a long rather than Long. 
> I have pretty much assumed that if something is listed as an Attribute, 
> then I should be able to create a working Predicate for it. I also had 
> assumed that the whole move to the new Reports system was for parity with 
> what's available in the UI... alas, I shall have to attack this problem 
> from another direction.
>
> Thanks, Pete!
> -mm
>
> On Thursday, March 22, 2012 10:20:19 AM UTC-5, Pete Lavetsky (AdWords API 
> Guru) wrote:
>>
>> Also, there's a long list of features that have not achieved parity 
>> between the API and the UI
>>
>> Pete
>>
>> On Thursday, March 22, 2012 11:02:43 AM UTC-4, mm wrote:
>>>
>>> So the documentation is invalid? How is it that I can generate the 
>>> report limited by a subset of keywords via the UI and not via the API?
>>>
>>> I've definitely got stats for these - I've already run a search query 
>>> report for the account and am now trying to generate another report with 
>>> just a subset of the reported keywords. 
>>>
>>> -mm
>>>
>>>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: How to create vertical in v201109

2012-04-02 Thread Eric Koleda
Hi Sanjay,

Verticals should be created using the path field only, without specifying 
the ID.  Please ensure you are encoding the ampersand (&) correctly.

Best,
- Eric Koleda, AdWords API Team

On Thursday, March 22, 2012 10:27:03 AM UTC-4, Sanjay Vel wrote:
>
> I created the operation like this 
>
> operations = []
> operation << {
>   :operator => 'ADD',
>   :operand => {
> :xsi_type => 'NegativeCampaignCriterion',
> :campaign_id => campaignId,
> :criterion => {
>   :xsi_type => 'Vertical',
>   :id => 29,
>   :path => ["Real Estate"]
> }
>}
> }
>
> This criterion was added and displayed in sandbox. When i did the same for 
> 'Home & Garden' with id = 11, is not showing in sandbox.
> Where I am doing wrong? Is the referred id correct for this particular 
> vertical category? 
>
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Updated PHP API Library, recieve Unmarshalling Error: cvc-elt.4.3 when edit keyword

2012-04-02 Thread Eric Koleda
Hi Eugene,

The parameter order in the constructor may change between versions, so it's 
better to use an empty constructor and set the fields individually, like we 
do in the examples.

Best,
- Eric Koleda, AdWords API Team

On Monday, March 19, 2012 7:36:45 AM UTC-4, Eugene wrote:
>
> Found the issue. I've passed criterion as second argument, not third:
> new AdGroupCriterion((float)$group_id, new Criterion((float)$keyword_id))
> It should be like that:
> new AdGroupCriterion((float)$group_id, Null, new 
> Criterion((float)$keyword_id))
> But it worked in old library version. I found this bug only when I have 
> upgraded.
>
>
> On Friday, 16 March 2012 19:43:33 UTC, Eugene wrote:
>>
>> Updated PHP API Library to 3.0.1(from old one which used v201008, can't 
>> find exact version).
>> Full error:
>> Catched exception SoapFault exception: [soap:Client] Unmarshalling Error: 
>> cvc-elt.4.3: Type 'ns1:Criterion' is not validly derived from the type 
>> definition, 'CriterionUse', of element 'ns1:criterionUse'.  in 
>> /***/Google/Common/Lib/AdsSoapClient.php:201
>>
>> Here's SOAP log http://pastebin.com/Qcx1bp6L
>>
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: LocationCriterionService Selector returns bogus values

2012-04-02 Thread Eric Koleda
Hi Aaron,

The short answer is that the LocationCriterionService returns suggested 
locations given your input, and those suggestions may occasionally include 
some seemingly off-topic results.  For the input "Abbeville, Alabama" I 
wasn't able to get the behavior you're seeing, so it may have been a 
temporary issue.

Best,
- Eric Koleda, AdWords API Team

On Friday, March 16, 2012 11:51:28 AM UTC-4, Aaron Sherman wrote:
>
> On Friday, March 16, 2012 5:22:31 AM UTC-4, Anash P. Oommen wrote:
>>
>>
>> Could you please post the sanitized xml or the request id for this 
>> request?
>>
>>>
>>>
> Anash, this is the request ID in the response headers:
>
>0004bb5e111358380a0c0b28547d
>
> The body of my request is:
>
>   https://adwords.google.com/api/adwords/cm/v201109"; 
> xmlns:cm="https://adwords.google.com/api/adwords/cm/v201109";>
>
> Id
> CriteriaType
> LocationName
> IsObsolete
> ParentLocations
> 
>  LocationName
>  EQUALS
>  Abbeville, Alabama
> 
>
>   
>
> Hope that helps in tracking this down. PS: this is repeatable, and happens 
> for many locations. For example matching on "EQUALS" for "LocationName" of 
> "Boston" gets the expected "Boston" entry for Massachusetts, USA, but also 
> returns an entry for "Dayton, OH".
>
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Sandbox Account Viewer returns Error "(404) Not Found"

2012-04-02 Thread Eric Koleda
Hi All,

I'm a little late to this thread, but the official release of the Sandbox 
Account Viewer has also been updated:

http://code.google.com/p/google-api-adwords-java/source/detail?r=244
http://code.google.com/p/google-api-adwords-java/downloads/detail?name=sandbox-account-viewer-1.4.0.jar

Best,
- Eric Koleda, AdWords API Team

On Friday, March 16, 2012 6:11:52 AM UTC-4, Win Ko Aye wrote:
>
> Hi all,
>
> I just wanna share the sandbox viewer I fixed for new api version. The fix 
> includes Campaign Targeting changes which are moved to Campaign Criterion. 
>
> You have to use the client ID for new version.
>
> Cheers,
> Win Ko
>
>
> On Thursday, March 15, 2012 9:50:22 PM UTC+8, wn wrote:
>>
>> Hi,
>>
>> for what it's worth: I've managed to quick-fix (nothing more!!) the 
>> SandboxAccountViewer
>> since I needed it desperatly.
>>
>> This is what I did:
>> - imported the sources into Eclipse (follow download-link here: 
>> http://code.google.com/p/google-api-adwords-java/wiki/SandboxAccountViewer)
>> - added the newest adwords-library (v8.5.0)
>> - replaced all references to pre-201109 calls with 201109 (don't forget 
>> Service-calls like "AdWordsService.V201109.CAMPAIGN_SERVICE")
>> - commented out references to classes unsupported by 201109 like 
>> CampaignTarget->DemographicTarget->AgeTarget, GenderTarget etc 
>>   (compiler will show you what to comment out)
>> - and finally used a real client-id  (like "12345") instead of "
>> client_n+...@gmail.com in the user-credentials.
>>
>> Again: I *really *know this is* bad practise*, even worse to publish 
>> this here, but it helped me a lot in my
>> situation and maybe it will help somebody else who like me cannot afford 
>> to wait for an official fix to this 
>> problem.
>>
>> Cheers,
>> -Wolfram
>>
>>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Missing Keyword Data

2012-04-02 Thread Eric Koleda
Hi Manuel,

I'm not aware of any delays in the reporting system.  If you have more 
technical information you can share please let us know.

Best,
- Eric

On Thursday, March 29, 2012 11:02:50 AM UTC-4, Manuel wrote:
>
> Hi Eric;
> finally after a couple of weeks, i wanted to go live with our v201109 
> migrated application since I thought that all basic API-features should be 
> stable in the meantime (including real-time reports).
> Unfortunately just I experienced a delay of ~7 minutes with keyword 
> reports.
> This is very sad and did not happen with v13 reports.
> Is there anything I can do to help you solving this issue ? (log excerpts 
> etc.)
>
> Best,
> Manuel
>
>
> Am Montag, 12. März 2012 23:40:21 UTC+1 schrieb Eric Koleda:
>>
>> Hi Manuel,
>>
>> I don't have any updates, but I'm glad to know the problem is no longer 
>> affecting you.
>>
>> Best,
>> - Eric
>>
>> On Monday, March 12, 2012 7:28:39 AM UTC-4, Manuel wrote:
>>>
>>> Hi Eric,
>>> do you have an update ? When I tested a couple of days ago, the delay 
>>> seemed to be gone, but I'd like to have a confirmation about this issue.
>>>
>>> Thanks in advance, best
>>> Manuel
>>>
>>> Am Montag, 27. Februar 2012 22:34:13 UTC+1 schrieb Eric Koleda:

 Hi All,

 The core engineering team has confirmed that some accounts may 
 experience a small delay between changing keyword data and seeing the 
 change in reports.  The delay is in the order of minutes, and is leading 
 to 
 the differences you are seeing.  They are working to eliminate this delay 
 and I'll let you know when I have more information.

 Best,
 - Eric

 On Friday, February 24, 2012 5:14:13 AM UTC-5, Manuel wrote:
>
> Hi Michael, hi Eric,
> I guess I'm experiencing the same issues with adhoc keyword 
> performance reports.
> After adding and deleting several keywords via the API and retrieving 
> a new report afterwards, some of the deleted keywords still exist in the 
> report and vice versa, whereas UI results are up-to-date.
> Since our application syncronizes an account's data with the report, 
> this behavior is crucial to us. 
> As a matter of fact, by trying to syncronize with deprecated data, our 
> application tries to delete already removed keywords, which will result 
> in 
> an API error
>
> EntityNotFound.INVALID_ID @ operations[0].operand.criterion.id; 
> trigger:\'*\'
>
> I already found out, that statistical data (clicks, conversions etc.) 
> are updated in nightly cronjobs and are not presented in real-time. Does 
> this circumstance also apply to the overall "up-to-dateness" of the 
> keywords (without regarding statistical data). But that seems to be in 
> contrary to your statement, that the report-data reflects the UI-data.
>
> I'm really interested in the outcome of Michael's case, since that 
> seems to reflect the same issue. Please let me know, if I could help in 
> any 
> case.
>
>
> Best,
> Manuel
>
> PS: we did not experience those issues with the old v13 reporting 
> services...



-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: InfoService v201109 error

2012-04-02 Thread Eric Koleda
Hi Denis,

I believe the results should be the same regardless of whether or not the 
account is a Google Apps for your domain account.  If you just want to get 
information about your sub-accounts then you should use the 
ServicedAccountService instead.

Best,
- Eric

On Friday, March 30, 2012 3:56:42 AM UTC-4, Denis Olifer wrote:
>
> Hi, Eric
> thanks a lot for your reply. 
> This works for me. but for some of accounts i got zero values (ga accout 
> used is Google for domains account, non-MCC) the response is
>
>   xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>  
>> xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201109"; xmlns="
>> https://adwords.google.com/api/adwords/info/v201109";>0004bc7121a910e80a97030d51e7InfoServiceget112061>  
>> xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201109"; xmlns="
>> https://adwords.google.com/api/adwords/info/v201109
>> ">0
>
>
> but for domain MCC account i see the results, and for normal (non domain) 
> Google account - everything ok.
> Could you please help me, how to get a list of Clients that belong to 
> current authenticated user,
>
> Best,
> Denis
>
> On Thursday, February 23, 2012 12:15:12 AM UTC+2, Eric Koleda wrote:
>>
>> Hi All,
>>
>> We pushed out a change today that should allow you to retrieve the 
>> customer ID of unlinked accounts from the InfoService.  If you call the 
>> InfoService using the ApiUsageType of UNIT_COUNT_FOR_CLIENTS while 
>> authenticated as the unlinked non-MCC account, you should receive back a 
>> single entry in the response with the email and customer ID of the 
>> authenticated account.  It's not necessary to populate the clientEmails or 
>> clientCustomerIds fields of the selector.  Calling the InfoService 
>> authenticated as an MCC account will behave the same as before (one entry 
>> for each client account).  Let me know if you have any questions.
>>
>> Best,
>> - Eric
>>
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Ad Rotation settings in API?

2012-04-02 Thread Eric Koleda
No, unfortunately this feature wasn't exposed in that version.  We still 
hope to expose it in a future version.

- Eric

On Monday, April 2, 2012 5:16:38 AM UTC-4, Eliya wrote:
>
> Is this available in v201109?
>
> Thank you.
>
>
> On Thursday, May 5, 2011 5:55:46 PM UTC+3, Eric Koleda wrote:
>>
>> Hi,
>>
>> Unfortunately this option isn't available in the current version of the 
>> API, although we plan to expose it in the next version of the API.
>>
>> Best,
>> - Eric Koleda, AdWords API Team
>>
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Dynamic Search Ads missing in Ad Performance Report

2012-04-02 Thread okiebug1...@gmail.com
Hello Kevin,
Please keep this thread alive for updates on Google's progress in adding 
this mission critical missing data to the reporting web services.  We 
cannot balance to invoices and keep our "bean counters" happy without it.  

This is very similar to Google's Remarketing Campaigns' launch, and 
Google's eventual reporting via a CRITERIA_PERFORMANCE_REPORT.  When 
AdGroups lack keywords a literal value of "boomuserlist::nn" is 
present in the keywordPlacement column.  

For instance:
 

Please keep our accounting teams happy and press the team to get this data 
exposed as soon as possible.

David 


On Monday, March 26, 2012 4:42:54 PM UTC-4, Kevin Winter wrote:
>
> Hi Richard,
>   Unfortunately, at this time I don't have any information about when this 
> feature will be available in the API.  In the meantime, these Ads are 
> created via the UI and can still be reported on via the UI.
>
> - Kevin Winter
> AdWords API Team
>
> On Monday, March 26, 2012 11:01:36 AM UTC-4, Richard wrote:
>>
>> Thanks for the quick response.
>>
>> This raises 2 important questions:
>>  
>> - When will support for Dynamic Search Ads, especially at the report 
>> level be added to the API?
>>
>> - What are our options until official support is added?
>>
>> Advertisers spend large amounts of money on Dynamic Search Ads and use 
>> tools to track their campaigns and justify their expenses. Not having 
>> access to this data is bad for business.
>>
>> Richard
>>
>>
>> On Monday, March 26, 2012 10:11:00 AM UTC-4, Kevin Winter wrote:
>>>
>>> Hi,
>>>   This is an intentional change.  Dynamic Search Ads were never 
>>> officially supported in the AdWords API - you could never create them via 
>>> the API.  We recently fixed a bug that allowed these Ads to show up in 
>>> results for AdGroupAdService calls as well as the Ad Performance report. 
>>>  This is the same behavior for other features not supported by the AdWords 
>>> API (such as Video Campaigns).
>>>
>>> - Kevin Winter
>>> AdWords API Team
>>>
>>> On Wednesday, March 21, 2012 2:03:38 PM UTC-4, Antonio Tajuelo wrote:

 Hello everyone,

 I'm downloading an Ad Performance Report. It seems that Dynamic Search 
 Ads stopped appearing in this report for dates 2012-03-19 until now. This 
 report is being downloaded using AdWords PHP library.

 Are there any known issues about this?

>>>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Restricting console output

2012-04-02 Thread Sid
Hi

I'm updating max_cpc via the python API to my Adwords account. I would like 
to restrict the amount of console output so that I can email the output to 
myself in the cron and keep track of success/failures. However the size of 
SOAP messages is so large that my mail server is unable to mail the output 
to me. Are there specific flags I can use to suppress the console messages? 
Ideally I'd only like to be able to see what I explicitly print out in my 
code as the email content. Snippet from my code:

for row in rows:
  ad_group_id = str(row[0])
  criterion_id = str(row[1])
  max_cpc = row[2]
  operations = [{
  'operator': 'SET',
  'operand': {
  'xsi_type': 'BiddableAdGroupCriterion',
  'adGroupId': ad_group_id,
  'criterion': {
  'id': criterion_id,
  },
  'bids': {
  'xsi_type': 'ManualCPCAdGroupCriterionBids',
  'maxCpc': {
  'amount': {
  'microAmount': max_cpc
  }
  }
  }
  }
  }]
  try:
   ad_group_criteria = ad_group_criterion_service.Mutate(operations)[0]
  except Exception as e:
   print "Failed to update bid (%s,%s,%s) for account %s Exception %s" 
%(ad_group_id,criterion_id,max_cpc,input_account,e)
 print str(cursor.rowcount) + " Bids updated for account " + input_account

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Filter campaigns by bidding strategy

2012-04-02 Thread Eliya

Thank you very much, Ewan.

On Monday, April 2, 2012 1:42:26 PM UTC+3, Ewan Heming wrote:
>
> No, there isn't, but you can pull a report that lists the campaigns based 
> on the eligibility criteria: ie having received at least 15 conversions 
> in the past 30 
> days.
>  You 
> can then use the campaign ids from the report in a get request to query the 
> actual optimizer eligibility property.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID

2012-04-02 Thread Anash P. Oommen
Hi Zweitze,

1. Is the call succeeding for any other services? Or is it just 
ServicedAccountService.get that is failing?
2. Is the call succeeding with a new token at least once?

Cheers,
Anash P. Oommen
AdWords API Advisor.
On Monday, 2 April 2012 18:20:04 UTC+5:30, Zweitze wrote:
>
> Thanks for your input. However, the authentication token is usually 
> seconds to minutes old and never older than a day.
> BTW our development environment does not use the sandbox. We use real 
> accounts, configured for testing.
>  
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Failed to get authToken. Reason: BadAuthentication

2012-04-02 Thread Anash P. Oommen
Hi Suhas,

Please open a new thread with additional details. This is quite old, and it 
is easier to follow up on a new one.

Cheers,
Anash P. Oommen,
AdWords API Advisor,

On Saturday, 31 March 2012 17:03:09 UTC+5:30, suhas wrote:
>
> Anash, Have a similar problem. Can you help solve it?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: OAuth with Google's AdWords API AuthenticationError

2012-04-02 Thread Anash P. Oommen
Hi Simon,

Nice to know. If you have 2-legged authentication turned on, then you need 
to generate an application-specific password as discussed 
at 
http://adwordsapi.blogspot.com/2011/02/authentication-changes-with-2-step.html.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Monday, 2 April 2012 14:29:17 UTC+5:30, baynezy wrote:
>
> Anash,
> Thanks very much for your help on this. I think I have solved the problem, 
> I think it is because my Gmail account has the 2-legged authentication 
> turned on. I am using a different account now and it is now working.
>
> Thanks.
>
> Simon
>
> On Friday, 30 March 2012 05:30:45 UTC+1, Anash P. Oommen wrote:
>>
>> Hi Simon,
>>
>> v201101 got sunset last month. Try v201109.GetCampaigns as the command 
>> line version. (Or in general, apiversion.codeexamplename as command line 
>> argument). I'll update the video appropriately or leave comments on the 
>> youtube video.
>>
>> Cheers,
>> Anash
>>
>> On Thursday, 29 March 2012 21:23:29 UTC+5:30, baynezy wrote:
>>>
>>> Anash,
>>> Thanks very much this is starting to come together. I have set up the 
>>> Web.config as requested and I am trying to run 
>>> http://code.google.com/p/google-api-adwords-dotnet/source/browse/trunk/examples/adwords/csharp/v201109/BasicOperations/GetCampaigns.cs.
>>>  
>>> I am adding adding a command line argument of 'v201101.GetAllCampaigns' as 
>>> you specify in your YouTube video 
>>> http://www.youtube.com/watch?v=XRqbqtsGO_g&feature=player_embedded. 
>>> However, every time I run it it just list the help text to the console. It 
>>> is like it does not see he command line arguments. I also compiled the exe 
>>> and ran it from the command line with 'v201101.GetAllCampaigns' and it also 
>>> just outputs the help text. It is like I am having a bad brain moment, and 
>>> cannot see why this is failing. I would appreciate some thoughts on what I 
>>> am doing wrong if you can think of something obvious.
>>>
>>> On Thursday, 29 March 2012 13:32:16 UTC+1, Anash P. Oommen wrote:

 Hi Simon,

 Almost forgot to mention: since you are making calls to the sandbox, 
 you need to initialize the sandbox and use the clientCustomerIds in it.

 1. In your Web.config, you should have email/password as your gmail 
 email/password. Comment out clientCustomerId.
 2. Call GetCampaigns.cs. Reference example is at  
 http://code.google.com/p/google-api-adwords-dotnet/source/browse/trunk/examples/adwords/csharp/v201109/BasicOperations/GetCampaigns.cs.
  
 This will initialize your sandbox.
 3. Call GetAccountHiearchy.cs. Example here:  
 http://code.google.com/p/google-api-adwords-dotnet/source/browse/trunk/examples/adwords/csharp/v201109/AccountManagement/GetAccountHierarchy.cs.
  
 This will return the sandbox accounts that were created for you.
 4. Copy one of those customerIds into your 
 web.config's clientCustomerId key, and uncomment the key.
 5. Run any code example.

 Anash

 On Thursday, 29 March 2012 17:57:07 UTC+5:30, Anash P. Oommen wrote:
>
> Hi Simon,
>
> I see... let's get a code example running in that case...
>
> The easiest approach is as follows:
>
> 1. Make sure your Web.config looks exactly as follows: 
> http://code.google.com/p/google-api-adwords-dotnet/source/browse/trunk/examples/adwords/csharp/App.config.
>  
> In case you have other stuff in your Web.config, you need to merge the 
> two.
>
> 2. Enter your MCC email, password, clientCustomerId, developerToken in 
> your Web.config.
> 3. In your code, do
>
> AdWordsUser user = new AdWordsUser();// this loads all configs from 
> your Web.Config
> CampaignService service = (CampaignService) 
> user.GetService(AdWordsService.v201109.CampaignService);
> // Build your campaign, operation, do service.mutate(). Refer to the 
> examples folder in the downloaded zip for various code examples.
>
> 4. Run your website. If you face any issues, let me know, along with 
> the error you are facing.
>
> Cheers,
> Anash
>
> On Thursday, 29 March 2012 17:21:25 UTC+5:30, baynezy wrote:
>>
>> Anash,
>> Again thank you for your quick response. I am building a web 
>> application that when new items are added to our system we can 
>> potentially 
>> automatically add a new Campaign to the our AdWords account and then 
>> subsequently new AdGroups, Ads and Keywords. I am at the early stages 
>> really learning the capabilities of the API and I am having a few 
>> problems 
>> getting going. I downloaded the the .Net client library from here 
>> http://code.google.com/p/google-api-adwords-dotnet/ and I am using 
>> that as the basis of starting my own proof of concept project. Mainly my 
>> issues are compounded by the fact that all the examples I can find are a 
>> mix of different versions

Re: AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID

2012-04-02 Thread Zweitze
Thanks for your input. However, the authentication token is usually seconds 
to minutes old and never older than a day.
BTW our development environment does not use the sandbox. We use real 
accounts, configured for testing.
 

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID

2012-04-02 Thread Sander Blokzijl
Hi,

I encountered several times the same error, in my case regenerating 
the authentication token was enough to fix it. An authentication token is 2 
weeks available and then needs to be renewed (as in my experience). the 
only weird thing it works in your development environment.. but if you are 
testing in the sandbox version i think the authentication is simplified and 
an expired auth token (maybe) will be ignored and don't give you a error.

Good luck,
Sander

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: TargetingIdeaService - Keyword Ideas - KEYWORD_CATEGORY

2012-04-02 Thread Sander Blokzijl
Hi Rohit,

There's currently a bug preventing the catergory ID's from being returned.

The API team is working on it, but they can't give us a date.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID

2012-04-02 Thread Zweitze
Hi,
Since April 1st we get AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID 
every time we call an API function - usually ServicedAccountService.get()
 
Sample requestId: 0004bcaca5492e200aec208720f2
Soap detail:
 
  https://adwords.google.com/api/adwords/mcm/v201109"; xmlns:ns2="
https://adwords.google.com/api/adwords/cm/v201109";> 
AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID @  
Service[ServicedAccountService.get] 

ApiException 
http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="ns2:AuthenticationError"> 
   
   
   
   
  
AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID
 

  AuthenticationError 
  GOOGLE_ACCOUNT_COOKIE_INVALID 
 
   

 
This happens on the production server only. Running in an development 
environment, with the *same* authentication token, gives no problems. We 
tried this with (far) over one hundred accounts, all giving this error.
 
Thanks in advance,
Zweitze.
 
PS: I also mailed this to adwordsapi-support@google. Apparently that 
address isn't monitored that well anymore, last time it took six(!) days 
before I got a response. Please note this is very urgent for us.
 
 

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: ad hoc report vs api get calls

2012-04-02 Thread Ewan Heming
 

Hi,


1. Most of the get requests currentlyonly cost 1 unit per 
call, 
so for example, if you download 10 campaigns, adgroups, keywords, or ads, 
it will cost you 10 units. If you need to download a large number of items 
in one go, then you can try using a 
MutateJob, 
which is slower but reduces the API unit charges.


 2. If you use the report service then you will need to write code to 
populate the objects available in the client libraries; there's currently 
no features available in the libraries to do it for you, but it would be a 
useful addition.


 3. You're likely to need to use more than one report to get all the data 
you need; even if you use get requests you would need to make more than one 
call. There's also some fields not available in reports. They work best as 
a way to quickly download a large amount of data to populate a database; 
many databases have bulk load features that can import flat files like 
csv's very fast. I usually download data into MySQL, then use some form of 
ORM library to work with the objects themselves.


Regards, 


Ewan

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: adhoc Report

2012-04-02 Thread Ewan Heming
Ad Hoc reports can be downloaded in a single request without having to 
create and upload a ReportDefinition first; this makes the process simpler 
to implement, places less load on the AdWords API servers (making reporting 
faster), and reduces the API unit costs to zero (as there was no charge for 
downloading reports from the API before, but creating a ReportDefinition 
cost 400 units).

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Filter campaigns by bidding strategy

2012-04-02 Thread Ewan Heming
No, there isn't, but you can pull a report that lists the campaigns based 
on the eligibility criteria: ie having received at least 15 conversions in 
the past 30 
days.
 You 
can then use the campaign ids from the report in a get request to query the 
actual optimizer eligibility property.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


how to get Campaign Country, Language and Device

2012-04-02 Thread Charles Best
Hi,
I'm looking for a way (different from report) to get Campaign information 
about "Countries", "Languages" and "Devices" configuration.

I thought to take this way but it gives me just the Languages:

$user = $this->getUser(); 
$user->SetClientId('0123456789');
$campaignService = $user->GetService('CampaignCriterionService', 'v201109');

$selector = new Selector();
$selector->fields = array('Id', 'LanguageName', 
'LanguageCode','CarrierCountryCode', 'GeoPoint', 
'LocationName','DisplayType');
$selector->predicates[] = new Predicate('CampaignId', 'EQUALS', 
'0123456789');
$selector->paging = new Paging(0, 20);

$value = $campaignService->get($selector);
var_dump($value);

How can I get all the other information?
Is this the wrong method?

Thanks

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Local monthly search volumes in API requests do not match queries in Keywoord Tool

2012-04-02 Thread Martin

Hi!

We've noticed differences in the AdWords API (Targeting Idea Service - 
Stats) requests when comparing with manual queries using the Keyword Tool.

Examples that are not matched by the AdWords API (but with reasonable 
values in the Keyword Tool):

sba (sweden/swedish local targeting)
ginseng (sweden/swedish local targeting)
aloe vera (sweden/swedish local targeting)

sba (norway/norwegian local targeting)
ginseng (norway/norwegian local targeting)
aloe vera (norway/norwegian local targeting)

sba (denmark/danish local targeting)
ginseng (denmark/danish local targeting)
aloe vera (denmark/danish local targeting)

I would normally expect the same response from both API and Keyword Tool, 
but I know that this has been an issue in the past (for some keywords). 
We've waited for quite some time for this update to propagate to the API 
before raising the following questions:

Is this a known issue that is being worked on?

Do you need help finding further examples?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: Ad Rotation settings in API?

2012-04-02 Thread Eliya
Is this available in v201109?

Thank you.


On Thursday, May 5, 2011 5:55:46 PM UTC+3, Eric Koleda wrote:
>
> Hi,
>
> Unfortunately this option isn't available in the current version of the 
> API, although we plan to expose it in the next version of the API.
>
> Best,
> - Eric Koleda, AdWords API Team
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en


Re: OAuth with Google's AdWords API AuthenticationError

2012-04-02 Thread baynezy
Anash,
Thanks very much for your help on this. I think I have solved the problem, 
I think it is because my Gmail account has the 2-legged authentication 
turned on. I am using a different account now and it is now working.

Thanks.

Simon

On Friday, 30 March 2012 05:30:45 UTC+1, Anash P. Oommen wrote:
>
> Hi Simon,
>
> v201101 got sunset last month. Try v201109.GetCampaigns as the command 
> line version. (Or in general, apiversion.codeexamplename as command line 
> argument). I'll update the video appropriately or leave comments on the 
> youtube video.
>
> Cheers,
> Anash
>
> On Thursday, 29 March 2012 21:23:29 UTC+5:30, baynezy wrote:
>>
>> Anash,
>> Thanks very much this is starting to come together. I have set up the 
>> Web.config as requested and I am trying to run 
>> http://code.google.com/p/google-api-adwords-dotnet/source/browse/trunk/examples/adwords/csharp/v201109/BasicOperations/GetCampaigns.cs.
>>  
>> I am adding adding a command line argument of 'v201101.GetAllCampaigns' as 
>> you specify in your YouTube video 
>> http://www.youtube.com/watch?v=XRqbqtsGO_g&feature=player_embedded. 
>> However, every time I run it it just list the help text to the console. It 
>> is like it does not see he command line arguments. I also compiled the exe 
>> and ran it from the command line with 'v201101.GetAllCampaigns' and it also 
>> just outputs the help text. It is like I am having a bad brain moment, and 
>> cannot see why this is failing. I would appreciate some thoughts on what I 
>> am doing wrong if you can think of something obvious.
>>
>> On Thursday, 29 March 2012 13:32:16 UTC+1, Anash P. Oommen wrote:
>>>
>>> Hi Simon,
>>>
>>> Almost forgot to mention: since you are making calls to the sandbox, you 
>>> need to initialize the sandbox and use the clientCustomerIds in it.
>>>
>>> 1. In your Web.config, you should have email/password as your gmail 
>>> email/password. Comment out clientCustomerId.
>>> 2. Call GetCampaigns.cs. Reference example is at  
>>> http://code.google.com/p/google-api-adwords-dotnet/source/browse/trunk/examples/adwords/csharp/v201109/BasicOperations/GetCampaigns.cs.
>>>  
>>> This will initialize your sandbox.
>>> 3. Call GetAccountHiearchy.cs. Example here:  
>>> http://code.google.com/p/google-api-adwords-dotnet/source/browse/trunk/examples/adwords/csharp/v201109/AccountManagement/GetAccountHierarchy.cs.
>>>  
>>> This will return the sandbox accounts that were created for you.
>>> 4. Copy one of those customerIds into your 
>>> web.config's clientCustomerId key, and uncomment the key.
>>> 5. Run any code example.
>>>
>>> Anash
>>>
>>> On Thursday, 29 March 2012 17:57:07 UTC+5:30, Anash P. Oommen wrote:

 Hi Simon,

 I see... let's get a code example running in that case...

 The easiest approach is as follows:

 1. Make sure your Web.config looks exactly as follows: 
 http://code.google.com/p/google-api-adwords-dotnet/source/browse/trunk/examples/adwords/csharp/App.config.
  
 In case you have other stuff in your Web.config, you need to merge the two.

 2. Enter your MCC email, password, clientCustomerId, developerToken in 
 your Web.config.
 3. In your code, do

 AdWordsUser user = new AdWordsUser();// this loads all configs from 
 your Web.Config
 CampaignService service = (CampaignService) 
 user.GetService(AdWordsService.v201109.CampaignService);
 // Build your campaign, operation, do service.mutate(). Refer to the 
 examples folder in the downloaded zip for various code examples.

 4. Run your website. If you face any issues, let me know, along with 
 the error you are facing.

 Cheers,
 Anash

 On Thursday, 29 March 2012 17:21:25 UTC+5:30, baynezy wrote:
>
> Anash,
> Again thank you for your quick response. I am building a web 
> application that when new items are added to our system we can 
> potentially 
> automatically add a new Campaign to the our AdWords account and then 
> subsequently new AdGroups, Ads and Keywords. I am at the early stages 
> really learning the capabilities of the API and I am having a few 
> problems 
> getting going. I downloaded the the .Net client library from here 
> http://code.google.com/p/google-api-adwords-dotnet/ and I am using 
> that as the basis of starting my own proof of concept project. Mainly my 
> issues are compounded by the fact that all the examples I can find are a 
> mix of different versions and so I am a little unclear on how to get 
> going.
>
> I think what I really need help with is how to get the AdWordsUser 
> authenticated in a way that I can the access the API from then on with no 
> challenge. I have no requirement to use OAuth as this will be an internal 
> service using just our company AdWords account.
>
> What I have so far is based on a combination of this Java example 
> http://code.google.