InfoService v201109 ApiUsageError.INVALID_CLIENT_EMAIL

2012-01-25 Thread Erkan Ceran
Hi,

  I try to get clientId wtih give the clientEmail from Info service. Code 
was working but this morning  i try again i got this error ;

ApiUsageError.INVALID_CLIENT_EMAIL@ selector; trigger:'x...@xxx.com'

I try to comment out dateRange row but results is some. what is wrong ? 

my getClientId function : 

  $infoService = $user-GetService('InfoService', 'v201109');
$clientEmail = 'x...@xxx.com';
  // Create selector.
  $selector = new InfoSelector();
  $selector-clientEmails = array($clientEmail);
  $selector-includeSubAccounts = TRUE;
  $selector-apiUsageType = 'UNIT_COUNT_FOR_CLIENTS';

  $selector-dateRange = new DateRange(date('Ymd'), date('Ymd'));

  // Make the get request.
  $info = $infoService-get($selector);

  // Display result.
  $record = $info-apiUsageRecords[0];

 echo 'Client id is: '. $record-clientCustomerId;

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 ApiUsageError.INVALID_CLIENT_EMAIL

2012-01-25 Thread Erkan Ceran
Fixed. 

 changed $selector-includeSubAccounts = TRUE and its worked.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 ApiUsageError.INVALID_CLIENT_EMAIL

2012-01-25 Thread Erkan Ceran
its working now no problem. May there was a little bug :) 

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: PHP API v201109 - Set scheduling for campaign

2012-01-25 Thread Alistair Austen
Sorry should have added code in PHP please...

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


Video Ads - How to pull metrics from Adwords API.

2012-01-25 Thread Nakul Ringshia
Hi

I need to pull the following metrics for the video ads
Ad
Ad previews
Video
Impressions
Views
View Rate
Avg. CPV
Total Cost
Website clicks

I looked at the Ad Performance reports but it does not provide the
above fields. How can the retrieve the above metrics using the AdWords
API.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Get reports by day and month

2012-01-25 Thread Felipe - Goobest
anyone?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Get reports by day and month

2012-01-25 Thread Felipe - Goobest
I forgot to say, I'm using the java API.

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


Keyword Performance Report: Get data for all clients and campaigns

2012-01-25 Thread kassar
Hi there,

I'm trying to use the Adwords API to get run a keyword performance
report for ALL the clients and campaigns at once rather than pulling
this data per client. I'm using version 201008 of the API. I know this
can be done from the Client Reporting screen by adding a new report...
there is the option of : Accounts and Campaigns and by selecting All
accounts and campaigns rather than Select accounts and campaigns or
Labels we get the report I'm asking for.

Any help on whether this is possible or not?

Thank you
Keith C

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Could not read report - Performance Search Query Report

2012-01-25 Thread u_api_user
Hi,

On 23 Jan., 20:14, Kevin Winter kevin.win...@google.com wrote:
 Hi,
   What sort of segments are you including?

what do you mean with segements?

 The first date range is 7
 months whereas the other one is only one month.

Thats true.

 If you are segmenting by Hour, it's possible the amount of data is simply too 
 large.

How can we do that. We just requesting a report for a certain time
range. Which
option sets the segmentation in a report request and what does that
mean?
We are using the SearchQueryPerformanceReporting for almost a year.
The problem
appeared only recently.


 I recommend
 looking into how you construct your segments and dateranges and see if you
 can request the data in smaller chunks.

Another hint ... we also experienced that problem after requesting a
keyword report.
But in this case it occured temporarily. We tried it with the same
time range. It
was the same request but without the error message Could not read
report.

Thanks for your support and best Regards.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: updating from Cross Client Report Download (ReportUtils::RunAsyncReport) to ReportUtils::DownloadReport

2012-01-25 Thread Alexander Nitschke
Thanks Peter, but I actually already did it this way. I asked
specifically about changing headers *after* creation of the
AdWordsUser. Done your way this will only cause a Captcha exception to
come up.

Alexander

