Re: Which fields are available in the CLICK_PERFORMANCE_REPORT ?

2012-07-02 Thread Arthur Gerigk
I don't know how to do this without a client library. Is there a ressource 
that explains it which works with v201206 ? 

http://code.google.com/p/google-api-ads-python/wiki/AdWordsNoClientLibrary  
seems to be outdated (the wsdl2py call fails).



Am Montag, 2. Juli 2012 02:52:19 UTC+2 schrieb jstedman:
>
> Try using a ReportDefinitionService getReportFields call:
>
>
> https://developers.google.com/adwords/api/docs/reference/latest/ReportDefinitionService#getReportFields
>

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

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


How to download keyword performance report for all accounts using MCC credentials

2012-07-02 Thread sumit gupta
Hi ,

I am newbie with adwords API. I am trying to pull out keyword performance 
report for all my adwords account. I am able to do it individually using 
account credentials.

But I have around 10 accounts in my MCC and want to pull keyword 
performance report for all of them together. Is there a possible way ?

I used the example code provided in python client library.

Please suggest a way using which I can perform the above mentioned task.

Thanks a lot ,
Sumit

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

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


Re: Is Relative CTR available via API?

2012-07-02 Thread Oliver
I just noticed 'Relative CTR' was added to the Campaign and Adgroup 
reports.  This must have been a recent addition as I downloaded these 
reports about 4 weeks ago from:
https://developers.google.com/adwords/api/docs/appendix/reports

and this field wasn't there.  How does one know when these report changes 
are made? Is there any update posted somewhere?

The field, by the way, has incomplete notes. Not sure if we're meant to use 
it or not?

Oliver

On Thursday, June 21, 2012 2:53:16 PM UTC+1, Oliver wrote:
>
> Does anyone know if the field 'Relative CTR' (which is relevant to Display 
> campaigns) is available anywhere in the API? 
>
> I can't see it in any of the reports?
>
> 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


Re: Is Relative CTR available via API?

2012-07-02 Thread Oliver
As it turns out, including the field 'RelativeCtr' in the reports returns 
an error saying it's unknown. I guess it's not supported yet.  How would we 
know when it will be?



On Monday, July 2, 2012 12:16:45 PM UTC+1, Oliver wrote:
>
> I just noticed 'Relative CTR' was added to the Campaign and Adgroup 
> reports.  This must have been a recent addition as I downloaded these 
> reports about 4 weeks ago from:
> https://developers.google.com/adwords/api/docs/appendix/reports
>
> and this field wasn't there.  How does one know when these report changes 
> are made? Is there any update posted somewhere?
>
> The field, by the way, has incomplete notes. Not sure if we're meant to 
> use it or not?
>
> Oliver
>
> On Thursday, June 21, 2012 2:53:16 PM UTC+1, Oliver wrote:
>>
>> Does anyone know if the field 'Relative CTR' (which is relevant to 
>> Display campaigns) is available anywhere in the API? 
>>
>> I can't see it in any of the reports?
>>
>> 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


Re: Ad hoc report oddity - simple request but no data returned

2012-07-02 Thread Oliver
Kevin,

This is strange; when I went back this morning to generate the XML for you 
for some of the reports that kept failing last week I found they are 
actually now working (with the exception of the Account Report which you 
already mentioned).  Sorry about this but I know they were failing also for 
someone else, so it couldn't have been just an error on my side.  The 
important thing is it's all working.

Thanks

On Thursday, June 28, 2012 8:14:06 PM UTC+1, Kevin Winter wrote:
>
> Hi Oliver,
>   Can you provide an example Report Definition XML?  There are many 
> columns (which are documented on our Report Types documentation) which will 
> prevent zero impression rows from returning.  IncludeZeroImpressions=false 
> will likewise prevent this.
>
> - Kevin Winter
> AdWords API Team
>
> On Thursday, June 28, 2012 12:03:34 PM UTC-4, Oliver wrote:
>>
>> Kevin,
>>
>> As per my previous post, I'm seeing this exact behavior with all adhoc 
>> report types, not just the account one.
>>
>> Oliver
>>
>>
>> On Tuesday, May 15, 2012 4:54:01 PM UTC+1, Kevin Winter wrote:
>>>
>>> Hi,
>>>   There's a known issue where the Account Performance Report will only 
>>> return back rows for which there are impressions.  If this account has 
>>> Impressions, please add a field (such as Impressions) to your selector and 
>>> you should get results.
>>>
>>> - Kevin Winter
>>> AdWords API Team
>>>
>>> On Thursday, May 10, 2012 9:02:09 AM UTC-4, axtens wrote:

 https://adwords.google.com/api/adwords/cm/v201109";>
 
 AccountDescriptiveNameAccountId
 
 1_91_123_skinny
 ACCOUNT_PERFORMANCE_REPORT
 YESTERDAY
 TSV
 

  Amazingly, that reportDefinition, which looks legit to me, doesn't 
 return anything other than a title, fieldnames and a totals line. There's 
 nothing else provided. What do I have to add/change to get a fuller 
 response?

