Re: Missing Keyword Data

2012-02-24 Thread Manuel
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: Ordering not works in Adgroup Perfortmance report?

2012-02-24 Thread Dmitriy
Hi Eric,

Thanks for answer.

Have AdWords team any plans to add such feature? Imho that would be useful 
for processing large accounts data.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Adwords sandbox API via OAuth and PHP Library

2012-02-24 Thread Alex Pojarsky
Hello.

Thanks for the reply.

But according to the 
http://code.google.com/apis/adwords/docs/sandbox.html#behavior - there is 
AuthToken required that received from the ClientAuth (not OAuth).

How do you pass the developerToken while using OAuth authentication?

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: Earnings in keyword performance reports

2012-02-24 Thread kzimmermann
Hi Kevin,
thanks for the hint. 
Apart from the ConversionValue field, there is also another field in 
question: TotalConvValue. I tried both, 
in both cases pulling reports for February 23. 2012. According to the WebUI 
of Analytics, the earnings
for that client on that date should have a value of 5,405.00. Yet from the 
API I get only 1,059.20 (using either
of the 2 fields above, both having the same XML attribute of 
'totalConvValue').
What else can I do get the full amount of the conversion 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: Earnings in keyword performance reports

2012-02-24 Thread Kevin Winter
Hi,
  The most common cause for a discrepancy between the UI numbers and the 
report numbers is a difference of parameters when pulling from UI and API. 
 Could you please reply to me offline with the exact ReportDefinition XML 
you are using and the account in question?  I can use these values to 
compare UI to API and perform further research if you can't reconcile these 
numbers.

- Kevin Winter
AdWords API  Team

On Friday, February 24, 2012 7:56:07 AM UTC-5, kzimmermann wrote:

 Hi Kevin,
 thanks for the hint. 
 Apart from the ConversionValue field, there is also another field in 
 question: TotalConvValue. I tried both, 
 in both cases pulling reports for February 23. 2012. According to the 
 WebUI of Analytics, the earnings
 for that client on that date should have a value of 5,405.00. Yet from the 
 API I get only 1,059.20 (using either
 of the 2 fields above, both having the same XML attribute of 
 'totalConvValue').
 What else can I do get the full amount of the conversion 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: InfoService v201109 error

2012-02-24 Thread Eric Koleda
Hi Chris,

The content of the 500 response will give you more information about what 
went wrong.

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: adwords report downloads through OAuth

2012-02-24 Thread Eric Koleda
Hi Vipin,

It's strange that realpath() isn't working correctly on that relative path. 
 For now it's fine to just comment out those lines.

Regarding the OAuth problems, are you running the example in a web browser 
or on the command line?  The example required user input, so it must be run 
from the command line.

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


GetClientCustomerId.php unable to obtain ID for sandbox account

2012-02-24 Thread Pianoman
The v201109 API now requires putting the account ID in the header rather 
than the email.
I want to use the sandbox to test some code, so I need the ID of the 
sandbox accounts.

I am using the PHP client libraries.
I am specifically using example program: GetClientCustomerId.php
This program works fine with live accounts.

However, I am struggleing to obtain the ID of sandbox accounts.
I am getting the following error message:

An error has occurred: QuotaCheckError.INVALID_TOKEN_HEADER @ ; 
trigger:'135520407935'

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


Why do Automatic Placement Report numbers not match the UI?

2012-02-24 Thread j.e.frank
I'm doing the last phases of a transition to the new AdWords API, and I'm 
having some trouble with the Automatic Placements report.  I ran the report 
for a specific date (I picked a few days ago in case the data is not 
stable) and added up the totals for impressions, clicks, and cost in the 
report rows.  Then I compared this to the same date in the AdWords UI, and 
the totals are not the same.  I did the same kind of test for the Managed 
Placements Report and did get a match.  No matter what date or date range I 
pick, I get the same results: Automatic Placement totals don't match, 
Managed Placement totals do.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Ordering not works in Adgroup Perfortmance report?

2012-02-24 Thread Eric Koleda
Hi Dmitriy,

Unfortunately there are not, as there are technical limitations preventing 
it.

Best,
- Eric

On Friday, February 24, 2012 6:06:40 AM UTC-5, Dmitriy wrote:

 Hi Eric,

 Thanks for answer.

 Have AdWords team any plans to add such feature? Imho that would be useful 
 for processing large accounts data.


-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


AdHoc Fields

2012-02-24 Thread John Bliss
I'm successfully retrieving adhoc reports with:

