Click performance report: custom date

2016-08-08 Thread Oscar Martinez
Hi, 

I'm trying to download Click Performance Report using a custom date. I know 
we must use a single date range and no more of 90 days from execution. But, 
if I want to download the report for July 5th (for example), how can I do 
it? I tried this (I'm using PHP):

  $reportDefinition->dateRangeType = 'CUSTOM_DATE';
  $reportDefinition->dateRange = new DateRange('20160705', '20160705');

But I get this error:
An error has occurred: Report download failed. Underlying errors are Type = 
'ReportDownloadError.INVALID_REPORT_DEFINITION_XML', Trigger = 'Invalid 
ReportDefinition Xml: cvc-complex-type.2.4.d: Invalid content was found 
starting with element 'dateRange'. No child element is expected at this 
point.', FieldPath = ''.

Thanks, 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a042e784-1daf-4473-ae8e-62d07d448d6d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Criteria Performance Report stop working since Octuber 27

2014-11-21 Thread Oscar Martinez
Hi Josh!

Yes it resolved the problem.

Thanks, 

On Thursday, November 20, 2014 9:55:58 AM UTC-6, Oscar Martinez wrote:

 Hi all, 

 I have a Marketing Report that executes different requests to different 
 API reports. We get, for example, CriteriaType (selector) from Criteria 
 Performance Report, using Id, AdGroupId and CampaignId as filters 
 (predicates). It has been working, but we realized that this report stopped 
 working in Octuber 27 (we are not getting data). We modified the report to 
 select Id and removed all the predicates, but it still empty. 

 Here is our code:
 ReportDefinition definition = new ReportDefinition();

 definition.reportName = CRITERIA_PERFORMANCE_REPORT;
 definition.reportType = 
 ReportDefinitionReportType.CRITERIA_PERFORMANCE_REPORT;
 definition.downloadFormat = DownloadFormat.XML;
 definition.dateRangeType = 
 ReportDefinitionDateRangeType.ALL_TIME;
 definition.includeZeroImpressions = true;

 // Create selector, only the criteria type field.
 Selector selector = new Selector();
 selector.fields = new string[] { CriteriaType };

 //Create the condition by keywordId, adGroupId, CampaignId
 Predicate predicate = new Predicate();
 predicate.field = Id;
 predicate.@operator = PredicateOperator.EQUALS;
 predicate.values = new string[] { keywordId };

 Predicate predicate2 = new Predicate();
 predicate2.field = AdGroupId;
 predicate2.@operator = PredicateOperator.EQUALS;
 predicate2.values = new string[] { adGroupId };

 Predicate predicate3 = new Predicate();
 predicate3.field = CampaignId;
 predicate3.@operator = PredicateOperator.EQUALS;
 predicate3.values = new string[] { campaignId };

 selector.predicates = new Predicate[] { predicate, 
 predicate2, predicate3 };

 definition.selector = selector;
 definition.includeZeroImpressions = false;

 //Apply the customer id
 (user.Config as AdWordsAppConfig).ClientCustomerId = 
 pCustomerCliendId;

 ReportUtilities utilities = new ReportUtilities(user);
 utilities.ReportVersion = v201406;
 ClientReport criteriaPerformanceReport = 
 utilities.GetClientReport(definition);

 Here is the response:

 ?xml version='1.0' encoding='UTF-8' standalone='yes'?
 report
   report-name name='CRITERIA_PERFORMANCE_REPORT'/
   date-range date='All Time'/
   table
 columns
   column name='criteriaType' display='Criteria Type'/
 /columns
   /table
 /report

 Notes: I found a thread with a similar problem, but the problem was 
 distinct, because the guy has the problem when he use Date as selector.

 Thanks, 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/91051249-099f-4075-84b2-40991a7f0b4d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Criteria Performance Report stop working since Octuber 27

2014-11-20 Thread Oscar Martinez
Hi all, 

I have a Marketing Report that executes different requests to different API 
reports. We get, for example, CriteriaType (selector) from Criteria 
Performance Report, using Id, AdGroupId and CampaignId as filters 
(predicates). It has been working, but we realized that this report stopped 
working in Octuber 27 (we are not getting data). We modified the report to 
select Id and removed all the predicates, but it still empty. 

Here is our code:
ReportDefinition definition = new ReportDefinition();

definition.reportName = CRITERIA_PERFORMANCE_REPORT;
definition.reportType = 
ReportDefinitionReportType.CRITERIA_PERFORMANCE_REPORT;
definition.downloadFormat = DownloadFormat.XML;
definition.dateRangeType = 
ReportDefinitionDateRangeType.ALL_TIME;
definition.includeZeroImpressions = true;

// Create selector, only the criteria type field.
Selector selector = new Selector();
selector.fields = new string[] { CriteriaType };

//Create the condition by keywordId, adGroupId, CampaignId
Predicate predicate = new Predicate();
predicate.field = Id;
predicate.@operator = PredicateOperator.EQUALS;
predicate.values = new string[] { keywordId };

Predicate predicate2 = new Predicate();
predicate2.field = AdGroupId;
predicate2.@operator = PredicateOperator.EQUALS;
predicate2.values = new string[] { adGroupId };

Predicate predicate3 = new Predicate();
predicate3.field = CampaignId;
predicate3.@operator = PredicateOperator.EQUALS;
predicate3.values = new string[] { campaignId };

selector.predicates = new Predicate[] { predicate, 
predicate2, predicate3 };

definition.selector = selector;
definition.includeZeroImpressions = false;

//Apply the customer id
(user.Config as AdWordsAppConfig).ClientCustomerId = 
pCustomerCliendId;

ReportUtilities utilities = new ReportUtilities(user);
utilities.ReportVersion = v201406;
ClientReport criteriaPerformanceReport = 
utilities.GetClientReport(definition);

Here is the response:

?xml version='1.0' encoding='UTF-8' standalone='yes'?
report
  report-name name='CRITERIA_PERFORMANCE_REPORT'/
  date-range date='All Time'/
  table
columns
  column name='criteriaType' display='Criteria Type'/
/columns
  /table
/report

Notes: I found a thread with a similar problem, but the problem was 
distinct, because the guy has the problem when he use Date as selector.

Thanks, 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/9249150c-5675-4036-be9d-14dd01a48819%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Criteria Performance Report stop working since Octuber 27

2014-11-20 Thread Oscar Martinez
Hi Josh, 

You can try with: 21831951 and 128445621

On Thursday, November 20, 2014 9:55:58 AM UTC-6, Oscar Martinez wrote:

 Hi all, 

 I have a Marketing Report that executes different requests to different 
 API reports. We get, for example, CriteriaType (selector) from Criteria 
 Performance Report, using Id, AdGroupId and CampaignId as filters 
 (predicates). It has been working, but we realized that this report stopped 
 working in Octuber 27 (we are not getting data). We modified the report to 
 select Id and removed all the predicates, but it still empty. 

 Here is our code:
 ReportDefinition definition = new ReportDefinition();

 definition.reportName = CRITERIA_PERFORMANCE_REPORT;
 definition.reportType = 
 ReportDefinitionReportType.CRITERIA_PERFORMANCE_REPORT;
 definition.downloadFormat = DownloadFormat.XML;
 definition.dateRangeType = 
 ReportDefinitionDateRangeType.ALL_TIME;
 definition.includeZeroImpressions = true;

 // Create selector, only the criteria type field.
 Selector selector = new Selector();
 selector.fields = new string[] { CriteriaType };

 //Create the condition by keywordId, adGroupId, CampaignId
 Predicate predicate = new Predicate();
 predicate.field = Id;
 predicate.@operator = PredicateOperator.EQUALS;
 predicate.values = new string[] { keywordId };

 Predicate predicate2 = new Predicate();
 predicate2.field = AdGroupId;
 predicate2.@operator = PredicateOperator.EQUALS;
 predicate2.values = new string[] { adGroupId };

 Predicate predicate3 = new Predicate();
 predicate3.field = CampaignId;
 predicate3.@operator = PredicateOperator.EQUALS;
 predicate3.values = new string[] { campaignId };

 selector.predicates = new Predicate[] { predicate, 
 predicate2, predicate3 };

 definition.selector = selector;
 definition.includeZeroImpressions = false;

 //Apply the customer id
 (user.Config as AdWordsAppConfig).ClientCustomerId = 
 pCustomerCliendId;

 ReportUtilities utilities = new ReportUtilities(user);
 utilities.ReportVersion = v201406;
 ClientReport criteriaPerformanceReport = 
 utilities.GetClientReport(definition);

 Here is the response:

 ?xml version='1.0' encoding='UTF-8' standalone='yes'?
 report
   report-name name='CRITERIA_PERFORMANCE_REPORT'/
   date-range date='All Time'/
   table
 columns
   column name='criteriaType' display='Criteria Type'/
 /columns
   /table
 /report

 Notes: I found a thread with a similar problem, but the problem was 
 distinct, because the guy has the problem when he use Date as selector.

 Thanks, 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/356e1301-2250-4497-9cfb-87a97dfe4a3f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to create in API report some specific Keywords filters

2014-09-24 Thread Oscar Martinez
Hi, 

Seeing the data gotten from the API Keyword Report, I have a discrepancy of 
Converted Click between Keywords Report gotten from the AdWords Website 
Keywords Report and API Report. I think the problem is related with some 
filters set in the Website. Those filters are:

- Keywords Below first page bid
- Good quality but low traffic keywords
- All enabled keywords
- All non active keywords

The problem is that we don't find how to set them in API Report.

Thank you, 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ab129b24-87f4-436c-83e5-1897282ef4a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Get Revenue PPC Report from API

2014-09-03 Thread Oscar Martinez
Hi Josh, 

Thank you. The report that we need is Keyword Report.

But now we have a new problem, because some columns' values are different 
of the results exported in AdWords, but curiously we have a difference of 1 
million. For example Avg-CPC, Cost, Cost/conv we can have something like 
233 in API Report and 2.3 in AdWords Report.

Thank you, 

On Friday, August 29, 2014 12:42:02 PM UTC-6, Oscar Martinez wrote:

 Hi,

 I would like to know if it's possible to get the Revenue PPC Report from 
 API. In this moment the person in charge need to login into AdWords and 
 export it from there. But it would be useful to get it programatically 
 through AdWords API.

 I have seen the reports list, but I haven't found what report is the 
 Revenue PPC.

 Thank you, 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ecda538e-6bea-4215-849a-7425e3a1262d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Get Revenue PPC Report from API

2014-09-03 Thread Oscar Martinez
Thank you, it's clear.

Kind regards, 

On Friday, August 29, 2014 12:42:02 PM UTC-6, Oscar Martinez wrote:

 Hi,

 I would like to know if it's possible to get the Revenue PPC Report from 
 API. In this moment the person in charge need to login into AdWords and 
 export it from there. But it would be useful to get it programatically 
 through AdWords API.

 I have seen the reports list, but I haven't found what report is the 
 Revenue PPC.

 Thank you, 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/83bf722c-42cc-4ee2-a255-877da445d119%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


IP Range for AdWords API (.Net Library)

2014-09-03 Thread Oscar Martinez
Hi, 

One of the last things that I need to know. We know we should open the 443 
port to have API connection working, using .Net Library. Is it possible to 
know the possible IPs to open that port only to those IPs? We saw that it 
doesn't use the same IP always.

Thank you, 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/66b1f3f5-7e78-43ff-88bb-2143b88ff4f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Keyword ID with no information in Keywords Performance Report

2014-08-29 Thread Oscar Martinez M.
Hi Josh,

Thank you for the information. Now it's clear. I'm not sure what is an User
List and I'm not sure if we need to retrieve information from it. I will
ask to marketing person, he should know.

Thank you for your help.


2014-08-29 6:53 GMT-06:00 Josh Radcliff (AdWords API Team) 
adwordsapiadvisor+j...@google.com:

 Hi Oscar,

 Thanks for sending the info. The criteria ID you provided from the Click
 Performance Report is for a *UserList* criterion. You can see this is if
 you add the *CriteriaType* column to the Criteria Performance Report
 https://developers.google.com/adwords/api/docs/appendix/reports#criteria and
 filter by (criterion) ID:

 SELECT Date, CampaignId, AdGroupId,* Id, CriteriaType* FROM
 CRITERIA_PERFORMANCE_REPORT WHERE *Id = xxx* DURING 20140827,20140827

 Keyword ID  Criteria Type  Impressions
 789...  User List  6233

 The reason the *Click Performance Report* and the *Criteria Performance
 Report* both return this criterion ID instead of a keyword ID is that
 these reports are both single attribution reports
 https://developers.google.com/adwords/api/docs/guides/reporting-concepts#single,
 so AdWords picks the most relevant criterion for each impression on those
 reports. Impressions in a *Display Network* campaign can be triggered by
 various criteria, not just keywords, which is why the API offers criterion
 type-specific reports such as the *Display Keywords Performance Report*,
 the *Age Range Performance Report*, etc.

 For user lists, there's the Audience Performance Report
 https://developers.google.com/adwords/api/docs/appendix/reports#audience,
 which returns the following for your campaign and ad group for that day.

 AudienceImpressions
 boomuserlist::6978660   179
 boomuserlist::8113860   6233
 boomuserlist::8113980   28
 Total   6440

 So for you particular use case, you'll have to keep in mind that the
 *CriteriaId* returned in the *Click Performance Report* is not going to
 always be for a keyword. To determine the type of criteria, you could:

1. Run the *Click Performance Report* and capture the *CriteriaId*
2. Run a *Criteria Performance Report*, filtered by your *CampaignId,
AdGroupId, *and *Id* (criterion), and include *CriteriaType* in the
list of selected fields. This report should use the same single attribution
logic as the *Click Performance Report*.
3. For each *Id/CriteriaType* pair returned in step 2, run the multiple
attribution report

 https://developers.google.com/adwords/api/docs/guides/reporting-concepts#multiple
  that
corresponds to the *CriteriaType* to gather more criterion
type-specific information, if desired.

 Cheers,
 Josh, AdWords API Team

 On Thursday, August 28, 2014 3:07:36 PM UTC-4, Oscar Martinez wrote:

 Hi Josh,

 I sent you privately the information of the Google Click ID, Campaign
 ID, Ad group ID, Keyword ID.

 Thank you,

 On Thursday, August 28, 2014 11:07:14 AM UTC-6, Oscar Martinez wrote:

 Hi,

 We are creating a small report for my company. We need to get Campaign
 Name, AdGroup Name and Keywords for a gclid. We have these steps:

 1. Capture and save gclid.
 2. CLICK_PERFORMANCE_REPORT to get CampaignId, AdGroupId and CriteriaId
 (Keyword ID) filtering by gclid and DateRange=TODAY (or Yesterday, if we
 saved the gclid yesterday).
 3. KEYWORD_PERFORMANCE_REPORT to get KeywordText, CampaignName and
 AdGroupName, filtering by Id (Keyword ID) and DateRange=ALL_TIME.

 If we test using gclid from today, we get data on steps 2 and 3 (Good).
 If we test using gclid from yesterday we get results only on step 2, but
 step 3 is empty (Bad).
 We have 2 saved gclid from today and 1 saved gclid from yesterday. I can
 post the gclid information, but I'm not sure if it's a good idea to do it
 public.

 Pdata: The documentation in spanish is different to english version. In
 spanish we don't have the Click Report. We had to use a browser in English
 to see it.

 Thank you,

  --
 --
 =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 Also find us on our blog and Google+:
 https://googleadsdeveloper.blogspot.com/
 https://plus.google.com/+GoogleAdsDevelopers/posts
 =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

 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 a topic in the
 Google Groups AdWords API Forum group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/adwords-api/fYd0H1KW98A/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 adwords-api+unsubscr...@googlegroups.com.
 Visit this group at http://groups.google.com/group/adwords

Get Revenue PPC Report from API

2014-08-29 Thread Oscar Martinez
Hi,

I would like to know if it's possible to get the Revenue PPC Report from 
API. In this moment the person in charge need to login into AdWords and 
export it from there. But it would be useful to get it programatically 
through AdWords API.

I have seen the reports list, but I haven't found what report is the 
Revenue PPC.

Thank you, 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/bb0858ef-9288-4dfe-b7a0-f3efbc49a7c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Keyword ID with no information in Keywords Performance Report

2014-08-28 Thread Oscar Martinez
Hi, 

We are creating a small report for my company. We need to get Campaign 
Name, AdGroup Name and Keywords for a gclid. We have these steps:

1. Capture and save gclid.
2. CLICK_PERFORMANCE_REPORT to get CampaignId, AdGroupId and CriteriaId 
(Keyword ID) filtering by gclid and DateRange=TODAY (or Yesterday, if we 
saved the gclid yesterday).
3. KEYWORD_PERFORMANCE_REPORT to get KeywordText, CampaignName and 
AdGroupName, filtering by Id (Keyword ID) and DateRange=ALL_TIME.

If we test using gclid from today, we get data on steps 2 and 3 (Good). If 
we test using gclid from yesterday we get results only on step 2, but step 
3 is empty (Bad).
We have 2 saved gclid from today and 1 saved gclid from yesterday. I can 
post the gclid information, but I'm not sure if it's a good idea to do it 
public.

Pdata: The documentation in spanish is different to english version. In 
spanish we don't have the Click Report. We had to use a browser in English 
to see it.

Thank you, 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/26114fab-306f-463f-9f11-3186b3b7df3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Keyword ID with no information in Keywords Performance Report

2014-08-28 Thread Oscar Martinez
Update. We tested using a gclid saved on 08/19/2014 and using a gclid saved 
on 08/26/2014 and they work. So, I believe the problem is with an specific 
gclid. Why? That's the question.

Kind regards, 

On Thursday, August 28, 2014 11:07:14 AM UTC-6, Oscar Martinez wrote:

 Hi, 

 We are creating a small report for my company. We need to get Campaign 
 Name, AdGroup Name and Keywords for a gclid. We have these steps:

 1. Capture and save gclid.
 2. CLICK_PERFORMANCE_REPORT to get CampaignId, AdGroupId and CriteriaId 
 (Keyword ID) filtering by gclid and DateRange=TODAY (or Yesterday, if we 
 saved the gclid yesterday).
 3. KEYWORD_PERFORMANCE_REPORT to get KeywordText, CampaignName and 
 AdGroupName, filtering by Id (Keyword ID) and DateRange=ALL_TIME.

 If we test using gclid from today, we get data on steps 2 and 3 (Good). If 
 we test using gclid from yesterday we get results only on step 2, but step 
 3 is empty (Bad).
 We have 2 saved gclid from today and 1 saved gclid from yesterday. I can 
 post the gclid information, but I'm not sure if it's a good idea to do it 
 public.

 Pdata: The documentation in spanish is different to english version. In 
 spanish we don't have the Click Report. We had to use a browser in English 
 to see it.

 Thank you, 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8bdae22d-d1e7-432b-b2f6-34dd795a1933%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Keyword ID with no information in Keywords Performance Report

2014-08-28 Thread Oscar Martinez

   
   1. *If you re-run the Click Performance Report for its date, do you 
   still get it back? I ask because it may be that the click was deemed 
   invalid and was therefore removed, although I admit that doesn't tell us 
   much about why the criterion ID returned doesn't have a match in the 
   Keywords Performance Report.*

The gclid returns data, but the returned Keyword ID is not found on 
Keywords Report.
If we re-run using its date, we get the same Keyword Id - Campaign Id - 
Group Id combination, for that reason, we don't get results on Keywords 
Report for the returned Keyword ID.

   1. *Was the click for a Display campaign or a Search campaign?*

Sorry, I don't know and the Marketing person is on Vacations. And, what we 
have saved is the gclid and we don't have more information about the Ad.

   1. *Have you tried running an AdGroupCriterionService.get 
   
https://developers.google.com/adwords/api/docs/reference/v201406/AdGroupCriterionService#get
 for 
   the click's ad group without any filtering to see if you get an 
   AdGroupCriterion back with the criterion ID returned in the Click 
   Performance Report? It's possible that the criterion ID returned was for a 
   different criterion type than Keyword.*

We did it. If we don't have filters for click report we get the same 
combination of Keyword Id - Campaign Id - Group Id. And if we get the 
Keywords Report without filters, we get a lot of results, but not the 
Keyword ID that we are looking for.

Thank you, 


On Thursday, August 28, 2014 11:07:14 AM UTC-6, Oscar Martinez wrote:

 Hi, 

 We are creating a small report for my company. We need to get Campaign 
 Name, AdGroup Name and Keywords for a gclid. We have these steps:

 1. Capture and save gclid.
 2. CLICK_PERFORMANCE_REPORT to get CampaignId, AdGroupId and CriteriaId 
 (Keyword ID) filtering by gclid and DateRange=TODAY (or Yesterday, if we 
 saved the gclid yesterday).
 3. KEYWORD_PERFORMANCE_REPORT to get KeywordText, CampaignName and 
 AdGroupName, filtering by Id (Keyword ID) and DateRange=ALL_TIME.

 If we test using gclid from today, we get data on steps 2 and 3 (Good). If 
 we test using gclid from yesterday we get results only on step 2, but step 
 3 is empty (Bad).
 We have 2 saved gclid from today and 1 saved gclid from yesterday. I can 
 post the gclid information, but I'm not sure if it's a good idea to do it 
 public.

 Pdata: The documentation in spanish is different to english version. In 
 spanish we don't have the Click Report. We had to use a browser in English 
 to see it.

 Thank you, 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/823622d6-dca4-4ab0-89c4-5ba1cf5fa21c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Keyword ID with no information in Keywords Performance Report

2014-08-28 Thread Oscar Martinez
Hi Josh, 

I sent you privately the information of the Google Click ID, Campaign 
ID, Ad group ID, Keyword ID.

Thank you, 

On Thursday, August 28, 2014 11:07:14 AM UTC-6, Oscar Martinez wrote:

 Hi, 

 We are creating a small report for my company. We need to get Campaign 
 Name, AdGroup Name and Keywords for a gclid. We have these steps:

 1. Capture and save gclid.
 2. CLICK_PERFORMANCE_REPORT to get CampaignId, AdGroupId and CriteriaId 
 (Keyword ID) filtering by gclid and DateRange=TODAY (or Yesterday, if we 
 saved the gclid yesterday).
 3. KEYWORD_PERFORMANCE_REPORT to get KeywordText, CampaignName and 
 AdGroupName, filtering by Id (Keyword ID) and DateRange=ALL_TIME.

 If we test using gclid from today, we get data on steps 2 and 3 (Good). If 
 we test using gclid from yesterday we get results only on step 2, but step 
 3 is empty (Bad).
 We have 2 saved gclid from today and 1 saved gclid from yesterday. I can 
 post the gclid information, but I'm not sure if it's a good idea to do it 
 public.

 Pdata: The documentation in spanish is different to english version. In 
 spanish we don't have the Click Report. We had to use a browser in English 
 to see it.

 Thank you, 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/40e81ffd-425d-4081-b6a5-3e8d725925f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Trying to get information from gclid

2014-08-27 Thread Oscar Martinez
Hi, 

Following the responses, yes, we began to debug and we realized about that 
problem and yes, the exception message wasn't clear.

One more thing, if we have the request only for an specific date we could 
have a problem. Let me explain it.

1. We capture the gclid.
2. We save the gclid on database.
3. An everyday automatic task will get all the new gclid on database and 
will get the campaign information from AdWords API
4. We save the campaign information on database to create a monthly report.

But, I'm worry about not getting the campaign information based on the 
gclid, because, for example, I saved the gclid yesterday and I'm querying 
to API using TODAY as date range. I can have control about when the gclid 
was captured but I'm not sure if the capture date it's equal to real gclid 
date. It make sense?

Thank you, 

On Tuesday, August 26, 2014 2:45:10 PM UTC-6, Oscar Martinez wrote:

 Hi, 

 We are developing a little report of my company's AdWords Campaigns. We 
 capture and save the gclid and then we would like get the Keywords, 
 Campaign and Ad Group from that gclid. But we get an error:
 System.Net.WebException: Error en el servidor remoto: (400)

 One more thing, we are not sure about what kind of report should we use to 
 get that information from gclid. We believe it's CLICK_PERFORMANCE_REPORT 
 sending gclid as parameter.

 This is the code:
 ReportDefinition definition = new ReportDefinition();
 definition.reportName = Last 7 days CLICK_PERFORMANCE_REPORT;
 definition.reportType = 
 ReportDefinitionReportType.CLICK_PERFORMANCE_REPORT;
 definition.downloadFormat = DownloadFormat.XML;
 definition.dateRangeType = ReportDefinitionDateRangeType.LAST_MONTH;
 definition.includeZeroImpressions = false;
 // Create selector.
 Selector selector = new Selector();
 selector.fields = new string[] { ClickId };
 Predicate predicate = new Predicate();
 predicate.field = ClickId;
 predicate.@operator = PredicateOperator.EQUALS;
 predicate.values = new string[] { CPTLr7Po4b8CFahj7AodLX0Arg };
 selector.predicates = new Predicate[] { predicate };
 definition.selector = selector;
 definition.includeZeroImpressions = true;
 (user.Config as AdWordsAppConfig).ClientCustomerId = txtCustomerId.Text;
 string filePath = Path.GetTempFileName();
 try{
 // Set the customer id.
 (user.Config as AdWordsAppConfig).ClientCustomerId = 
 txtCustomerId.Text;
 ReportUtilities utilities = new ReportUtilities(user);
 utilities.ReportVersion = v201406;
 ClientReport report = utilities.GetClientReport(definition);
 string reportText = report.Text;
 //utilities.DownloadClientReport(definition, filePath);
 }

 Thank you, 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c938e117-2dfe-4c8f-9298-5da504743bb5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Trying to get information from gclid

2014-08-27 Thread Oscar Martinez
Hi Josh, 

Yes, I hope that today gclids will be queried today to API, but it's a good 
idea to have a plan B asking for Yesterday. This what I needed to know, 
basically what date is recorded for every glicd.

Thank you for your help.

Kind regards, 

On Tuesday, August 26, 2014 2:45:10 PM UTC-6, Oscar Martinez wrote:

 Hi, 

 We are developing a little report of my company's AdWords Campaigns. We 
 capture and save the gclid and then we would like get the Keywords, 
 Campaign and Ad Group from that gclid. But we get an error:
 System.Net.WebException: Error en el servidor remoto: (400)

 One more thing, we are not sure about what kind of report should we use to 
 get that information from gclid. We believe it's CLICK_PERFORMANCE_REPORT 
 sending gclid as parameter.

 This is the code:
 ReportDefinition definition = new ReportDefinition();
 definition.reportName = Last 7 days CLICK_PERFORMANCE_REPORT;
 definition.reportType = 
 ReportDefinitionReportType.CLICK_PERFORMANCE_REPORT;
 definition.downloadFormat = DownloadFormat.XML;
 definition.dateRangeType = ReportDefinitionDateRangeType.LAST_MONTH;
 definition.includeZeroImpressions = false;
 // Create selector.
 Selector selector = new Selector();
 selector.fields = new string[] { ClickId };
 Predicate predicate = new Predicate();
 predicate.field = ClickId;
 predicate.@operator = PredicateOperator.EQUALS;
 predicate.values = new string[] { CPTLr7Po4b8CFahj7AodLX0Arg };
 selector.predicates = new Predicate[] { predicate };
 definition.selector = selector;
 definition.includeZeroImpressions = true;
 (user.Config as AdWordsAppConfig).ClientCustomerId = txtCustomerId.Text;
 string filePath = Path.GetTempFileName();
 try{
 // Set the customer id.
 (user.Config as AdWordsAppConfig).ClientCustomerId = 
 txtCustomerId.Text;
 ReportUtilities utilities = new ReportUtilities(user);
 utilities.ReportVersion = v201406;
 ClientReport report = utilities.GetClientReport(definition);
 string reportText = report.Text;
 //utilities.DownloadClientReport(definition, filePath);
 }

 Thank you, 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/bacc3a39-dcb5-46f3-bc18-951b89c94545%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Trying to get information from gclid

2014-08-26 Thread Oscar Martinez
Hi, 

We are developing a little report of my company's AdWords Campaigns. We 
capture and save the gclid and then we would like get the Keywords, 
Campaign and Ad Group from that gclid. But we get an error:
System.Net.WebException: Error en el servidor remoto: (400)

One more thing, we are not sure about what kind of report should we use to 
get that information from gclid. We believe it's CLICK_PERFORMANCE_REPORT 
sending gclid as parameter.

This is the code:
ReportDefinition definition = new ReportDefinition();
definition.reportName = Last 7 days CLICK_PERFORMANCE_REPORT;
definition.reportType = ReportDefinitionReportType.CLICK_PERFORMANCE_REPORT;
definition.downloadFormat = DownloadFormat.XML;
definition.dateRangeType = ReportDefinitionDateRangeType.LAST_MONTH;
definition.includeZeroImpressions = false;
// Create selector.
Selector selector = new Selector();
selector.fields = new string[] { ClickId };
Predicate predicate = new Predicate();
predicate.field = ClickId;
predicate.@operator = PredicateOperator.EQUALS;
predicate.values = new string[] { CPTLr7Po4b8CFahj7AodLX0Arg };
selector.predicates = new Predicate[] { predicate };
definition.selector = selector;
definition.includeZeroImpressions = true;
(user.Config as AdWordsAppConfig).ClientCustomerId = txtCustomerId.Text;
string filePath = Path.GetTempFileName();
try{
// Set the customer id.
(user.Config as AdWordsAppConfig).ClientCustomerId = txtCustomerId.Text;
ReportUtilities utilities = new ReportUtilities(user);
utilities.ReportVersion = v201406;
ClientReport report = utilities.GetClientReport(definition);
string reportText = report.Text;
//utilities.DownloadClientReport(definition, filePath);
}

Thank you, 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e0d5887f-f517-4489-a6ea-72f87f56bf01%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Exception says An API exception has occurred. See ApiException and InnerException fields for more details.

2014-08-25 Thread Oscar Martinez
Hi Anash, 

Last Friday I sent you the information about the SOAP log. I both cases, 
Test and Production accounts, we get the same SOAP log message.

Thank you. 

On Thursday, August 21, 2014 12:59:29 PM UTC-6, Oscar Martinez wrote:

 Hi, 

 I get this error trying to get information about campaigns. I'm using one 
 of the examples of the official .Net Library.
 Looking for a similar post, I found this: 
 https://groups.google.com/forum/#!msg/adwords-api/WOlH5z4-yDs/US4ZY-4QhlwJ

 Answering what Takeshi Hagikura asked in the post reply:

 Are you using a test account or a production account? 
 Both, Production and Testing account.

 Either way, please make sure you have accepted the termsconditions for 
 AdWords API.
 Yes, I have.

 If you use a production account, please make sure you have filled in the 
 billing information.
 Yes, I have. Production MCC Developer Token is pending approval.

 Error message:
 Failed to get campaigns. Exception says An API exception has occurred. 
 See ApiException and InnerException fields for more details.

 What I get from OAuth2:
 add key='AuthorizationMethod' value='OAuth2' /
 add key='OAuth2ClientId' value='XXX' /
 add key='OAuth2ClientSecret' value='XX' /
 add key='OAuth2RefreshToken' value='XXX' /

 Thank you, 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/40ff2235-c937-414b-afd8-e9e9658b29d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Exception says An API exception has occurred. See ApiException and InnerException fields for more details.

2014-08-25 Thread Oscar Martinez
Done! I sent it by email.

On Thursday, August 21, 2014 12:59:29 PM UTC-6, Oscar Martinez wrote:

 Hi, 

 I get this error trying to get information about campaigns. I'm using one 
 of the examples of the official .Net Library.
 Looking for a similar post, I found this: 
 https://groups.google.com/forum/#!msg/adwords-api/WOlH5z4-yDs/US4ZY-4QhlwJ

 Answering what Takeshi Hagikura asked in the post reply:

 Are you using a test account or a production account? 
 Both, Production and Testing account.

 Either way, please make sure you have accepted the termsconditions for 
 AdWords API.
 Yes, I have.

 If you use a production account, please make sure you have filled in the 
 billing information.
 Yes, I have. Production MCC Developer Token is pending approval.

 Error message:
 Failed to get campaigns. Exception says An API exception has occurred. 
 See ApiException and InnerException fields for more details.

 What I get from OAuth2:
 add key='AuthorizationMethod' value='OAuth2' /
 add key='OAuth2ClientId' value='XXX' /
 add key='OAuth2ClientSecret' value='XX' /
 add key='OAuth2RefreshToken' value='XXX' /

 Thank you, 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b31c7910-36c9-49f6-9bdd-c4ad750ff14b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Exception says An API exception has occurred. See ApiException and InnerException fields for more details.

2014-08-22 Thread Oscar Martinez
Hi Ray, 

Thanks for your answer. Are you talking about regenerating the token in 
MCC? And, what account, Testing or my company's Production?

On Thursday, August 21, 2014 12:59:29 PM UTC-6, Oscar Martinez wrote:

 Hi, 

 I get this error trying to get information about campaigns. I'm using one 
 of the examples of the official .Net Library.
 Looking for a similar post, I found this: 
 https://groups.google.com/forum/#!msg/adwords-api/WOlH5z4-yDs/US4ZY-4QhlwJ

 Answering what Takeshi Hagikura asked in the post reply:

 Are you using a test account or a production account? 
 Both, Production and Testing account.

 Either way, please make sure you have accepted the termsconditions for 
 AdWords API.
 Yes, I have.

 If you use a production account, please make sure you have filled in the 
 billing information.
 Yes, I have. Production MCC Developer Token is pending approval.

 Error message:
 Failed to get campaigns. Exception says An API exception has occurred. 
 See ApiException and InnerException fields for more details.

 What I get from OAuth2:
 add key='AuthorizationMethod' value='OAuth2' /
 add key='OAuth2ClientId' value='XXX' /
 add key='OAuth2ClientSecret' value='XX' /
 add key='OAuth2RefreshToken' value='XXX' /

 Thank you, 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/bfab5060-93dd-434a-86ad-b52779f91acc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Exception says An API exception has occurred. See ApiException and InnerException fields for more details.

2014-08-22 Thread Oscar Martinez
Hi Anash, 

Yes, we followed that process to get the XML lines for web.config. I will 
the redo the process and let you know what we get.

Thank you, 

On Thursday, August 21, 2014 12:59:29 PM UTC-6, Oscar Martinez wrote:

 Hi, 

 I get this error trying to get information about campaigns. I'm using one 
 of the examples of the official .Net Library.
 Looking for a similar post, I found this: 
 https://groups.google.com/forum/#!msg/adwords-api/WOlH5z4-yDs/US4ZY-4QhlwJ

 Answering what Takeshi Hagikura asked in the post reply:

 Are you using a test account or a production account? 
 Both, Production and Testing account.

 Either way, please make sure you have accepted the termsconditions for 
 AdWords API.
 Yes, I have.

 If you use a production account, please make sure you have filled in the 
 billing information.
 Yes, I have. Production MCC Developer Token is pending approval.

 Error message:
 Failed to get campaigns. Exception says An API exception has occurred. 
 See ApiException and InnerException fields for more details.

 What I get from OAuth2:
 add key='AuthorizationMethod' value='OAuth2' /
 add key='OAuth2ClientId' value='XXX' /
 add key='OAuth2ClientSecret' value='XX' /
 add key='OAuth2RefreshToken' value='XXX' /

 Thank you, 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/77c47ca2-4664-4389-acaf-24d6add91083%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Exception says An API exception has occurred. See ApiException and InnerException fields for more details.

2014-08-22 Thread Oscar Martinez
We do it again... the result was the same error. We tried with Testing 
Account and Production Account.

Pdata: is it possible to know for this media why our Production Token 
continues being as Pending Approval?

Thank you, 

On Thursday, August 21, 2014 12:59:29 PM UTC-6, Oscar Martinez wrote:

 Hi, 

 I get this error trying to get information about campaigns. I'm using one 
 of the examples of the official .Net Library.
 Looking for a similar post, I found this: 
 https://groups.google.com/forum/#!msg/adwords-api/WOlH5z4-yDs/US4ZY-4QhlwJ

 Answering what Takeshi Hagikura asked in the post reply:

 Are you using a test account or a production account? 
 Both, Production and Testing account.

 Either way, please make sure you have accepted the termsconditions for 
 AdWords API.
 Yes, I have.

 If you use a production account, please make sure you have filled in the 
 billing information.
 Yes, I have. Production MCC Developer Token is pending approval.

 Error message:
 Failed to get campaigns. Exception says An API exception has occurred. 
 See ApiException and InnerException fields for more details.

 What I get from OAuth2:
 add key='AuthorizationMethod' value='OAuth2' /
 add key='OAuth2ClientId' value='XXX' /
 add key='OAuth2ClientSecret' value='XX' /
 add key='OAuth2RefreshToken' value='XXX' /

 Thank you, 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2a8294c6-3666-4f44-a825-6cff62411fdc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Trying to connect to AdWords API .Net

2014-08-21 Thread Oscar Martinez
Hi, 

I'm trying to connect to AdWords API using .Net Library. I'm trying to 
connect to API, but my the token of my official MCC account it's en pending 
approval, but I created a testing account and I don't get the connection 
because I need a token from OAuth2. Trying to get that token from OAuth2 I 
get an error invalid_client: The OAuth client was not found (see 
attachment).

Is something wrong in my data? (in the attachment image you can see where 
I'm taking the data)

Thank you, 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/be230e8d-3d77-4ed3-bb4c-e763cff2dfdf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Trying to access APIU AdWords: OAuth

2014-08-21 Thread Oscar Martinez
Hi, 

I'm trying to access Google AdWords Application, but I can't get the 
Refresh Token. I'm trying with an official MCC account (Token it's pending 
approval) and a Testing MCC Account. Using .Net Library I get the error 
invalid_client (see attachment). Based on other posts, I tried to create 
an app in Google Developers Console following this guide:
https://code.google.com/p/google-api-adwords-php/wiki/OAuth2

But, I don't have the My Registeres Applications option. You can see in 
attachment the error that I get trying to access OAuth and where I'm taking 
the data from (testing account)

Thank you, 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0358aad9-4524-45ca-a273-11fa1aced71c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Trying to access APIU AdWords: OAuth

2014-08-21 Thread Oscar Martinez
Sorry, I forot the attachments.

On Thursday, August 21, 2014 10:20:00 AM UTC-6, Oscar Martinez wrote:

 Hi, 

 I'm trying to access Google AdWords Application, but I can't get the 
 Refresh Token. I'm trying with an official MCC account (Token it's pending 
 approval) and a Testing MCC Account. Using .Net Library I get the error 
 invalid_client (see attachment). Based on other posts, I tried to create 
 an app in Google Developers Console following this guide:
 https://code.google.com/p/google-api-adwords-php/wiki/OAuth2

 But, I don't have the My Registeres Applications option. You can see in 
 attachment the error that I get trying to access OAuth and where I'm taking 
 the data from (testing account)

 Thank you, 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2a8a8be0-f4dc-4232-8006-72af4c1c325b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Trying to access APIU AdWords: OAuth