>>>

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

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


Re: Which fields are available in the CLICK_PERFORMANCE_REPORT ?

2012-07-02 Thread Reed
 Feed this:
 
 http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:v20="https://adwords.google.com/api/adwords/cm/v201206";>
 

   XXX
   XXX
   XXX

 
 

   CLICK_PERFORMANCE_REPORT

 
  
 
To:
https://adwords.google.com/api/adwords/cm/v201206/ReportDefinitionService
 
and you'll get this:
 # NAME DISPLAY NAME XML NAME TYPE SELECTABLE FILTERABLE ENUMERATIONS 1 Page 
Page page Integer true false  2 AdFormat Ad type adType AdFormat true true 
UNKNOWN 
 3 AdGroupCreativeId Ad ID adID Long true true  4 AdGroupId Ad group ID 
adGroupID Long true true  5 AdNetworkType1 Network network AdNetworkType1 
true true SEARCH  6 AdNetworkType2 Network (with search partners) 
networkWithSearchPartners AdNetworkType2 true true SEARCH  7 CampaignId 
Campaign 
ID campaignID Long true true  8 CityCriteriaId City city Integer true true  
9 ClickId Click Id clickId Long true true  10 ClickType Click type clickType 
ClickType true true URL_CLICKS  11 CountryCriteriaId Country/Territory 
countryTerritory Integer true true  12 CriteriaId Keyword ID keywordID Long 
true true  13 CriteriaParameters Keyword / Placement keywordPlacement String 
true true  14 Date Day day Date true true  15 MetroCriteriaId Metro area 
metroArea Integer true true  16 MonthOfYear Month of Year monthOfYear 
MonthOfYearType true true JANUARY  17 RegionCriteriaId Region region Integer 
true true  18 Slot Top vs. side topVsSide Slot true true SearchRhs 
 
 

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

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


Re: Which fields are available in the CLICK_PERFORMANCE_REPORT ?

2012-07-02 Thread jstedman
Arthur,

soapUI is an awesome tool to manually work with web services.

You can create a new project in soapUI and point it at the endpoint listed 
in the documentation for each service and it will give you a series of 
request templates for each service in xml. Then you just pick one, put in 
your request parameters, hit the play button, and you can test out 
different calls before writing any code at all.


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


OperationAccessDenied.MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT

2012-07-02 Thread mm
Hey guys -
I got this error trying to add a negative keyword to a campaign. From the 
documentation: "Attempting to modify a campaign that was created using the 
Google 
Boost Ads
 program.". The name of the campaign is of the form "Places Ads_someNumber" 
... is this a viable way to identify these campaigns? Is there any other 
way to identify these campaigns? 

Thanks a bunch -
mm

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

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


API does not return 'Google Play Android Apps' Placements

2012-07-02 Thread Ed-
Hi,

I am using the 201109 version of the API with PHP libs to download data. An 
account manager just noticed we are missing 2 campaigns in a new client, 
and it seems it has to do with the kind of placement it uses, for some 
reason API is not listing the following placements:

   - Google Play Android Apps
   - iTunes App Store
   
The campaign_id's are: 84316712 and 84317912. Acc id: 7878239577

*I need help understanding what prevents this 2 placements from showing up 
on API report. *They show normally on web interface.

Report definition states all placements should return on a criteria report 
- 
https://developers.google.com/adwords/api/docs/reference/v201109/ReportDefinitionService
CRITERIA_PERFORMANCE_REPORTReports performance data for all published 
criteria types including keywords, placements, topics, user-lists in a 
single report.




This is how I do the call:

///
$path = dirname(__FILE__) . '/../lib/adwords/src';
set_include_path(get_include_path() . PATH_SEPARATOR . $path);

// AdWords
require_once 'Google/Api/Ads/AdWords/Lib/AdWordsUser.php';
require_once 'Google/Api/Ads/AdWords/Util/ReportUtils.php';

/// selects for acc's, logins and looping in dates/

$user = new AdWordsUser(NULL, $email, $password, $developerToken, 
$applicationToken,
$userAgent, $iSeAccountId, $settingsIniPath, $authToken, $oauthInfo);