reportDefinition xmlns=https://adwords.google.com/api/adwords/cm/v201109;
selector
fieldsExternalCustomerId/fields
fieldsCustomerDescriptiveName/fields
fieldsCampaignId/fields
fieldsCampaignName/fields
fieldsAdGroupId/fields
fieldsAdGroupName/fields
fieldsKeywordText/fields
fieldsId/fields
fieldsKeywordMatchType/fields
fieldsStatus/fields
fieldsDestinationUrl/fields
fieldsMaxCpc/fields
fieldsCriteriaDestinationUrl/fields
fieldsCampaignStatus/fields
fieldsImpressions/fields
fieldsClicks/fields
fieldsCtr/fields
fieldsAverageCpc/fields
fieldsAverageCpm/fields
fieldsCost/fields
fieldsAveragePosition/fields
/selector
reportNamemyreport/reportName
reportTypeKEYWORDS_PERFORMANCE_REPORT/reportType
dateRangeTypeYESTERDAY/dateRangeType
downloadFormatXML/downloadFormat
/reportDefinition

The issue is that the fields above appear to be ignored because here are 
the resulting columns in the XML:

columns
column name='customerID' display='Customer ID'/
column name='clientName' display='Client name'/
column name='campaignID' display='Campaign ID'/
column name='campaign' display='Campaign'/
column name='adGroupID' display='Ad group ID'/
column name='adGroup' display='Ad group'/
column name='keyword' display='Keyword'/
column name='keywordID' display='Keyword ID'/
column name='matchType' display='Match type'/
column name='keywordState' display='Keyword state'/
column name='destinationURL' display='Destination URL'/
column name='maxCPC' display='Max. CPC'/
column name='campaignState' display='Campaign state'/
column name='impressions' display='Impressions'/
column name='clicks' display='Clicks'/
column name='ctr' display='CTR'/
column name='avgCPC' display='Avg. CPC'/
column name='avgCPM' display='Avg. CPM'/
column name='cost' display='Cost'/
column name='avgPosition' display='Avg. position'/
/columns

Please advise.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 Fields

2012-02-24 Thread John Bliss
UPDATE:

Google:

At a quick glance it looks like all the fields you requested are present. 
 From the docs: 
http://code.google.com/apis/adwords/docs/appendix/reports.html#keywords

The Name column in the docs is the value you requested in your selector, 
the Display Name and XML Attribute are the values you see in the 
response.  Is there a field being ignored that I'm missing?

Me:

I was expecting this:

For KW's with KW-level destination URL's:

fieldsDestinationUrl/fields = KW-level destination URL
fieldsCriteriaDestinationUrl/fields = KW-level destination URL

For KW's without KW-level destination URL's:

fieldsDestinationUrl/fields = Ad-level destination URL
fieldsCriteriaDestinationUrl/fields = NULL or default URL

Is that incorrect?

Google:

I believe both fields names exist for legacy purposes - they should both 
work like the CriteriaDestinationUrl case for your examples below.  If you 
need the Effective DestinationUrl, you can use the Destination URL report.

Otherwise, you can run an Ad Performance Report and a Keyword Performance 
and use the value of Keyword Performance report (if not null) otherwise the 
Ad Performance Report value.

Me:

I think the Destination URL report might work for me. When I first looked 
at it, I could not figure out why it appeared to be missing:

KeywordMatchType
KeywordText

...but it seems as though, for some reason, those have been named:

CriteriaParameters
CriteriaStatus

Also, I don't see why Effective DestinationUrl wouldn't be available in the 
Keyword Report.

Confusing.