On Jan 23, 10:40 pm, Peter S. peterseew...@gmail.com wrote:
 Alexander,

 You can set custom headers before you create the AdWordsUser in
 the .NET API.  Just use a Dictionarystring,string where the first
 string is the key and the second is the value and pass that to the
 constructor of the AdWordsUser.

  Like so:

   Dictionarystring, string customDictionary = new Dictionarystring,
 string();
   customDictionary.Add(Email, UserName);

 Then pass this to the AdwordsUser.  You will need email, password,
 developertoken, and authtoken passed in as well to get the AdWordsUser
 to construct appropriately.


-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: updating from Cross Client Report Download (ReportUtils::RunAsyncReport) to ReportUtils::DownloadReport

2012-01-25 Thread Alexander Nitschke
Thanks Anash, especially the step 3 was the missing piece. I even
studied the .NET library source code in depth and saw that object
structure and thought about recompiling with headers exposed in the
AdWordsUser object but it just didn't occur to me that they already
are accessible in this way. That's genius what you did there. :-) I
still think the AdWordsUser object would allow to directly set this
value.

Sadly it doesn't seem to also be possible to save the AuthTokenand
later set it again this way (I still would like it this way since your
method still can cause repeat logins albeit much reduced). It is
internally saved in an AuthTokenCache and it would be nice to have a
method for the AdWordsUser to manipulate this cache with preset
values. If they aren't valid anymore the Authorization detects that
anyway and acquires a new AuthToken. Would it be ok if I make such a
request on the library's issue list?

Best wishes
Alexander


On Jan 24, 3:22 am, Anash P. Oommen anash.p.oommen
+fo...@google.com wrote:
 Hi Alexander,

 You could do this the following way:

 1. Set your MCC email and password in your Web.config.
 2. AdWordsUser user = new AdWordsUser(); // this picks up the credentials
 from the Web.config.
 3. (user.Config as AdWordsAppConfig).ClientCustomerId =
 your_client_customerid; // now the object is customized to run for given
 customerId
 4. Call whatever service or report download utilities here.

 With this setup, AuthToken is generated only once, so you won't run into
 captcha errors.

 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: AuthenticationError.CUSTOMER_NOT_FOUND

2012-01-25 Thread Kevin Winter
Hi Chirag,
  Due to the nature of the ServicedAccountService - it works on account 
links rather than accounts directly - it cannot return back correct results 
for unlinked accounts.  We recognize that support for obtaining 
clientCustomerId for an unlinked account is a gap in our featureset and 
we're looking into ways to address this shortcoming.

- Kevin Winter
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: Could not read report - Performance Search Query Report

2012-01-25 Thread Kevin Winter
Hi,
  Responses inline.

- Kevin Winter
AdWords API Team

On Wednesday, January 25, 2012 10:08:26 AM UTC-5, u_api_user wrote:

 Hi, 

 On 23 Jan., 20:14, Kevin Winter kevin@google.com wrote: 
  Hi, 
What sort of segments are you including? 

 what do you mean with segements? 


There are two types of fields in reports - statistics and segments.  Each 
segment you add an multiply the number of rows received by the number of 
possible values for that segment appearing in the results.

For example, if in the search query performance report you chose the 
columns Query and Impressions, you'd get one result per query.  Add in 
CampaignName, and you'd get one result per Query and CampaignName 
 combination.  Add HourOfDay, another 24 multiple in rows (potentially). 
 The results can quickly get fairly large when using logs of segments.
 


  The first date range is 7 
  months whereas the other one is only one month. 

 Thats true. 

  If you are segmenting by Hour, it's possible the amount of data is 
 simply too large. 

 How can we do that. We just requesting a report for a certain time 
 range. Which 
 option sets the segmentation in a report request and what does that 
 mean? 
 We are using the SearchQueryPerformanceReporting for almost a year. 
 The problem 
 appeared only recently. 