2014-08-21 Thread Oscar Martinez
Thanks Rai and Stacie.

Yes, I saw the error and I created the configuration for Developer Account. 
I have a progress and I got the code for the webconfig.xml. Now I get an 
exception executing an example to retrieve campaigns. But Maybe this is not 
the correct thread to post it.

Thank you, 

On Thursday, August 21, 2014 10:20:00 AM UTC-6, Oscar Martinez wrote:

 Hi, 

 I'm trying to access Google AdWords Application, but I can't get the 
 Refresh Token. I'm trying with an official MCC account (Token it's pending 
 approval) and a Testing MCC Account. Using .Net Library I get the error 
 invalid_client (see attachment). Based on other posts, I tried to create 
 an app in Google Developers Console following this guide:
 https://code.google.com/p/google-api-adwords-php/wiki/OAuth2

 But, I don't have the My Registeres Applications option. You can see in 
 attachment the error that I get trying to access OAuth and where I'm taking 
 the data from (testing account)

 Thank you, 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0e331c75-52f0-4a94-b260-0bca8c980354%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Exception says An API exception has occurred. See ApiException and InnerException fields for more details.

2014-08-21 Thread Oscar Martinez
Hi, 

I get this error trying to get information about campaigns. I'm using one 
of the examples of the official .Net Library.
Looking for a similar post, I found this: 
https://groups.google.com/forum/#!msg/adwords-api/WOlH5z4-yDs/US4ZY-4QhlwJ

