Retrieve Search Query Performance Report (SEARCH_QUERY_PERFORMANCE_REPORT)

2013-03-14 Thread Sahar Rotem
Hi,

I am trying to download the Search Query Performance Report via AdWords PHP 
api.
I use the example code: DownloadDefinedReportExample.php.
What is the DownloadReport method requires a reportDefinitionId. 

Code:
 // Download report.
  ReportUtils::DownloadReport($reportDefinitionId, $filePath, $user, 
$options);
 

What should be the report id for this report.

Thanks a lot,

Sahar.



 

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




PHP GetCampaignsExample fails

2013-01-24 Thread Sahar Rotem
Hi,
I am new to PHP and Google Adwords. When I run the GetCampaignsExample I 
get the following error:
 [AuthorizationError.USER_PERMISSION_DENIED @ ; trigger:'']

Prior to running the GetCampaignExample I did the following:
1. Created an MCC acount and got a Test Acount customer id.
2. Downloaded the PHP client library 
aw_api_php_lib_3.2.2.tar.gz
3. configured
  auth.ini:

   email = "myem...@gmail.com"
   password = ""
   userAgent = "companyName"
   developerToken = "myem...@gmail.com++USD"
   clientId="test account customer id" 


  settings.ini: 
 DEFAULT_SERVER = "https://adwords.google.com";


Please advise,
Thanks a lot in advance,

Sahar.

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