It's possible that recently the account(s) are seeing much more activity in 
a given segment, multiplying the size of the reports.  Knowing which 
columns you are requesting and the number of rows you see may help 
determine this.
 



  I recommend 
  looking into how you construct your segments and dateranges and see if 
 you 
  can request the data in smaller chunks. 

 Another hint ... we also experienced that problem after requesting a 
 keyword report. 
 But in this case it occured temporarily. We tried it with the same 
 time range. It 
 was the same request but without the error message Could not read 
 report. 

 Thanks for your support and best Regards.

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

2012-01-25 Thread Sunil
Can someone please help? I am unable to proceed.

On Jan 24, 12:36 pm, Sunil su...@sweetspotmarketing.com wrote:
 Hello,

 I am trying to retrieve the column maxCPA1PerClick in the
 ADGROUP_PERFORMANCE_REPORT. Can someone please tell me the field name
 I should use in the selector?

 Thanks

 Sunil

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

2012-01-25 Thread Keith Cassar
Hi Sunil

I think this is what you require:
http://code.google.com/apis/adwords/docs/appendix/reports.html#ad-group

Cheers
Keith C

On 25 January 2012 17:08, Sunil su...@sweetspotmarketing.com wrote:

 Can someone please help? I am unable to proceed.

 On Jan 24, 12:36 pm, Sunil su...@sweetspotmarketing.com wrote:
  Hello,
 
  I am trying to retrieve the column maxCPA1PerClick in the
  ADGROUP_PERFORMANCE_REPORT. Can someone please tell me the field name
  I should use in the selector?
 
  Thanks
 
  Sunil

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


-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: ServicedAccountService - failed to get account information for some accounts (getting an empty account)

2012-01-25 Thread Dr.g.
Help !
Still can't figure out what to do...

