Re: Consistent ERROR_GETTING_RESPONSE_FROM_BACKEND error when getting Ad Performance Report

2013-12-02 Thread Takeshi Hagikura (AdWords API Team)
Hi Bin,

Thanks for the details.
We're looking into that. 
I'll update the thread for updates.

Best,
- Takeshi, AdWords API Team

On Tuesday, December 3, 2013 10:09:38 AM UTC+9, mailman wrote:
>
> Thank you for looking into this, Takeshi. I've replied to you privately 
> about the account number.
>
> Thanks much,
> Bin
>
> On Sunday, December 1, 2013 9:37:07 PM UTC-8, Takeshi Hagikura (AdWords 
> API Team) wrote:
>>
>> Hi Bin,
>>
>> Can you please share the account number and the exact same request XML 
>> (if possible) to narrow down the issue? 
>> (If you don't want publish it, you can "reply to the author" from the top 
>> right)
>>
>> Also let me confirm, is it still happening currently? 
>> We had the similar issue few weeks ago, but the issue has resolved. 
>>
>> Best,
>> - Takeshi, AdWords API Team
>>
>> On Thursday, November 28, 2013 3:48:18 AM UTC+9, mailman wrote:
>>>
>>> Hi,
>>>
>>> We are getting ERROR_GETTING_RESPONSE_FROM_BACKEND error consistently 
>>> for 2 days whenever we try to get an Ad Performance Report for one of our 
>>> account (using 201306 API). The account contains many Product Listing Ads.
>>>
>>> The report download request is as below. It has been always working 
>>> until 2 days ago. During the last 2 days, we tried the download several 
>>> times during different time of day and it always gets 
>>> ERROR_GETTING_RESPONSE_FROM_BACKEND.
>>>
>>> {
>>>
>>>   'reportName': 'Yesterday AD_PERFORMANCE_REPORT',
>>>
>>>   'dateRangeType': 'YESTERDAY',
>>>
>>>   'reportType': 'AD_PERFORMANCE_REPORT',
>>>
>>>   'downloadFormat': 'GZIPPED_CSV',
>>>
>>>   'selector': {
>>>
>>>   'fields': ['ExternalCustomerId', 'CampaignId', 
>>> 'CampaignStatus',
>>>
>>>  'AdGroupId', 'AdGroupStatus', 'Id', 'PromotionLine', 
>>> 'Status']
>>>
>>>   },
>>>
>>>   # Enable to get rows with zero impressions.
>>>
>>>   'includeZeroImpressions': 'true'
>>>
>>>   }
>>> Could someone help figuring out why it stopped working? I can share the 
>>> account number if it helps investigation.
>>>
>>> Thanks much,
>>> Bin
>>>
>>>

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

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


Re: How do I set custom date range when downloading reports using adwords API PHP client library.

2013-12-02 Thread jaison . directi
Thanks Josh. Setting the dateRange solved the issue.

On Monday, December 2, 2013 12:00:10 PM UTC-8, Josh Radcliff (AdWords API 
Team) wrote:
>
> Hi,
>
> You can achieve this by setting the dateRange attribute of your selector 
> to a DateRange with the desired min and max dates.
>
> Cheers,
> Josh, AdWords API Team
>
> On Friday, November 29, 2013 8:37:07 AM UTC-5, jaison@gmail.com wrote:
>>
>> I am using adwords PHP client library for my application. I want to to 
>> download reports for a custom date range and do not know the right 
>> parameters used to set the dates.
>>
>> Following is the code I'm currently using:
>>
>>
>> $reportFileName = DS . 'AdPerformanceReport_dated.csv';
>> $reportType = 'AD_PERFORMANCE_REPORT';
>> $filePath = dirname(__FILE__) . $reportFileName;
>> $user = new AdWordsUser();
>>
>> $user->LogAll();
>> $user->SetClientCustomerId($adwordClientId);
>> $user->LoadService('ReportDefinitionService', ADWORDS_VERSION);
>>
>> $selector = new Selector();
>> $selector->fields = $reportFields[$reportType];
>>
>> // Create report definition.
>> $reportDefinition  = new 
>> ReportDefinition();
>> $reportDefinition->selector= $selector;
>> $reportDefinition->reportName   = 'Ad performance report';
>> $reportDefinition->dateRangeType = 'CUSTOM_DATE';
>> $reportDefinition->reportType= $reportType;
>> $reportDefinition->downloadFormat   = 'CSV';
>> $reportDefinition->includeZeroImpressions = FALSE;
>>
>> $options = array('version' => ADWORDS_VERSION);
>>
>> // Download report.
>> ReportUtils::DownloadReport($reportDefinition, $filePath, $user, 
>> $options);
>>
>>
>> I hope someone can tell me what are the right parameters to set dates.
>>
>>

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

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


Re: Missing TARGETED_MONTHLY_SEARCHES from response

2013-12-02 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Checked with the relevant engineer. It's expected. 

When you query STATS, the backend doesn't have the stat for the exact same 
keyword (holiday kephalona greece in this case) so nothing is returned.
(if you query the keyword that has the stats, you should get the results)

If you query IDEAS, you get ideas for related keywords, so you should get 
results. 

Best,
- Takeshi, AdWords API Team

