Re: Not able to get customer id using OAuth via ruby V201302

2013-09-26 Thread Takeshi Hagikura (AdWords API Team)
Hi,

What account did you use when you authenticated using OAuth2? 
The credential should have access to client accounts under the MCC account. 
Please makes sure the client account agains which you got an error is under 
the MCC account you used as OAuth2 authentication.

Best,
- Takeshi, AdWords API Team

On Tuesday, September 24, 2013 6:38:05 PM UTC+9, bhavesh thakker wrote:

 1.I provide the access through my user id using OAuth
 2.I get the exception later on like 
 AdwordsApi::V201302::CustomerService::ApiException: 
 AdwordsApi::V201302::CustomerService::ApiException
 AuthorizationError.USER_PERMISSION_DENIED @ ; trigger:'null']
 3. The thing is, the same code works for most accounts but fails for few 
 accounts. Also, for those few accounts, I have send soetimes the code works 
 and sometimes the exception comes.

 Code:
 Get the customerId using ManagedCustomerService
 if I get 0 accounts, I go for CustomerService
 i have handled he exception of NO_ADS_USER

 But the exception above is persistent! 



 Below are the logs I get

 Exception occurred: AdwordsApi::V201302::CustomerService::ApiException
 [AuthorizationError.USER_PERMISSION_DENIED @ ; trigger:'null']



 and customer id isnt the issue as I try to get the customer if of logged 
 in user


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

--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: troubles with Google.AdWords.Examples.CSharp.OAuth

2013-09-26 Thread Takeshi Hagikura (AdWords API Team)
Hi,

Did you update the OAuth2 section in your Web.config?

Best,
- Takeshi, AdWords API Team

On Wednesday, September 25, 2013 12:05:43 AM UTC+9, Taras Tener wrote:

 I've selected default.aspx as a start page,then i enter client ID and 
 press Get campaings
 and always receive

  Failed to get campaigns. Exception says OAuth provider cannot be null 
 when selecting Authorization method as OAuth.


 What am i doing wrong?
 I have refresh token,oauth client id,secret and all the others keys.



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

--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: CAMPAIGN_NEGATIVE_KEYWORDS_PERFORMANCE_REPORT: how to get campaign negative keywords that existed in the past?

2013-09-26 Thread Oliver
You simply can't.  Historical structural data can not be retrieved.

Oliver


On Wednesday, September 25, 2013 6:00:19 PM UTC+1, Julian Khandros wrote:

 How can I can campaign-level negative keywords from 
 the CAMPAIGN_NEGATIVE_KEYWORDS_PERFORMANCE_REPORT that existed on a certain 
 past day?  When a custom date range is included in the report request 
 (ReportDefinitionDateRangeType.CUSTOM_DATE), then we get 
 FILTER_BY_DATE_RANGE_NOT_SUPPORTED. 
  So how can we obtain the campaign-level negative keywords that existed on 
 a given campaign in the past using this or any other report?

 Thanks in advance for your help!

 Julian


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

--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: MCC Billing information tab missing?

2013-09-26 Thread Paul Matthews (AdWords API Team)
Hi there,

Please can you report this in the AdWords My Client Center 
interfacehttp://www.google.com/adwords/myclientcenter/, 
as they'll be able to help you with this issue. This forum only handles API 
related queries.

Regards,

- Paul, AdWords API Team.

On Tuesday, 24 September 2013 02:43:21 UTC+1, ipebbles.ipeb...@gmail.com 
wrote:

 This happens in both my main MCC account and my MCC test account. The 
 billing tab is missing.  I can only reach it once when I apply for the APK 
 developer key via the My Account-AdWords API Center.  After it confirms 
 the card, I can no longer find out how to access billing.  Also, If for 
 some reason I left the page without filling out the billing, I could never 
 come back to fill in the billing (this happened with several other test 
 accounts I tried to create).  Can anyone clarify?


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

--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [KeywordPerformance v201109] Unexplainable Authorization: User permission denied

2013-09-26 Thread Paul Matthews (AdWords API Team)
Hi Bhavesh,

We believe we fixed this issue in the past. If you are seeing this problem 
again, please can you file a bug in the dotnet 
libraryhttps://code.google.com/p/google-api-adwords-dotnet/issues/list. 
This will help to ensure we have all the relevant information required to 
fix the bug.

Regards,

- Paul, AdWords API Team.