On Jan 24, 9:12 am, Dr.g. roeegavr...@gmail.com wrote:
 Hey Anash,

 Thank you for you quick response.

 Unfortunately it didn't help.
 I tried to remove the ClientCustomerId from the header, but got the
 same result.
 Also I could not benefit from the code you post a link to. It help
 retrieving the ClientCostumerId using the user e-mail.
 But I have both the ClientCustomerId and the e-mail (For test reasons,
 I'm using my own account) what I need and can't receive is the
 CurrencyCode and the CompanyName.

 The only different I can find between this test account, which doesn't
 work, to other accounts that works just fine is that this is a new
 account with payments set to manual and I didn't make a first
 deposit. I don't see any documentation saying it shouldn't work, but
 except that it's like any other account.

 Is there anything else I should try?
 Is there any more information I can provide which may help to
 understand this strange behavior?

 Thanks,
 Roee.

 On Jan 24, 4:49 am, Anash P. Oommen anash.p.oommen







 +fo...@google.com wrote:
  Hi,

  Try making the call without mentioning the clientCustomerId headers. If
  that doesn't work, here's an alternate approach using 
  InfoService:http://code.google.com/p/google-api-adwords-dotnet/source/browse/trun...

  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: ServicedAccountService - failed to get account information for some accounts (getting an empty account)

2012-01-25 Thread Dr.g.
Still not working, Help!

On Jan 24, 9:12 am, Dr.g. roeegavr...@gmail.com wrote:
 Hey Anash,

 Thank you for you quick response.

 Unfortunately it didn't help.
 I tried to remove the ClientCustomerId from the header, but got the
 same result.
 Also I could not benefit from the code you post a link to. It help
 retrieving the ClientCostumerId using the user e-mail.
 But I have both the ClientCustomerId and the e-mail (For test reasons,
 I'm using my own account) what I need and can't receive is the
 CurrencyCode and the CompanyName.

 The only different I can find between this test account, which doesn't
 work, to other accounts that works just fine is that this is a new
 account with payments set to manual and I didn't make a first
 deposit. I don't see any documentation saying it shouldn't work, but
 except that it's like any other account.

 Is there anything else I should try?
 Is there any more information I can provide which may help to
 understand this strange behavior?

 Thanks,
 Roee.

 On Jan 24, 4:49 am, Anash P. Oommen anash.p.oommen







 +fo...@google.com wrote:
  Hi,

  Try making the call without mentioning the clientCustomerId headers. If
  that doesn't work, here's an alternate approach using 
  InfoService:http://code.google.com/p/google-api-adwords-dotnet/source/browse/trun...

  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: No email/password specified

2012-01-25 Thread Etienne Lawlor
You will need to include username and password in the arguments to the 
client constructor like so:

my $client = Google::Ads::AdWords::Client-new({
   version = 'v201109',
   email = 'email',
   password = 'password'
   developer_token = 'TOKEN',
   user_agent = 'USERAGENT', 
}); 

   



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


some US city CriteriaIds aren't accepted as campaign critera?

2012-01-25 Thread David Bonner
As part of transitioning to v201109, I've written a small wrapper that 
pulls the criteria csvs from the api docs page, and looks up criteria ids. 
 While testing that wrapper, I discovered there are cities listed (at 
http://code.google.com/apis/adwords/docs/appendix/cities_us.csv) that are 
refused as campaign criteria.  For example, the entries for Hyannisport and 
South Grafton, MA in the cities csv are:

Massachusetts,Hyannis Port,1018255,Boston MA-Manchester NH,506,US-MA
Massachusetts,South Grafton,1018410,Boston MA-Manchester NH,506,US-MA


But trying to use those ids as campaign criteria gets me the following 
error:

  soap:Fault
   faultcodesoap:Server/faultcode
   faultstring[CriterionError.CANNOT_TARGET_CRITERION @ 
operations[119].operand.criterion; trigger:'1018255', 
CriterionError.CANNOT_TARGET_CRITERION @ operations[232].operand.criterion; 
trigger:'1018410']/faultstring
   detail
ApiExceptionFault 
xmlns=https://adwords.google.com/api/adwords/cm/v201109;
 message[CriterionError.CANNOT_TARGET_CRITERION @ 
operations[119].operand.criterion; trigger:'1018255', 
CriterionError.CANNOT_TARGET_CRITERION @ operations[232].operand.criterion; 
trigger:'1018410']/message
 ApplicationException.TypeApiException/ApplicationException.Type
 errors xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:type=CriterionError
  fieldPathoperations[119].operand.criterion/fieldPath
  trigger1018255/trigger
  errorStringCriterionError.CANNOT_TARGET_CRITERION/errorString
  ApiError.TypeCriterionError/ApiError.Type
  reasonCANNOT_TARGET_CRITERION/reason
 /errors
 errors xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:type=CriterionError
  fieldPathoperations[232].operand.criterion/fieldPath
  trigger1018410/trigger
  errorStringCriterionError.CANNOT_TARGET_CRITERION/errorString
  ApiError.TypeCriterionError/ApiError.Type
  reasonCANNOT_TARGET_CRITERION/reason
 /errors
/ApiExceptionFault
   /detail
  /soap:Fault



I was under the impression that the csv files in the api docs were the 
authoritative source for criteria ids...is that not the case?  Or is it 
simply that not all criteria can be used as campaign criteria?

If it helps, this was run against sandbox, and the requestId 
was 0004b760a56264b80a0d1a1a6940. 

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


Adwords UI Out-of-Sync with API Data

2012-01-25 Thread Chris Wiederspan
As of this morning (1/25/2012), it seems we have accounts that return 
different data via the API than it shows in the website reporting UI. Our 
problem is across several accounts in the same MCC. Are there any system 
problems that might be causing this right now? Our system hasn't changed at 
all, so I'm not sure what else might be a problem.

Thanks,
Chris

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


AuthToken (v201109): VB.NET example to get?

2012-01-25 Thread bgraves
Is there a particular AdWords class that I can use to get the
AuthToken or do I have to POST to the ClientLogin URL?

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


AuthToken (requirement for v201109): not required in v201101

2012-01-25 Thread bgraves
Questions:
1)  Why is the AuthToken now required for v201109 but not v201101
Reporting service?
2)  What other v201109 services required AuthToken?

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