On Monday, December 2, 2013 8:02:20 PM UTC+9, PPC London wrote:
>
> Thanks Takeshi
> Please update us once it is solved
> Thanks
>
> On Monday, December 2, 2013 7:12:35 AM UTC, Takeshi Hagikura (AdWords API 
> Team) wrote:
>>
>> Hi, 
>>
>> Thanks, I'm able to reproduce it as well. 
>>
>> I think it's an unexpected behavior. 
>> I'm escalating it to the relevant engineer. 
>>
>> Best,
>> - Takeshi, AdWords API Team
>>
>> On Friday, November 29, 2013 8:01:12 PM UTC+9, PPC London wrote:
>>>
>>> Hi Takeshi 
>>>
>>> Just had a closer look at your request 
>>> you are doing 
>>> IDEAS
>>> but I am doing 
>>> STATS
>>>
>>> I am doing STATS because I want stats for given keyword
>>>
>>> IDEAS will return other related similar keywords with their stats
>>>
>>> so the 12 months volumes you see are for some related keyword but not 
>>> the actual one in request
>>>
>>> Thanks
>>>
>>>
>>> On Friday, November 29, 2013 6:45:43 AM UTC, Takeshi Hagikura (AdWords 
>>> API Team) wrote:

 Hi everyone, 

 Thanks for the report. 
 Just to make sure, is it still reproducible?

 I tried the following request and I got the monthly values (12 values) 
 for each keyword. 

 
 http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="
 http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
 http://www.w3.org/2001/XMLSchema-instance";>
   
 http://schemas.xmlsoap.org/soap/actor/next"; soapenv:mustUnderstand="0" 
 xmlns:ns1="https://adwords.google.com/api/adwords/o/v201309";>
   https://adwords.google.com/api/adwords/cm/v201309
 ">**
   https://adwords.google.com/api/adwords/cm/v201309";>** 
 
   https://adwords.google.com/api/adwords/cm/v201309
 ">***
   https://adwords.google.com/api/adwords/cm/v201309";>user 
 agent
   https://adwords.google.com/api/adwords/cm/v201309
 ">false
   https://adwords.google.com/api/adwords/cm/v201309
 ">false
 
   
   
 https://adwords.google.com/api/adwords/o/v201309";>
   
 >>> xmlns:ns8="https://adwords.google.com/api/adwords/o/v201309";>
   holiday kephalona greece
 
 >>> xmlns:ns9="https://adwords.google.com/api/adwords/o/v201309";>
   
 https://adwords.google.com/api/adwords/cm/v201309";>2826
   
 
 >>> xmlns:ns11="https://adwords.google.com/api/adwords/o/v201309";>
   
 https://adwords.google.com/api/adwords/cm/v201309
 ">true
 https://adwords.google.com/api/adwords/cm/v201309
 ">false
 https://adwords.google.com/api/adwords/cm/v201309
 ">false
 https://adwords.google.com/api/adwords/cm/v201309
 ">false
   
 
 KEYWORD
 IDEAS
 KEYWORD_TEXT
 SEARCH_VOLUME
 
 TARGETED_MONTHLY_SEARCHES
 COMPETITION
 
 EXTRACTED_FROM_WEBPAGE
 
   https://adwords.google.com/api/adwords/cm/v201309";>0
   https://adwords.google.com/api/adwords/cm/v201309
 ">10
 
   
 
   
   

 Best,
 - Takeshi, AdWords API Team

 On Thursday, November 28, 2013 9:24:18 PM UTC+9, PPC London wrote:
>
>
> Thanks Marius
> Good to know that it is not just us.
>
> On Thursday, November 28, 2013 11:46:24 AM UTC, Marius-Eugen Gerdan 
> wrote:
>>
>> you are not alone. we also have this issue. it seems to have to do 
>> with some keywords in the call. if you split the calls into multiple 
>> calls 
>> with only one keyword, this works, only the keywords included, that have 
>> no 
>> search volume will be affected. this is clearly a bug. please fix this 
>> urgent.
>>
>> Am Donnerstag, 28. November 2013 11:01:25 UTC+1 schrieb PPC London:
>>>
>>> Is it just us, or anyone else also seen this behavior?
>>> Its urgent please...
>>>
>>> On Wednesday, November 27, 2013 12:07:16 PM UTC, PPC London wrote:

 Even SEARCH_VOLUME and COMPETITION are missing from response

>>>

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

You received this message because you are subscribed to the Googl

Re: Placement Performance Report with mobileapp performance

2013-12-02 Thread Takeshi Hagikura (AdWords API Team)
Thanks Brandon,

I looked into it further. The mobile app placements are not represented as 
a Placement, but a MobileApp criterion. The parameters of such placements 
begin with "mobileapp::".
The Url Performance 
Reportcan 
provide that information. 

Best,
- Takeshi, 

On Monday, December 2, 2013 6:43:53 PM UTC+9, Brandon wrote:
>
> Hi Takeshi,
>
> Thanks for your replying.
> The results could be downloaded here:
>
> Automatic placement preformance
>
> https://drive.google.com/file/d/0Bw03qlsABJ1YZ1huOVR3UkhaaGc/edit?usp=sharing
>
> Placement performance
>
> https://drive.google.com/file/d/0Bw03qlsABJ1YbWJsbkJJU2tIMWc/edit?usp=sharing
>
>
> And the request is as follows:
>
> https://adwords.google.com/api/adwords/cm/v201309
> ">
> 
> DisplayName
> Clicks
> Impressions
> Ctr
> AverageCpc
> AverageCpm
> Conversions
> ConversionsManyPerClick
> ConversionRate
> ConversionRateManyPerClick
> Cost
> CostPerConversion
> CostPerConversionManyPerClick
> 
> 20130819
> 20131122
> 
> 
> Test Report
> PLACEMENT_PERFORMANCE_REPORT
> CUSTOM_DATE
> XML
> false
> 
>
> I was using the same filter to download these two reports(only the 
> "reportType" are different).
> In my consider, it should be totally the same after I aggregate each other.
> But it seems like the placement performance report only include the 
> performance of sites.
> Did I make something wrong?
>
> Thanks,
>
> Brandon
>
>
> Takeshi Hagikura (AdWords API Team)於 2013年12月2日星期一UTC+8下午2時53分06秒寫道:
>>
>> Hi Brandon,
>>
>> I think placements for mobile apps were represented as in the form of 
>> {app-id}.adsenseformobileapps.com a while back. 
>> Do you have the example request and response? 
>> I'd like to make sure if it's not represented as above. 
>>
>> Best,
>> - Takeshi, AdWords API Team
>>
>> On Thursday, November 28, 2013 1:35:25 PM UTC+9, Brandon wrote:
>>>
>>> Hi,
>>>
>>> In the recently release notes we knew that we can now using Placement 
>>> Performance Report to get both Automatic Placements Performance and 
>>> Managed Placements Performance.
>>> But I can't see any mobileapp performance in this report. Why?
>>> We need to combine these two report results into one.
>>> Is there any other way to implement this feature?
>>>
>>> Thanks,
>>>
>>> Brandon
>>>
>>

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

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


Re: HTML Error 400

2013-12-02 Thread Takeshi Hagikura (AdWords API Team)
Hi Luis,

This page  is a good 
start for the PHP library.

Best,
- Takeshi, AdWords API Team