$user->LogDefaults();

$user->LoadService('ReportDefinitionService', 'v201109');

$selector = new Selector();
$selector->fields =
  array('Date', 'Id', 'Criteria', 'CampaignId', 'CampaignName',
'AdGroupId', 'AdGroupName', 'Impressions', 'AveragePosition', 
'Clicks', 'Cost', 
'Conversions', 'ConversionsManyPerClick', 'CostPerConversionManyPerClick', 
'QualityScore', 'Status', 'AdGroupStatus', 'CampaignStatus');

$reportDefinition = new ReportDefinition();

$oDateRange = new DateRange(date('Ymd', $iDtIni), date('Ymd', $iDtIni)); // 
1 day only
$reportDefinition->dateRangeType = 'CUSTOM_DATE';
$selector->dateRange = $oDateRange;

$reportDefinition->selector = $selector;
$reportDefinition->reportName = 'KW performance report #' . time();
$reportDefinition->reportType = 'CRITERIA_PERFORMANCE_REPORT';
$reportDefinition->downloadFormat = 'GZIPPED_CSV';
$reportDefinition->includeZeroImpressions = FALSE;

$path = dirname(__FILE__) . '/' . $fileName;
$options = array('version' => 'v201109', 'returnMoneyInMicros' => TRUE);

// Download report.
try {
ReportUtils::DownloadReport($reportDefinition, $path, $user, $options);
} catch (Exception $e) {
echo 'Error downloading Adwords report: '; // Usually permission
print $e->getMessage();
continue;
}
//

Thank you,
Ed

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

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


Re: URL Performance Report failing on google's end

2012-07-02 Thread ADM
Anash,

Any fix in sight? This has gone on since 19 Jun 2012, now over 12 days, and 
is critical information that we can get no other way. 

Best regards, 
ADM


On Thursday, June 28, 2012 3:04:08 AM UTC-7, Anash P. Oommen wrote:
>
> Hi Greg,
>
> This looks like an issue at our end. I've located your logs at our end and 
> asked the Reports team to investigate further. I'll update the thread once 
> I hear from them. 
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor.
>
> On Wednesday, 20 June 2012 22:16:55 UTC+5:30, GregT wrote:
>>
>> Hi,
>>
>> Starting around a day ago or so, almost all our calls to run the URL 
>> Performance Report have failed on google's end.  We are getting an HTTP 
>> status code of 500 and the message "!!!1|||-1|||Unexpected exception???". 
>>  This is happening probably for about 90% of our clients.  The other 10% or 
>> so get data returned from google, but it seems to be invalid data, where 
>> the URLs returned are actually just the domain, not the real URL where the 
>> ad was shown (as seen both by just looking at them but also when compared 
>> to what the AdWords UI shows).
>>
>> Our code to download these reports has not changed anytime recently, and 
>> our other reports that use the same code have been working fine (we also 
>> run the keyword performance and criteria performance reports daily).
>>
>> It appears maybe there is an issue (or two) on google's end?
>>
>> Thanks,
>> Greg
>>
>

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

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


Re: URL Performance Report failing on google's end

2012-07-02 Thread ADM
Greg,

Have you found any solution?  

I have not, and not appears on 28 Jun 2012 that Google (Anash) says it is 
on their end, but still nothing. 

I can be reached directly at "goo...@scienceops.com".

Best regards, 
Bryan  a.k.a. ADM


On Tuesday, June 26, 2012 8:28:43 AM UTC-7, GregT wrote:
>
> Hi, Anash.
>
> I've emailed you an example.
>
> Thanks for looking into this,
> Greg
>
> On Tuesday, June 26, 2012 4:09:16 AM UTC-5, Anash P. Oommen wrote:
>>
>> Hi,
>>
>> Could you email a failed request (developer token, clientCustomerId, 
>> report definition xml) to me (anash.p.oom...@google.com) and ping this 
>> thread? I'll check with the reports team and figure out why this request is 
>> failing.
>>
>> Cheers,
>> Anash P. Oommen,
>> AdWords API Advisor.
>>
>>
>> On Tuesday, 26 June 2012 11:54:32 UTC+5:30, ADM wrote:
>>>
>>>
>>>
>>> Greg,
>>>
>>> Have you found a solution to this issue? 
>>>
>>> Have you heard anything from any of the AdWords API staff?
>>>
>>> This is now been going on for over a week, and there seems to be 
>>> absolutely nothing happening on the Google AdWords API side, very hard to 
>>> understand. 
>>>
>>> Best regards, 
>>> ADM
>>>
>>

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