Answering what Takeshi Hagikura asked in the post reply:

Are you using a test account or a production account? 
Both, Production and Testing account.

Either way, please make sure you have accepted the termsconditions for 
AdWords API.
Yes, I have.

If you use a production account, please make sure you have filled in the 
billing information.
Yes, I have. Production MCC Developer Token is pending approval.

Error message:
Failed to get campaigns. Exception says An API exception has occurred. See 
ApiException and InnerException fields for more details.

What I get from OAuth2:
add key='AuthorizationMethod' value='OAuth2' /
add key='OAuth2ClientId' value='XXX' /
add key='OAuth2ClientSecret' value='XX' /
add key='OAuth2RefreshToken' value='XXX' /

Thank you, 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/902c5868-4d6e-4ee1-a859-43295cdf06fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Exception says An API exception has occurred. See ApiException and InnerException fields for more details.

2014-08-21 Thread Oscar Martinez
More info... 

Debugging we find this error message:
[AuthorizationError.USER_PERMISSION_DENIED @ ; trigger:'null']

We find it in:
protected virtual object[] MakeApiCall(string methodName, object[] 
parameters) {
  ErrorHandler errorHandler = CreateErrorHandler();

  while (true) {
try {
  InitForCall(methodName, parameters);
  return base.Invoke(methodName, parameters);  //- Here is the 
error
 

Thanks, 

On Thursday, August 21, 2014 12:59:29 PM UTC-6, Oscar Martinez wrote:

 Hi, 

 I get this error trying to get information about campaigns. I'm using one 
 of the examples of the official .Net Library.
 Looking for a similar post, I found this: 
 https://groups.google.com/forum/#!msg/adwords-api/WOlH5z4-yDs/US4ZY-4QhlwJ

 Answering what Takeshi Hagikura asked in the post reply:

 Are you using a test account or a production account? 
 Both, Production and Testing account.

 Either way, please make sure you have accepted the termsconditions for 
 AdWords API.
 Yes, I have.

 If you use a production account, please make sure you have filled in the 
 billing information.
 Yes, I have. Production MCC Developer Token is pending approval.

 Error message:
 Failed to get campaigns. Exception says An API exception has occurred. 
 See ApiException and InnerException fields for more details.

 What I get from OAuth2:
 add key='AuthorizationMethod' value='OAuth2' /
 add key='OAuth2ClientId' value='XXX' /
 add key='OAuth2ClientSecret' value='XX' /
 add key='OAuth2RefreshToken' value='XXX' /

 Thank you, 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/fbb224ee-5ed8-4f1b-ba44-0d3f035001cc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.