On Monday, December 2, 2013 4:29:19 PM UTC+9, Takeshi Hagikura (AdWords API 
Team) wrote:
>
> Hi Luis,
>
> The 400 error code usually means a client error. 
> Do you have the complete SOAP XML and HTTP headers? 
> If so, what happens if you send it using curl?
>
> By the way, if you don't have any specific reason you want to avoid the PHP 
> client library , I 
> strongly recommend using it. 
> It constructs the SOAP request instead of constructing it on your own.
>
> Best,
> - Takeshi, AdWords API Team
>
> On Friday, November 29, 2013 1:49:12 AM UTC+9, Luis M. Castañeda wrote:
>>
>> I wrote a PHP program to run a report using a Cron Job.
>>
>> The program was running fine but recently I started to get an error 400.
>>
>> Obviusly, I did not make any change to the code.
>>
>> Any idea why it is not running anymore?
>>
>> The request code is:
>>
>>$ch_report1 = curl_init($url_report);
>>
>>curl_setopt($ch_report1, CURLOPT_SSL_VERIFYHOST, 0);
>>
>>curl_setopt($ch_report1, CURLOPT_SSL_VERIFYPEER, 0);
>>
>>curl_setopt($ch_report1, CURLOPT_CONNECTTIMEOUT, 0);
>>
>>curl_setopt($ch_report1, CURLOPT_TIMEOUT, 600);
>>
>>curl_setopt($ch_report1, CURLOPT_POSTFIELDS, 
>> $params_report);
>>
>>curl_setopt($ch_report1, CURLOPT_HTTPHEADER, 
>> $headers_report);
>>
>>curl_setopt($ch_report1, CURLOPT_RETURNTRANSFER, true);
>>
>>$response_report1 = curl_exec($ch_report1);
>>
>>$code_report1 = curl_getinfo($ch_report1, 
>> CURLINFO_HTTP_CODE);
>>
>>curl_close($ch_report1);
>>
>> Thanks for your help,
>>
>>  
>>
>> Luis
>>
>

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

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


Re: [OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ operations[0]] with api 201309

2013-12-02 Thread Munish Kumar
HI,

I am very sorry for being so late. I am trying to create a campaign. I have 
used my test account credentials to get refresh token. I have used client 
id, secret and clientCustomerId of my test account but developer token 
belongs to my main account. Is there any thing wrong on my side?

I have attached the java file and the trace file.

On Thursday, November 21, 2013 4:10:53 PM UTC+5:30, Munish Kumar wrote:
>
> Hi, 
>
> I am using v2013 java api and its raising the exception given below. Any 
> suggestion will be appreciated. 
>
> {https://adwords.google.com/api/adwords/cm/v201309}ApiExceptionFault:[OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED
>  
> @ 
> operations[0]]ApiException  
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="OperationAccessDenied">operations[0]OperationAccessDenied.ADD_OPERATION_NOT_PERMITTEDOperationAccessDeniedADD_OPERATION_NOT_PERMITTED
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further 
details.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further 
details.
AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
 faultSubcode: 
 faultString: [OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ 
operations[0]]
 faultActor: 
 faultNode: 
 faultDetail: 

{https://adwords.google.com/api/adwords/cm/v201309}ApiExceptionFault:[OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED
 @ 
operations[0]]ApiExceptionhttp://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="OperationAccessDenied">operations[0]OperationAccessDenied.ADD_OPERATION_NOT_PERMITTEDOperationAccessDeniedADD_OPERATION_NOT_PERMITTED

[OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED @ operations[0]]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at java.lang.Class.newInstance0(Class.java:374)
at java.lang.Class.newInstance(Class.java:327)
at 
org.apache.axis.encoding.ser.BeanDeserializer.(BeanDeserializer.java:104)
at 
org.apache.axis.encoding.ser.BeanDeserializer.(BeanDeserializer.java:90)
at 
com.google.api.ads.adwords.axis.v201309.cm.ApiException.getDeserializer(ApiException.java:143)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at 
org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:154)
at 
org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:84)
at 
org.apache.axis.encoding.DeserializationContext.getDeserializer(DeserializationContext.java:464)
at 
org.apache.axis.encoding.DeserializationContext.getDeserializerForType(DeserializationContext.java:547)
at 
org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:157)
at 
org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:506)
at 
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:376)
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2717)
at 

Re: Consistent ERROR_GETTING_RESPONSE_FROM_BACKEND error when getting Ad Performance Report

2013-12-02 Thread mailman
Thank you for looking into this, Takeshi. I've replied to you privately 
about the account number.

Thanks much,
Bin

On Sunday, December 1, 2013 9:37:07 PM UTC-8, Takeshi Hagikura (AdWords API 
Team) wrote:
>
> Hi Bin,
>
> Can you please share the account number and the exact same request XML (if 
> possible) to narrow down the issue? 
> (If you don't want publish it, you can "reply to the author" from the top 
> right)
>
> Also let me confirm, is it still happening currently? 
> We had the similar issue few weeks ago, but the issue has resolved. 
>
> Best,
> - Takeshi, AdWords API Team
>
> On Thursday, November 28, 2013 3:48:18 AM UTC+9, mailman wrote:
>>
>> Hi,
>>
>> We are getting ERROR_GETTING_RESPONSE_FROM_BACKEND error consistently for 
>> 2 days whenever we try to get an Ad Performance Report for one of our 
>> account (using 201306 API). The account contains many Product Listing Ads.
>>
>> The report download request is as below. It has been always working until 
>> 2 days ago. During the last 2 days, we tried the download several times 
>> during different time of day and it always gets 
>> ERROR_GETTING_RESPONSE_FROM_BACKEND.
>>
>> {
>>
>>   'reportName': 'Yesterday AD_PERFORMANCE_REPORT',
>>
>>   'dateRangeType': 'YESTERDAY',
>>
>>   'reportType': 'AD_PERFORMANCE_REPORT',
>>
>>   'downloadFormat': 'GZIPPED_CSV',
>>
>>   'selector': {
>>
>>   'fields': ['ExternalCustomerId', 'CampaignId', 'CampaignStatus'
>> ,
>>
>>  'AdGroupId', 'AdGroupStatus', 'Id', 'PromotionLine', 
>> 'Status']
>>
>>   },
>>
>>   # Enable to get rows with zero impressions.
>>
>>   'includeZeroImpressions': 'true'
>>
>>   }
>> Could someone help figuring out why it stopped working? I can share the 
>> account number if it helps investigation.
>>
>> Thanks much,
>> Bin
>>
>>

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

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


Re: keyword id 3000004

2013-12-02 Thread GregT
Hi, Josh.

My apologies -- I posted about two different keyword performance report 
issues on the same day here, and got some of the specifics of this one 
confused with the other.  I looked through our logs to verify... the 
purpose of this particular report was to just get structure -- i.e. get the 
attributes of all keywords -- so it was run for ALL_TIME, and did not 
include anything but attribute fields -- 
namely, KeywordMatchType, KeywordText, DestinationUrl, IsNegative, 
QualityScore, MaxCpc, ApprovalStatus, AdGroupName, FirstPageCpc, Status, 
AdGroupId, and Id.  The campaign ids were what I sent over email, along 
with 23 additional campaigns - I can send those ids to you as well, if you 
need them.  Everything else should be as I posted or emailed.  

Note that the keyword with the id 304 was returned as having an active 
status (so we tried to process it and store it locally, which failed, since 
the fields like approval status, quality score, etc., did not have real 
values).  If it is deprecated, I wouldn't expect it to be returned as an 
active keyword?