On Tuesday, 24 September 2013 06:39:34 UTC+1, bhavesh thakker wrote:

 facing the same issue. Sometimes it works and sometimes it doesnt. Please 
 let me knw if there is any proper solution for the same

 On Tuesday, January 31, 2012 8:28:54 PM UTC+5:30, AdWhiz wrote:

 Hi All, 

 I get this error for some specific customer/day combinations (no error 
 on other cases): 

 Report contents are invalid. - !!!2|||-1|||eye3 title='Authorization: 
 User permission denied'/ AuthorizationError.USER_PERMISSION_DENIED 
 @ ??? 

 Error is always the same with different customer IDs/days. 

 I suspect bad generated report by .NET client library (I am using most 
 recent version, updated yesterday) OR corrupted report downloaded from 
 Google AdWords API servers (it would not be the 1st time). 

 Can you offer any advice/insight on this specific issue? 

 Thanks in advance. 

 Kind regards, 
 -- 
   Giuseppe 



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

--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Ignoring errors in a bulk mutate

2013-09-26 Thread Paul Matthews (AdWords API Team)
Hi Lee,

The feature you're describing is called partial 
failurehttps://developers.google.com/adwords/api/docs/headers#partialFailure. 
For a general description, please see the best practices 
pagehttps://developers.google.com/adwords/api/docs/guides/bestpractices#partial_failure
.

Regards,

- Paul, AdWords API Team.

On Wednesday, 25 September 2013 14:50:59 UTC+1, Lee Wakefield wrote:

 Hi, just wondering, if I do a bulk update, such as updating 1000 ads in a 
 single mutate, is there anyway I can make it so that if any of the updates 
 fail, the rest still succeed?  I would much rather use a single bulk mutate 
 rather than 1000 separate mutates as a single mutate seems much faster.   I 
 can then handle and process any errors from the response object.  Google 
 seems to throw randem and almost unavoidable errors, for example one of my 
 bulk updates I tried, Google thought that one of my products (some Oakley 
 Radar path sunglasses) was an illegal traffic device and thus caused the 
 entire update to fail.

 Many thanks, lee


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

--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Error while getting Detination URL report

2013-09-26 Thread shobha . procentris
Hi,

I am trying to fetch Destination URL report for a client using Adwords APi 
v201302 as well as from the 'Client Reporting' section in Adwords. But I am 
not getting the report.

I executed the report for a duration of 2013-07-01 to 2013-09-24 using both 
the methods. Sometimes, I get error ERROR_GETTING_RESPONSE_FROM_BACKEND and 
sometime no error is returned and no data is received from API.

Here, is the code snippet for the same :
$params['reportFields'] = array('CampaignId', 'EffectiveDestinationUrl', 
'Impressions');// edit
$params['customerId'] = $adwordsCustomerId;
$params['reportName'] = 'Destination URL Report';
$params['startDate'] = '2013-09-01';//edit
$params['endDate'] = '2013-07-01';
$params['dateRangeType'] = 'CUSTOM_DATE';
$params['reportType'] = 'DESTINATION_URL_REPORT';
$params['campaignStatusValue'] = array('ACTIVE','PAUSED');
$params['downloadFormat'] = 'GZIPPED_CSV';
$params['includeZeroImpressions'] = TRUE;
$params['getFileName'] = TRUE;
$d = $adwords-getReport($params);

Can you please let me know if there is some issue with the Destination URL 
report? If not what can be the reason behind this?

Thanks,
Shobha

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

--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: CAMPAIGN_NEGATIVE_KEYWORDS_PERFORMANCE_REPORT: how to get campaign negative keywords that existed in the past?

2013-09-26 Thread Julian Khandros
Thanks for clarifying, Oliver.

On Thursday, September 26, 2013 4:06:10 AM UTC-4, Oliver wrote:

 You simply can't.  Historical structural data can not be retrieved.

 Oliver


 On Wednesday, September 25, 2013 6:00:19 PM UTC+1, Julian Khandros wrote:

 How can I can campaign-level negative keywords from 
 the CAMPAIGN_NEGATIVE_KEYWORDS_PERFORMANCE_REPORT that existed on a certain 
 past day?  When a custom date range is included in the report request 
 (ReportDefinitionDateRangeType.CUSTOM_DATE), then we get 
 FILTER_BY_DATE_RANGE_NOT_SUPPORTED. 
  So how can we obtain the campaign-level negative keywords that existed on 
 a given campaign in the past using this or any other report?

 Thanks in advance for your help!

 Julian



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