On Friday, February 24, 2012 3:48:30 PM UTC-6, John Bliss wrote:

 I'm successfully retrieving adhoc reports with:

 reportDefinition xmlns=https://adwords.google.com/api/adwords/cm/v201109
 
 selector
 fieldsExternalCustomerId/fields
 fieldsCustomerDescriptiveName/fields
 fieldsCampaignId/fields
 fieldsCampaignName/fields
 fieldsAdGroupId/fields
 fieldsAdGroupName/fields
 fieldsKeywordText/fields
 fieldsId/fields
 fieldsKeywordMatchType/fields
 fieldsStatus/fields
 fieldsDestinationUrl/fields
 fieldsMaxCpc/fields
 fieldsCriteriaDestinationUrl/fields
 fieldsCampaignStatus/fields
 fieldsImpressions/fields
 fieldsClicks/fields
 fieldsCtr/fields
 fieldsAverageCpc/fields
 fieldsAverageCpm/fields
 fieldsCost/fields
 fieldsAveragePosition/fields
 /selector
 reportNamemyreport/reportName
 reportTypeKEYWORDS_PERFORMANCE_REPORT/reportType
 dateRangeTypeYESTERDAY/dateRangeType
 downloadFormatXML/downloadFormat
 /reportDefinition

 The issue is that the fields above appear to be ignored because here are 
 the resulting columns in the XML:

 columns
 column name='customerID' display='Customer ID'/
 column name='clientName' display='Client name'/
 column name='campaignID' display='Campaign ID'/
 column name='campaign' display='Campaign'/
 column name='adGroupID' display='Ad group ID'/
 column name='adGroup' display='Ad group'/
 column name='keyword' display='Keyword'/
 column name='keywordID' display='Keyword ID'/
 column name='matchType' display='Match type'/
 column name='keywordState' display='Keyword state'/
 column name='destinationURL' display='Destination URL'/
 column name='maxCPC' display='Max. CPC'/
 column name='campaignState' display='Campaign state'/
 column name='impressions' display='Impressions'/
 column name='clicks' display='Clicks'/
 column name='ctr' display='CTR'/
 column name='avgCPC' display='Avg. CPC'/
 column name='avgCPM' display='Avg. CPM'/
 column name='cost' display='Cost'/
 column name='avgPosition' display='Avg. position'/
 /columns

 Please advise.


-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 update CampaignCriterion in v201109

2012-02-24 Thread Jim McCabe
Actually - in my experience, the API does not handle it well if you remove 
a criterion and then add it back immediately.  We tried three different 
approaches and only the last one worked:

1. Make one call to remove everything, then another call to add back what 
we want.  FAIL.

2. Do everything in one call, placing the REMOVE operations first in the 
array, followed by the ADD operations.  FAIL.

3. Perform a diff, so that we only have to add or remove the specific 
items that are required.  SUCCESS.

When I say FAIL, I mean that the end result is that the criterion that we 
attempted to ADD would never appear in the campaign.  The REMOVE operations 
seemed to take precedence.  We were extremely surprised that #1 failed, 
because they were two separate calls, although immediately following each 
other in time.

Jim