Sorry for the prior wrong information.
Thanks,
Greg


On Monday, December 2, 2013 11:33:00 AM UTC-6, Josh Radcliff (AdWords API 
Team) wrote:
>
> Hi Greg,
>
> Thanks for the additional info.  Is it possible that you ran the reports 
> for *2010* instead of *2013*?  The deprecated 304 value does appear 
> on reports for that old time frame, but not after.
>
> Cheers,
> Josh, AdWords API Team
>
> On Tuesday, November 26, 2013 4:46:31 PM UTC-5, GregT wrote:
>>
>> Hi, Josh.
>>
>> Unfortunately, I don't have access to that particular account anymore, so 
>> I don't know if it's still happening.  I've sent you the customer id, 
>> campaign ids, and date range via email previously.  The rest of the info: 
>> this is for the keyword performance report, in GZIPPED_CSV format, with the 
>> fields AdGroupId, AdGroupName, AverageCpc, AveragePosition, CampaignId, 
>> CampaignName, Cost, Clicks, Impressions, Date, Id, KeywordMatchType, 
>> MaxCpc, KeywordText, AdNetworkType1, Device, QualityScore, Conversions, 
>> ConversionsManyPerClick, and TotalConvValue, with returnMoneyInMicros set 
>> to true, using v201309 of the API.  We last ran this report Nov 19 and saw 
>> this then, but haven't run it since and, as I said, can't anymore at the 
>> moment.  We probably ran the report 5 or 6 times that day, and saw it each 
>> time.
>>
>> Thanks,
>> Greg
>>
>> On Monday, November 25, 2013 9:54:25 AM UTC-6, Josh Radcliff (AdWords API 
>> Team) wrote:
>>>
>>> Hi Greg,
>>>
>>> Thanks for sending over the additional details.  I've tried to reproduce 
>>> that behavior but I'm not seeing 304 or "AutomaticKeywords" in the 
>>> results.
>>>
>>>1. Could you send over the full report definition you are using so I 
>>>can replicate the request in its entirety?
>>>2. Are you still seeing this behavior today?  If not, could you let 
>>>me know the dates when you did see this?
>>>
>>> Note that I have confirmed that 304 is not a value for any active 
>>> feature of AdWords.
>>>
>>> Thanks,
>>> Josh, AdWords API Team
>>>
>>> On Friday, November 22, 2013 4:18:18 PM UTC-5, GregT wrote:

 Hi, Josh.

 I've sent you that email.

 Thanks,
 Greg

 On Friday, November 22, 2013 1:12:56 PM UTC-6, Josh Radcliff (AdWords 
 API Team) wrote:
>
> Hi Greg,
>
> I'm still investigating this one.  If you wouldn't mind sharing the 
> customer ID with me, please send it to *me only* by clicking "Reply 
> to Author" on this post.  I'd like to run the report myself to help 
> figure 
> this out.
>
> Thanks,
> Josh, AdWords API Team
>
> On Tuesday, November 19, 2013 5:03:13 PM UTC-5, GregT wrote:
>>
>> Hi,
>>
>> We have a client who has a search only campaign using manual CPC 
>> bidding with enhanced CPC.  When running the keyword performance report 
>> for 
>> them, we get back rows that have a keyword id of 304 and keyword 
>> text 
>> of "AutomaticKeywords", with other fields like quality score, max cpc, 
>> approval status, etc. having bogus values.
>>
>> I know that 300 and 306 have a special, defined meaning (
>> https://developers.google.com/adwords/api/docs/guides/reporting-concepts#keywordid300),
>>  
>> but have not noticed 304 before.  It seems apparent that it is 
>> similar 
>> to these other special keyword ids, but I don't know exactly what it 
>> means. 
>>  Searching through the forum, the only time it was mentioned that I find 
>> is 
>> a post from over 6 years ago, but it was never answered.  Could someone 
>> please enlighten me with what this special keyword represents?
>>
>> Thanks in advance,
>> Greg
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdev

Re: Cannot get Test Account to work -

2013-12-02 Thread Josh Radcliff (AdWords API Team)
Hi,

As you mentioned, we no longer support the setup you described, although 
you raised a valid point on why this could be useful.  Since your test MCCs 
pre-date the current test MCC framework you've been grandfathered in, so to 
speak.

Cheers,
Josh, AdWords API Team

On Tuesday, November 26, 2013 1:47:56 PM UTC-5, Jeremy Aube wrote:
>
> Yes, that's actually exactly what I'm doing right now because I was able 
> to make 5 test accounts before test MCCs were available. They're sitting 
> under a production MCC that acts as a test MCC would, and that production 
> MCC sits under our main MCC. 
>
> When I give a user access, I specify which MCC they can access, usually 
> another MCC sitting under the main MCC. I can give a developer access to 
> the main MCC, however, and then they can access all of the test accounts as 
> well, which is very handy.
>
> If I had to use a real test MCC instead, then I'd have to make a way for a 
> developer to be able to access more than once MCC, parse two separate 
> account trees, keep two sets of credentials and remember which one to use 
> for which account, etc. With our current setup, I can treat test accounts 
> exactly as if they are production accounts, which means I can have more 
> confidence that code that works for them will work for our production 
> accounts too.
>
> Also, since I have access to the main MCC, I can switch back and forth 
> between test accounts and production accounts in the AdWords interface 
> using a single Google account, which is extremely convenient.
>
> On Tuesday, November 26, 2013 1:25:46 PM UTC-5, Josh Radcliff (AdWords API 
> Team) wrote:
>>
>> Hi,
>>
>> Just curious - if it was possible then what would be the benefit of 
>> placing a test MCC in a production MCC's hierarchy?  Is the idea that once 
>> the production MCC's dev token is approved, you'll still want to use the 
>> test MCC's accounts for development and testing but use the production 
>> MCC's refresh token?
>>
>> Cheers,
>> Josh, AdWords API Team
>>
>> On Tuesday, November 26, 2013 8:07:20 AM UTC-5, Jeremy Aube wrote:
>>>
>>> I didn't think it was possible to make a test MCC under a production 
>>> MCC, so I'd be very interested in hearing how it was done if you succeed.
>>>
>>> On Monday, November 18, 2013 12:08:02 PM UTC-5, Josh Radcliff (AdWords 
>>> API Team) wrote:

 Hi,

 The account you are referring to as your "Test MCC" (595-990-1085) is a 
 child of your other MCC but it is *not* a test account.  As you 
 pointed out, if this was a test account you would see This is a test 
 account! in AdWords in the upper right corner.  Perhaps you created 
 the account by clicking *Create account* when logged in as the parent 
 MCC?

 I would recommend following the test account 
 linkagain,
  and then confirming that you see This 
 is a test account! when you log in under the new account.  If that 
 still does not work, please let me know.

 Cheers,
 Josh, AdWords API Team


 On Wednesday, November 13, 2013 12:00:12 PM UTC-5, AdWords API User 
 wrote:
>
>
> I created a Test MCC ( 595-990-1085) under my production MCC 
> (606-800-0363) 
> following this link, 
> https://adwords.google.com/um/StartNewMccAccount?testAccount=true, on 
> the page on how to set up test accounts, 
> https://developers.google.com/adwords/api/docs/test-accounts.
>
> I created "Test-Account-1" underneath the Test MCC, e.g. account 
> 127-480-3381, 
> but I cannot see the red banner of a test account. How do I know this is 
> a 
> test account?
>
> If I use the Adwords API for the Test-Account-1 
>  
> api.adwords.clientCustomerId=127-480-3381
> using the api.adwords.developerToken={pending token from top-level 
> production MCC} 
> I get this error:
>
> QuotaCheckError.INCOMPLETE_SIGNUP
>
> What is incomplete signup under which account?
>
> For the api.adwords.clientId I used a value created in the Cloud 
> Console logged in with the email of the Test MCC. Is that maybe the error?
>
> Can somebody help please,
>
> Thanks!
>
>
>
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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 

Campaigns number limit question

2013-12-02 Thread GDZ
Little bit confused here. Limit of total 10,000 campaigns - does it apply 
to all my client accounts? I.e. if I say have 3 client accounts in my MCC 
account, does that mean I can have 10,000 campaigns for each, or 10,000 
total spreaded between these three?

Thank you!  

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

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


Re: Your client does not have permission to get URL

2013-12-02 Thread Josh Radcliff (AdWords API Team)
Hi Daniel,

Regarding the "abnormal requests" question, if we see that your API client 
is making a large number of erroneous calls or causing other issues we will 
reach out to you via the email address provided during the signup process.

Cheers,
Josh, AdWords API Team

On Friday, November 22, 2013 2:10:44 PM UTC-5, Josh Radcliff (AdWords API 
Team) wrote:
>
> Hi Daniel,
>
> My colleague is following up with you offline on this one.  One of us will 
> post back to this topic once the issue is resolved.
>
> Regards,
> Josh, AdWords API Team
>
> On Wednesday, November 20, 2013 8:45:39 AM UTC-5, Modix Germany wrote:
>>
>> Hello,
>>
>> we're using the PHP client library v201306. All of a sudden, we are now 
>> running into a SoapFault when requesting the WSDL from Google AdWords web 
>> service.
>>
>> Curl outputs the following; curl 
>> https://adwords.google.com/api/adwords/cm/v201306/MutateJobService?wsdl:
>>
>> 
>>> 
>>>   
>>>   
>>>   Error 403 (Forbidden)!!1
>>>   
>>> *{margin:0;padding:0}html,code{font:15px/22px 
>>> arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7%
>>>  
>>> auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > 
>>> body{background:url(//www.google.com/images/errors/robot.png) 100% 5px 
>>> no-repeat;padding-right:205px}p{margin:11px 0 
>>> 22px;overflow:hidden}ins{color:#777;text-decoration:none}a 
>>> img{border:0}@media screen and 
>>> (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}
>>>   
>>>   >> www.google.com/images/errors/logo_sm.gif alt=Google>
>>>   403. That’s an error.
>>>   Your client does not have permission to get URL 
>>> /api/adwords/cm/v201306/MutateJobService from this server.  
>>> That’s all we know.
>>
>>
>> What's the reason that cause above HTTP/403 error?
>>
>> Regards
>> - Daniel
>>
>

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

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


Re: AccountDisabled Error

2013-12-02 Thread Josh Radcliff (AdWords API Team)
Hi Maxim,

This error comes from ClientLogin and can occur when AuthTokens are 
requested too quickly or at the same time from different locations.  To 
unlock the accounts you will need to log into them manually and enter the 
Captcha string.

Please note that the ClientLogin protocol is now deprecated and will be 
sunset in 
2014.
 
 Please consider migrating to OAuth2 as soon as possible.  

Regards,
Josh, AdWords API Team

On Saturday, November 30, 2013 9:09:46 PM UTC-5, Maxim Kurapatkin wrote:
>
> Hello,
> I use My Client Center API to manage linked Adwords account.
> Both of them can be managed under the web, without any limitations. 
> However starting two weeks ago, our perl based API platform start getting 
> messages like:
>
> An error as occurred trying to retrieve the authorization token. Error: 
> AuthError {
>   message: Forbidden
>   code: 403
>   content: Error=AccountDisabled
> Url=
> https://www.google.com/accounts/ErrorMsg?Email=*&id=adis&service=adwords
>
> } at /isotree/lib/perl/Google/Ads/Common/AuthTokenHandler.pm line 225.
>
> At the same moment it works for another google adwords accounts (the same 
> library, the same code)...
>
> Could you please give an insight the reasons that can cause error 
> responses like that?
>
>
> Thanks
> -Maxim Kurapatkin
>
>
>
>

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

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


Re: How do I set custom date range when downloading reports using adwords API PHP client library.

2013-12-02 Thread Josh Radcliff (AdWords API Team)
Hi,

You can achieve this by setting the dateRange attribute of your selector to 
a DateRange with the desired min and max dates.

Cheers,
Josh, AdWords API Team

On Friday, November 29, 2013 8:37:07 AM UTC-5, jaison@gmail.com wrote:
>
> I am using adwords PHP client library for my application. I want to to 
> download reports for a custom date range and do not know the right 
> parameters used to set the dates.
>
> Following is the code I'm currently using:
>
>
> $reportFileName = DS . 'AdPerformanceReport_dated.csv';
> $reportType = 'AD_PERFORMANCE_REPORT';
> $filePath = dirname(__FILE__) . $reportFileName;
> $user = new AdWordsUser();
>
> $user->LogAll();
> $user->SetClientCustomerId($adwordClientId);
> $user->LoadService('ReportDefinitionService', ADWORDS_VERSION);
>
> $selector = new Selector();
> $selector->fields = $reportFields[$reportType];
>
> // Create report definition.
> $reportDefinition  = new 
> ReportDefinition();
> $reportDefinition->selector= $selector;
> $reportDefinition->reportName   = 'Ad performance report';
> $reportDefinition->dateRangeType = 'CUSTOM_DATE';
> $reportDefinition->reportType= $reportType;
> $reportDefinition->downloadFormat   = 'CSV';
> $reportDefinition->includeZeroImpressions = FALSE;
>
> $options = array('version' => ADWORDS_VERSION);
>
> // Download report.
> ReportUtils::DownloadReport($reportDefinition, $filePath, $user, $options);
>
>
> I hope someone can tell me what are the right parameters to set dates.
>
>

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

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


Re: keyword id 3000004

2013-12-02 Thread Josh Radcliff (AdWords API Team)
Hi Greg,

Thanks for the additional info.  Is it possible that you ran the reports 
for *2010* instead of *2013*?  The deprecated 304 value does appear on 
reports for that old time frame, but not after.

Cheers,
Josh, AdWords API Team

On Tuesday, November 26, 2013 4:46:31 PM UTC-5, GregT wrote:
>
> Hi, Josh.
>
> Unfortunately, I don't have access to that particular account anymore, so 
> I don't know if it's still happening.  I've sent you the customer id, 
> campaign ids, and date range via email previously.  The rest of the info: 
> this is for the keyword performance report, in GZIPPED_CSV format, with the 
> fields AdGroupId, AdGroupName, AverageCpc, AveragePosition, CampaignId, 
> CampaignName, Cost, Clicks, Impressions, Date, Id, KeywordMatchType, 
> MaxCpc, KeywordText, AdNetworkType1, Device, QualityScore, Conversions, 
> ConversionsManyPerClick, and TotalConvValue, with returnMoneyInMicros set 
> to true, using v201309 of the API.  We last ran this report Nov 19 and saw 
> this then, but haven't run it since and, as I said, can't anymore at the 
> moment.  We probably ran the report 5 or 6 times that day, and saw it each 
> time.
>
> Thanks,
> Greg
>
> On Monday, November 25, 2013 9:54:25 AM UTC-6, Josh Radcliff (AdWords API 
> Team) wrote:
>>
>> Hi Greg,
>>
>> Thanks for sending over the additional details.  I've tried to reproduce 
>> that behavior but I'm not seeing 304 or "AutomaticKeywords" in the 
>> results.
>>
>>1. Could you send over the full report definition you are using so I 
>>can replicate the request in its entirety?
>>2. Are you still seeing this behavior today?  If not, could you let 
>>me know the dates when you did see this?
>>
>> Note that I have confirmed that 304 is not a value for any active 
>> feature of AdWords.
>>
>> Thanks,
>> Josh, AdWords API Team
>>
>> On Friday, November 22, 2013 4:18:18 PM UTC-5, GregT wrote:
>>>
>>> Hi, Josh.
>>>
>>> I've sent you that email.
>>>
>>> Thanks,
>>> Greg
>>>
>>> On Friday, November 22, 2013 1:12:56 PM UTC-6, Josh Radcliff (AdWords 
>>> API Team) wrote:

 Hi Greg,

 I'm still investigating this one.  If you wouldn't mind sharing the 
 customer ID with me, please send it to *me only* by clicking "Reply to 
 Author" on this post.  I'd like to run the report myself to help figure 
 this out.

 Thanks,
 Josh, AdWords API Team

 On Tuesday, November 19, 2013 5:03:13 PM UTC-5, GregT wrote:
>
> Hi,
>
> We have a client who has a search only campaign using manual CPC 
> bidding with enhanced CPC.  When running the keyword performance report 
> for 
> them, we get back rows that have a keyword id of 304 and keyword text 
> of "AutomaticKeywords", with other fields like quality score, max cpc, 
> approval status, etc. having bogus values.
>
> I know that 300 and 306 have a special, defined meaning (
> https://developers.google.com/adwords/api/docs/guides/reporting-concepts#keywordid300),
>  
> but have not noticed 304 before.  It seems apparent that it is 
> similar 
> to these other special keyword ids, but I don't know exactly what it 
> means. 
>  Searching through the forum, the only time it was mentioned that I find 
> is 
> a post from over 6 years ago, but it was never answered.  Could someone 
> please enlighten me with what this special keyword represents?
>
> Thanks in advance,
> Greg
>


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

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


Re: APP extension placeholder type

2013-12-02 Thread Zweitze
Hi,

I reported a similar issue to support. My issue was slightly different, 
with FeedMappingService.get() you cannot retrieve information for app 
extensions. You get information about site link extensions and call 
extensions, but app extensions are always left out.

The issue was investigated, the conclusion was that app extensions are not 
fully supported by AdWords API.

Hope this helps



On Thursday, November 28, 2013 1:59:31 PM UTC+1, techpoi...@gmail.com wrote:
>
> Hi,
>
> While fetching feeds and feed items using "CampaignFeedService", we are 
> getting blank (empty) placeholder type id for APP extension where as for 1 
> for Sitelink  and 2 for Call Extensions. Feed items showing correctly under 
> APP extension.
>
> According to 
> https://developers.google.com/adwords/api/docs/appendix/placeholders it 
> should show placeholder type id 3 for APP extensions.
>
> Is there anything we are missing?
>
> Thanks,
>
>
>
>

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

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


Re: Missing TARGETED_MONTHLY_SEARCHES from response

2013-12-02 Thread PPC London
Thanks Takeshi
Please update us once it is solved
Thanks

On Monday, December 2, 2013 7:12:35 AM UTC, Takeshi Hagikura (AdWords API 
Team) wrote:
>
> Hi, 
>
> Thanks, I'm able to reproduce it as well. 
>
> I think it's an unexpected behavior. 
> I'm escalating it to the relevant engineer. 
>
> Best,
> - Takeshi, AdWords API Team
>
> On Friday, November 29, 2013 8:01:12 PM UTC+9, PPC London wrote:
>>
>> Hi Takeshi 
>>
>> Just had a closer look at your request 
>> you are doing 
>> IDEAS
>> but I am doing 
>> STATS
>>
>> I am doing STATS because I want stats for given keyword
>>
>> IDEAS will return other related similar keywords with their stats
>>
>> so the 12 months volumes you see are for some related keyword but not the 
>> actual one in request
>>
>> Thanks
>>
>>
>> On Friday, November 29, 2013 6:45:43 AM UTC, Takeshi Hagikura (AdWords 
>> API Team) wrote:
>>>
>>> Hi everyone, 
>>>
>>> Thanks for the report. 
>>> Just to make sure, is it still reproducible?
>>>
>>> I tried the following request and I got the monthly values (12 values) 
>>> for each keyword. 
>>>
>>> 
>>> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="
>>> http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
>>> http://www.w3.org/2001/XMLSchema-instance";>
>>>   
>>> http://schemas.xmlsoap.org/soap/actor/next"; soapenv:mustUnderstand="0" 
>>> xmlns:ns1="https://adwords.google.com/api/adwords/o/v201309";>
>>>   https://adwords.google.com/api/adwords/cm/v201309
>>> ">**
>>>   https://adwords.google.com/api/adwords/cm/v201309";>** 
>>> 
>>>   https://adwords.google.com/api/adwords/cm/v201309
>>> ">***
>>>   https://adwords.google.com/api/adwords/cm/v201309";>user 
>>> agent
>>>   https://adwords.google.com/api/adwords/cm/v201309
>>> ">false
>>>   https://adwords.google.com/api/adwords/cm/v201309
>>> ">false
>>> 
>>>   
>>>   
>>> https://adwords.google.com/api/adwords/o/v201309";>
>>>   
>>> >> xmlns:ns8="https://adwords.google.com/api/adwords/o/v201309";>
>>>   holiday kephalona greece
>>> 
>>> >> xmlns:ns9="https://adwords.google.com/api/adwords/o/v201309";>
>>>   
>>> https://adwords.google.com/api/adwords/cm/v201309";>2826
>>>   
>>> 
>>> >> xmlns:ns11="https://adwords.google.com/api/adwords/o/v201309";>
>>>   
>>> https://adwords.google.com/api/adwords/cm/v201309
>>> ">true
>>> https://adwords.google.com/api/adwords/cm/v201309
>>> ">false
>>> https://adwords.google.com/api/adwords/cm/v201309
>>> ">false
>>> https://adwords.google.com/api/adwords/cm/v201309
>>> ">false
>>>   
>>> 
>>> KEYWORD
>>> IDEAS
>>> KEYWORD_TEXT
>>> SEARCH_VOLUME
>>> 
>>> TARGETED_MONTHLY_SEARCHES
>>> COMPETITION
>>> 
>>> EXTRACTED_FROM_WEBPAGE
>>> 
>>>   https://adwords.google.com/api/adwords/cm/v201309";>0
>>>   https://adwords.google.com/api/adwords/cm/v201309
>>> ">10
>>> 
>>>   
>>> 
>>>   
>>>   
>>>
>>> Best,
>>> - Takeshi, AdWords API Team
>>>
>>> On Thursday, November 28, 2013 9:24:18 PM UTC+9, PPC London wrote:


 Thanks Marius
 Good to know that it is not just us.

 On Thursday, November 28, 2013 11:46:24 AM UTC, Marius-Eugen Gerdan 
 wrote:
>
> you are not alone. we also have this issue. it seems to have to do 
> with some keywords in the call. if you split the calls into multiple 
> calls 
> with only one keyword, this works, only the keywords included, that have 
> no 
> search volume will be affected. this is clearly a bug. please fix this 
> urgent.
>
> Am Donnerstag, 28. November 2013 11:01:25 UTC+1 schrieb PPC London:
>>
>> Is it just us, or anyone else also seen this behavior?
>> Its urgent please...
>>
>> On Wednesday, November 27, 2013 12:07:16 PM UTC, PPC London wrote:
>>>
>>> Even SEARCH_VOLUME and COMPETITION are missing from response
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Getting ad groups audience bids adjustments and targeting settings via API

2013-12-02 Thread Anil
Hi,

Using which API service we can get ad groups audience bids adjustments and 
targeting settings via API? 
Audience Performance Report seems does not contain Targeting Setting type.

Thanks.

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

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


Re: Placement Performance Report with mobileapp performance

2013-12-02 Thread Brandon
Hi Takeshi,

Thanks for your replying.
The results could be downloaded here:

Automatic placement preformance
https://drive.google.com/file/d/0Bw03qlsABJ1YZ1huOVR3UkhaaGc/edit?usp=sharing

Placement performance
https://drive.google.com/file/d/0Bw03qlsABJ1YbWJsbkJJU2tIMWc/edit?usp=sharing


And the request is as follows:

https://adwords.google.com/api/adwords/cm/v201309";>

DisplayName
Clicks
Impressions
Ctr
AverageCpc
AverageCpm
Conversions
ConversionsManyPerClick
ConversionRate
ConversionRateManyPerClick
Cost
CostPerConversion
CostPerConversionManyPerClick

20130819
20131122


Test Report
PLACEMENT_PERFORMANCE_REPORT
CUSTOM_DATE
XML
false


I was using the same filter to download these two reports(only the 
"reportType" are different).
In my consider, it should be totally the same after I aggregate each other.
But it seems like the placement performance report only include the 
performance of sites.
Did I make something wrong?

Thanks,

Brandon


Takeshi Hagikura (AdWords API Team)於 2013年12月2日星期一UTC+8下午2時53分06秒寫道:
>
> Hi Brandon,
>
> I think placements for mobile apps were represented as in the form of 
> {app-id}.adsenseformobileapps.com a while back. 
> Do you have the example request and response? 
> I'd like to make sure if it's not represented as above. 
>
> Best,
> - Takeshi, AdWords API Team
>
> On Thursday, November 28, 2013 1:35:25 PM UTC+9, Brandon wrote:
>>
>> Hi,
>>
>> In the recently release notes we knew that we can now using Placement 
>> Performance Report to get both Automatic Placements Performance and 
>> Managed Placements Performance.
>> But I can't see any mobileapp performance in this report. Why?
>> We need to combine these two report results into one.
>> Is there any other way to implement this feature?
>>
>> Thanks,
>>
>> Brandon
>>
>

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

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


Re: what the problem ???? [AdError.INVALID_AD_TYPE @ operations[0].operand.ad] . Thanks!

2013-12-02 Thread KAMOUN Ilyess


>
>
> SoapFault Object
> (
> [message:protected] => [AdError.INVALID_AD_TYPE @ 
> operations[0].operand.ad]
> [string:Exception:private] => 
> [code:protected] => 0
> [file:protected] => 
> /var/www/vhosts/httpdocs/adwords_api_php_4.6.1/autreesai.php
> [line:protected] => 122
> [trace:Exception:private] => Array
> (
> [0] => Array
> (
> [file] => 
> /var/www/vhosts/httpdocs/adwords_api_php_4.6.1/autreesai.php
> [line] => 122
> [function] => __call
> [class] => SoapClient
> [type] => ->
> [args] => Array
> (
> [0] => mutate
> [1] => Array
> (
> [0] => Array
> (
> [0] => AdGroupAdOperation Object
> (
> [operand] => AdGroupAd 
> Object
> (
> [adGroupId] => 
> 8424820921
> [ad] => TextAd 
> Object
> (
> 
> [headline] => Cruise
> 
> [description1] => Visit
> 
> [description2] => Low-gravity
> [id] => 
> [url] => 
> http://www.example.com
> 
> [displayUrl] => www.example.com
> 
> [devicePreference] => 
> 
> [disapprovalReasons] => 
> [AdType] 
> => TextAd
> 
> [_parameterMap:Ad:private] => Array
> (
> 
> [Ad.Type] => AdType
> )
>
> )
>
> [experimentData] 
> => 
> [status] => PAUSED
> [approvalStatus] 
> => 
> 
> [trademarkDisapproved] => 
> [stats] => 
> 
> [forwardCompatibilityMap] => 
> )
>
> [exemptionRequests] => 
> [operator] => ADD
> [OperationType] => 
> 
> [_parameterMap:Operation:private] => Array
> (
> [Operation.Type] 
> => OperationType
> )
>
> )
>
> )
>
> )
>
> )
>
> )
>
> [1] => Array
> (
> [file] => 
> /var/www/vhosts/adwords_api_php_4.6.1/autreesai.php
> [line] => 122
> [function] => mutate
> [class] => SoapClient
> [type] => ->
> [args] => Array
> (
> [0] => Array
> (
> [0] => AdGroupAdOperation Object
> (
> [operand] => AdGroupAd Object
> (
> [adGroupId] => 8424820921
> [ad] => TextAd Object
> (
>   

Re: what the problem ???? [AdError.INVALID_AD_TYPE @ operations[0].operand.ad] . Thanks!

2013-12-02 Thread Takeshi Hagikura (AdWords API Team)
Hi KAMOUN,

Do you have the raw XML or (requestId) for the failed operation?
It helps narrow down the issue rather than the php code. 

Best,
- Takeshi, AdWords API Team

On Saturday, November 30, 2013 1:54:59 AM UTC+9, KAMOUN Ilyess wrote:
>
>
>
> my script   Php
>
>
>
>
> 
> require_once 'src/Google/Api/Ads/AdWords/v201306/AdGroupAdService.php';
>
>
> ini_set('display_errors', 1);ini_set('log_errors', 1);
>
> define("ADWORDS_API_VERSION", "v201306");
>  
> // Production API
> //define("ADWORDS_API_SERVER", "https://adwords.google.com";);
> // Sandbox API
> define("ADWORDS_API_SERVER", "https://adwords.google.com";);
>  
> define("ADWORDS_API_NAMESPACE", "
> https://adwords.google.com/api/adwords/cm/"; . ADWORDS_API_VERSION);
> define("ADWORDS_API_CAMPAIGN_SERVICE", ADWORDS_API_SERVER . 
> "/api/adwords/cm/" . ADWORDS_API_VERSION . "/AdGroupAdService");
>  
> // Your API Developer Token
> define("ADWORDS_API_TOKEN", "ffrTN5H-**NvsZiA");
>  
> // The account that you want to download performace data from
> $username = "te...@gmail.com ";
> $password = "))";
> $customerId = "576-***-3559";
>  
> try {
> // Get an auth token for the user
> $url = "https://www.google.com/accounts/ClientLogin";;
> $params = array(
> "accountType" => "GOOGLE",
> "Email" => $username,
> "Passwd" => $password,
> "service" => "adwords",
> "source" => "test"
> );
>  
> $curl = curl_init();
> curl_setopt($curl, CURLOPT_URL, $url);
> curl_setopt($curl, CURLOPT_HEADER, false);
> curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
> curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
> curl_setopt($curl, CURLOPT_POST, true);
> curl_setopt($curl, CURLOPT_POSTFIELDS, $params);
> curl_setopt($curl, CURLOPT_ENCODING, "");
> $curlData = curl_exec($curl);
> curl_close($curl);
>  
> $pos = strpos($curlData, "Auth=");
> if ($pos > -1) {
> $auth = trim(substr($curlData, $pos + 5));
> } else {
> throw new Exception("You haven't supplied a valid username or 
> password for an existing Google account.");
> }
>  
> // Create the headers needed to access the API
> $headers = array(
> "developerToken" => ADWORDS_API_TOKEN,
> "userAgent" => "agence",
> "clientCustomerId" => $customerId,
> "authToken" => $auth
> );
>  
> // Encode the headers
> $encodedHeaders = new SoapHeader(ADWORDS_API_NAMESPACE, 
> "RequestHeader", $headers, false);
>
>
>  
> $options = array(
> 'features' => SOAP_SINGLE_ELEMENT_ARRAYS,
> 'encoding' => 'utf-8');
>
>
>
>  
>  
> // Create the SOAP client
>
>
> $client = new SoapClient(ADWORDS_API_CAMPAIGN_SERVICE . "?wsdl", 
> $options);
>
> $client->__setSoapHeaders($encodedHeaders);
>
>  //  print_r($client);
>
>  
> echo ADWORDS_API_CAMPAIGN_SERVICE . "?wsdl";
> var_dump($client->__getFunctions());
>
> $adGroupId = '8424820921';
>
>
> $numAds = 5;
>   $operations = array();
>  // for ($i = 0; $i < $numAds; $i++) {
> // Create text ad.
>   $textAd = new TextAd();
> $textAd->headline = 'Cruise';
> $textAd->description1 = 'Visit';
> $textAd->description2 = 'Low-gravity';
> $textAd->displayUrl = 'www.example.com';
> $textAd->url = 'http://www.example.com';
>  $textAd->AdType = "TextAd";
> 
>  
>  
> // Create ad group ad.
> $adGroupAd = new AdGroupAd();
> $adGroupAd->adGroupId = $adGroupId;
> $adGroupAd->ad = $textAd;
>
> // Set additional settings (optional).
> $adGroupAd->status = 'PAUSED';
>
> // Create operation.
> $operation = new AdGroupAdOperation();
> $operation->operand = $adGroupAd;
> $operation->operator = 'ADD';
> $operations[] = $operation;
>  // }
>
>   // Make the mutate request.
>   $result = $client->mutate($operations);
>
>   // Display results.
>   foreach ($result->value as $adGroupAd) {
> printf("Text ad with headline '%s' and ID '%s' was added.\n",
> $adGroupAd->ad->headline, $adGroupAd->ad->id);
>   }
>
>
>
>
> } catch (Exception $e) {
> print_r($e);
> if (isset($client)) {
> print $client->__getLastRequest() . "\n";
> print $client->__getLastResponse() . "\n";
> }
> } 
>
>
> 
> reponse:
>
>
>
>
> Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when 
> safe_mode is enabled or an open_basedir is set in 
> /var/www/vhosts/httpdocs/adwords_api_php_4.6.1/autreesai.php on line 
> 40https://adwords.google.com/api/adwords/cm/v201306/AdGroupAdService?wsdlarray(3)
>  {  [0]=>  string(32) "getResponse get(get $parameters)"  [1]=>  string(41) 
> "mutateResponse mutate(mutate $parameters)"  [2]=>  string(38) "queryResponse 
> query(query $parameters)"}SoapFault Object([message:protected] => 
> [AdError.INVALID_AD_TYPE @ operations[0].operand.ad]
> [