--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Receiving duplicate rows in Ad Group negative keyword report

2013-09-26 Thread Peter Kingswell
Hi,

I'm downloading the report with the code below and am receiving multiple 
copies of the same row e.g. 

Campaign ID Keyword ID Match type Keyword
 47980415 10580922 Broad styling product  47980415 10580922 Broad styling 
product  47980415 10580922 Broad styling product  47980415 10580922 Broad 
styling 
product 
AFAIK I'm not using any segmenting fields so I don't know why I'm getting 
these duplicates.  In fact, I'm downloading only Attribute fields which I 
gather are the least likely to segment a report.  If anyone could shed any 
light, it would be most appreciated.  For completeness, the code below is 
for downloading a single day's worth of negative keywords (dateRange.min == 
dateRange.max).

Thanks, Peter

...
ReportDefinition definition = new ReportDefinition();
definition.reportName = 
ADGROUP_NEGATIVE_KEYWORD_PERFORMANCE_REPORT__HIST__;
definition.reportType = 
ReportDefinitionReportType.KEYWORDS_PERFORMANCE_REPORT;
definition.downloadFormat = DownloadFormat.CSV;
definition.includeZeroImpressions = true;

definition.dateRangeType = ReportDefinitionDateRangeType.CUSTOM_DATE;

Selector selector = new Selector();
selector.dateRange = new DateRange();
selector.dateRange.min = ((DateTime)baseDate).ToString(MMdd, 
System.Globalization.CultureInfo.GetCultureInfo(en-US));
selector.dateRange.max = selector.dateRange.min;

Predicate negativeOnly = new Predicate();
negativeOnly.field = IsNegative;
negativeOnly.@operator = PredicateOperator.IN;
negativeOnly.values = new string[] { TRUE };
selector.predicates = new Predicate[] { negativeOnly };

selector.fields = new string[] { KeywordText, 
CampaignId, Id, KeywordMatchType }; 

definition.selector = selector;
...

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

--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


RMF C.115: Creating Campaigns with Conversion Optimizer bidding scheme

2013-09-26 Thread oseemann
Hi!

The Required Minimum Functionality (v.020613) states that supporting the 
Conversion Optimizer bidding scheme is required for campaign creation (item 
number C.115).

However, the API does not allow creating campaigns with the Conversion 
Optimizer bidding scheme. It will fail with 
CANNOT_CREATE_CAMPAIGN_WITH_CONVERSION_OPTIMIZER. Also, it seems campaigns 
need to become eligible for that bidding scheme first (i.e. accumulate 
conversions) before it can be switched.
It appears that RMF and API implementation are in conflict. Can you give 
advise on how to solve this?
(I already asked the policy team, they directed me to this forum).


Best regards,
Oliver

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

--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


impressions clicks bug - clicktype headline

2013-09-26 Thread iateadonut

Clicks for an ad appears to be taken from all clicktypes, while impressions 
appears to be taken from only clicktype='Headline'.

At our company, we do daily downloads of all ads and put that into a 
database table, adw_ads.

Notice in the attached png,
clicks = 267
impressions = 2659

However, notice the queries from our database (final day on this is sept 
25, 2013):

mysql select sum(impressions), sum(clicks) from adw_ads where Id = 
34639644706 and clickType='Headline';
+--+-+
| sum(impressions) | sum(clicks) |
+--+-+
| 2659 | 174 |
+--+-+
1 row in set (0.00 sec)

mysql select sum(impressions), sum(clicks) from adw_ads where Id = 
34639644706;
+--+-+
| sum(impressions) | sum(clicks) |
+--+-+
| 5945 | 267 |
+--+-+
1 row in set (0.00 sec)


Again, when shown in the control center, the amount of clicks for an ad 
appears to be taken from all 'clickTypes', while impressions are taken only 
from clicktype='Headline'.



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

--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
attachment: bug.png

Unmarshalling Error: cvc-elt.4.2: Cannot resolve 'CampaignFeedOperation' to a type definition for element 'operations'. Why?

2013-09-26 Thread Slava
And the same happens with AdGroupFeedOperation.

I get this using MutateJobService.  I am using C# client lib v16.1.0 with 
API v201306.

What am I doing wrong?

Thanks,
Slava

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

--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.