On Tuesday, 21 February 2012 02:32:36 UTC-8, Anash P. Oommen wrote:

 Hi Sanjay,

 Removing everything and adding everything back works too if you don't want 
 to do the merging part. Also, you might want to make the REMOVE and ADD 
 calls separate. I'm not sure of the exact behaviour if you add and remove 
 the same criterion in the same request. (E.g. REMOVE and ADD US country 
 target in the same call.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.


On Tuesday, 21 February 2012 02:32:36 UTC-8, Anash P. Oommen wrote:

 Hi Sanjay,

 Removing everything and adding everything back works too if you don't want 
 to do the merging part. Also, you might want to make the REMOVE and ADD 
 calls separate. I'm not sure of the exact behaviour if you add and remove 
 the same criterion in the same request. (E.g. REMOVE and ADD US country 
 target in the same call.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.


On Tuesday, 21 February 2012 02:32:36 UTC-8, Anash P. Oommen wrote:

 Hi Sanjay,

 Removing everything and adding everything back works too if you don't want 
 to do the merging part. Also, you might want to make the REMOVE and ADD 
 calls separate. I'm not sure of the exact behaviour if you add and remove 
 the same criterion in the same request. (E.g. REMOVE and ADD US country 
 target in the same call.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.


On Tuesday, 21 February 2012 02:32:36 UTC-8, Anash P. Oommen wrote:

 Hi Sanjay,

 Removing everything and adding everything back works too if you don't want 
 to do the merging part. Also, you might want to make the REMOVE and ADD 
 calls separate. I'm not sure of the exact behaviour if you add and remove 
 the same criterion in the same request. (E.g. REMOVE and ADD US country 
 target in the same call.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.


On Tuesday, 21 February 2012 02:32:36 UTC-8, Anash P. Oommen wrote:

 Hi Sanjay,

 Removing everything and adding everything back works too if you don't want 
 to do the merging part. Also, you might want to make the REMOVE and ADD 
 calls separate. I'm not sure of the exact behaviour if you add and remove 
 the same criterion in the same request. (E.g. REMOVE and ADD US country 
 target in the same call.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.


On Tuesday, 21 February 2012 02:32:36 UTC-8, Anash P. Oommen wrote:

 Hi Sanjay,

 Removing everything and adding everything back works too if you don't want 
 to do the merging part. Also, you might want to make the REMOVE and ADD 
 calls separate. I'm not sure of the exact behaviour if you add and remove 
 the same criterion in the same request. (E.g. REMOVE and ADD US country 
 target in the same call.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.


On Tuesday, 21 February 2012 02:32:36 UTC-8, Anash P. Oommen wrote:

 Hi Sanjay,

 Removing everything and adding everything back works too if you don't want 
 to do the merging part. Also, you might want to make the REMOVE and ADD 
 calls separate. I'm not sure of the exact behaviour if you add and remove 
 the same criterion in the same request. (E.g. REMOVE and ADD US country 
 target in the same call.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.


On Tuesday, 21 February 2012 02:32:36 UTC-8, Anash P. Oommen wrote:

 Hi Sanjay,

 Removing everything and adding everything back works too if you don't want 
 to do the merging part. Also, you might want to make the REMOVE and ADD 
 calls separate. I'm not sure of the exact behaviour if you add and remove 
 the same criterion in the same request. (E.g. REMOVE and ADD US country 
 target in the same call.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.


On Tuesday, 21 February 2012 02:32:36 UTC-8, Anash P. Oommen wrote:

 Hi Sanjay,

 Removing everything and adding everything back works too if you don't want 
 to do the merging part. Also, you might want to make the REMOVE and ADD 
 calls separate. I'm not sure of the exact behaviour if you add and remove 
 the same criterion in the same request. (E.g. REMOVE and ADD US country 
 target in the same call.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.


On Tuesday, 21 

CampaignCriterionService get() sometimes returns null GeoPoint in Proximity objects

2012-02-24 Thread Jim McCabe
We are seeing a sporadic error with v201109 CampaignCriterionService, when 
we query for the existing criterion on a campaign.  Sometimes the API 
returns Proximity objects where the GeoPoint is null, even though the 
campaign definitely has a lat/long/radius defined (we can see it in the 
AdWords UI).

Here's how we are building the Selector:

final Selector selector = new Selector();
selector.setFields(new String[] {
// Basic attributes
Id, CampaignId, CriteriaType,
// Proximity attributes
GeoPoint, RadiusDistanceUnits, RadiusInUnits
});
final Predicate idPredicate = new Predicate(
CampaignId,
PredicateOperator.EQUALS,
new String[] {String.valueOf(seCampaignId)});
selector.setPredicates(new Predicate[] {idPredicate});

This works great much of the time, but sometimes we get a Proximity where 
the GeoPoint is null.  Has anyone else seen this?  Should we be building 
the Selector differently?

Thanks -

Jim

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


Discrepancy in v13 vs. v201109 campaign reports

2012-02-24 Thread Jim McCabe
We have noticed that campaign reporting numbers are a bit different between 
v13 and v201109.  We're testing the new API compared to our old v13 
implementation, and are querying old data (Jan 6, 2012) to prevent live 
activity from changing results.

In v201109, we see a row like this (edited personal info with ...):

row day=2012-01-06 customerID=... campaignID=... impressions=32 
clicks=0 avgCPC=0.00 ctr=0.00% cost=0.00 avgPosition=3.13 
conv1PerClick=0 convRate1PerClick=0.00% imprShare=76.19%
 lostISBudget=0.00% lostISRank=23.81% exactMatchIS=100.00%/
In v13 for the same customer and day, we see this:

 row date=2012-01-06 customerid=... campaignid=... imps=32 
clicks=0 ctr=0.0 cpc=0 impShare=0.85 lostImpShareRank=0.15 
lostImpShareBudget=0.0 
exactMatchImpShare=0.67 cost=0 pos=3.125 conv=0 
convRate=0.0/row

I've highlighted the differences:


   - Imp share - 76.19% vs. 0.85
   - Lost imp share rank - 23.81% vs. 0.15
   - Exact match imp share - 100% vs. 0.67

Is this expected?  Does v201109 compute these values differently, maybe 
skipping some values or rolling things up differently?

Jim

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Zero impression account performance report - is this possible?

2012-02-24 Thread Kevin
Same here.  Google -- Any plan to address this issue?

-Kevin

On Thursday, January 26, 2012 9:17:40 AM UTC-8, Rob wrote:

 Seems this is a known issue (I've just found one other post mentioning it 
 with the 201101 API).  I've tried using the campaign report instead as 
 suggested, but just my luck, someone's added an account to our system with 
 no campaigns in it...

 Foiled again when trying to work around the currency and time zone bugs :( 


-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


can ad params be specified without default value in the ad syntax

2012-02-24 Thread mkrasteva
Is it possible to specify the dynamic insertion text for ad params as 
{param1} only or does there always need to be default text specified

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 Fields

2012-02-24 Thread John Bliss
But it's not over yet...

Destination URL report appears to be missing:

Id Keyword ID
KeywordMatchType Match type

...or are those named something else? Anyone know?


On Friday, February 24, 2012 5:39:10 PM UTC-6, John Bliss wrote:

 UPDATE:

 Google:

 At a quick glance it looks like all the fields you requested are present. 
  From the docs: 
 http://code.google.com/apis/adwords/docs/appendix/reports.html#keywords

 The Name column in the docs is the value you requested in your selector, 
 the Display Name and XML Attribute are the values you see in the 
 response.  Is there a field being ignored that I'm missing?

 Me:

 I was expecting this:

 For KW's with KW-level destination URL's:

 fieldsDestinationUrl/fields = KW-level destination URL
 fieldsCriteriaDestinationUrl/fields = KW-level destination URL

 For KW's without KW-level destination URL's:

 fieldsDestinationUrl/fields = Ad-level destination URL
 fieldsCriteriaDestinationUrl/fields = NULL or default URL

 Is that incorrect?

 Google:

 I believe both fields names exist for legacy purposes - they should both 
 work like the CriteriaDestinationUrl case for your examples below.  If you 
 need the Effective DestinationUrl, you can use the Destination URL report.

 Otherwise, you can run an Ad Performance Report and a Keyword Performance 
 and use the value of Keyword Performance report (if not null) otherwise the 
 Ad Performance Report value.

 Me:

 I think the Destination URL report might work for me. When I first looked 
 at it, I could not figure out why it appeared to be missing:

 KeywordMatchType
 KeywordText

 ...but it seems as though, for some reason, those have been named:

 CriteriaParameters
 CriteriaStatus

 Also, I don't see why Effective DestinationUrl wouldn't be available in 
 the Keyword Report.

 Confusing.

 On Friday, February 24, 2012 3:48:30 PM UTC-6, John Bliss wrote:

 I'm successfully retrieving adhoc reports with:

 reportDefinition xmlns=
 https://adwords.google.com/api/adwords/cm/v201109;
 selector
 fieldsExternalCustomerId/fields
 fieldsCustomerDescriptiveName/fields
 fieldsCampaignId/fields
 fieldsCampaignName/fields
 fieldsAdGroupId/fields
 fieldsAdGroupName/fields
 fieldsKeywordText/fields
 fieldsId/fields
 fieldsKeywordMatchType/fields
 fieldsStatus/fields
 fieldsDestinationUrl/fields
 fieldsMaxCpc/fields
 fieldsCriteriaDestinationUrl/fields
 fieldsCampaignStatus/fields
 fieldsImpressions/fields
 fieldsClicks/fields
 fieldsCtr/fields
 fieldsAverageCpc/fields
 fieldsAverageCpm/fields
 fieldsCost/fields
 fieldsAveragePosition/fields
 /selector
 reportNamemyreport/reportName
 reportTypeKEYWORDS_PERFORMANCE_REPORT/reportType
 dateRangeTypeYESTERDAY/dateRangeType
 downloadFormatXML/downloadFormat
 /reportDefinition

 The issue is that the fields above appear to be ignored because here are 
 the resulting columns in the XML:

 columns
 column name='customerID' display='Customer ID'/
 column name='clientName' display='Client name'/
 column name='campaignID' display='Campaign ID'/
 column name='campaign' display='Campaign'/
 column name='adGroupID' display='Ad group ID'/
 column name='adGroup' display='Ad group'/
 column name='keyword' display='Keyword'/
 column name='keywordID' display='Keyword ID'/
 column name='matchType' display='Match type'/
 column name='keywordState' display='Keyword state'/
 column name='destinationURL' display='Destination URL'/
 column name='maxCPC' display='Max. CPC'/
 column name='campaignState' display='Campaign state'/
 column name='impressions' display='Impressions'/
 column name='clicks' display='Clicks'/
 column name='ctr' display='CTR'/
 column name='avgCPC' display='Avg. CPC'/
 column name='avgCPM' display='Avg. CPM'/
 column name='cost' display='Cost'/
 column name='avgPosition' display='Avg. position'/
 /columns

 Please advise.



-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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