Re: How to handle upcoming 'matching value' limits when using IN and NOT_IN operators?

2014-02-27 Thread Zweitze
Sure you can do paging. For the first report ask for the first set of 
10,000, for the second report ask for the second set of 10,000 etc.etc.

But I don't understand why you need this. Why don't you ask a report with 
all keywords?
I can get a keyword report covering 500,000 keywords without any problem. 
But I also ask for the results segmented by date, and when the period is 
too big I get errors (I believe timeouts). In that case I cut the period in 
half and get the first period, then the second. If that times out again, I 
cut the period in half again etc.

Hope this helps.


On Thursday, February 27, 2014 12:43:39 AM UTC+1, Chris wrote:
>
> Hi Guys,
>
> As explained in this blog post 
> http://googleadsdeveloper.blogspot.com.br/2014/01/ensuring-reliable-performance-with-new.htmlthere
>  will soon be an enforced 
> limit of 10,000 matching values when requesting reports with Selectors 
> using the IN and NOT_IN operators. Currently I have an application that 
> requests keyword performance reports using a Selector with 
> PredicateOperator.IN and one campaign ID value i.e. requests a report per 
> campaign, with just the keywords of that campaign.
>
> I have campaigns that contain more than 10,000 keywords.
>
> So, my question is what options are there for continuing to get reports 
> with all the keywords for a campaign in? Can I perform some kind of paging, 
> whereby I request reports with keywords 1 - 10,000, then 10,001 to 20,000 
> etc? Ideally I would like to avoid having to download a report per ad-group.
>
> Any suggestions are much appreciated!
>
> Chris
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/groups/opt_out.


Placements bid modifiers

2014-02-27 Thread Rakesh Ramesh
How would we do a placement level bid modifiers using API? I tried to take 
the criterian ID, but still is that unique at placement level? also other 
wise the only option in campaign level.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Missing data for some dates in CRITERIA_PERFORMANCE_REPORT for a particular campaignid

2014-02-27 Thread Takeshi Hagikura (AdWords API Team)
Hi Alvaro,

Do you mind sharing the request XML for Criteria Performance Report?
My guess is that the rows for that campaign are filtered out by some 
predicates.  (Note : Criteria Performance Report is a single 
attribution
 report. 
Not all criteria will be recorded if multiple criteria are used)

My recommendation is to use multi attribution reports such as Age 
Performance Report, Display Topics Performance Report, Display Keywords 
Performance Report ... etc for Display stats.

Best,
- Takeshi, AdWords API Team

On Wednesday, February 26, 2014 2:56:52 AM UTC+9, Alvaro T. wrote:
>
> I'm using the CRITERIA_PERFORMANCE_REPORT to get all Search/Display data 
> for my entire account (ClientId: 843-218-0673), for this month 
> (Feb-2014). (Using API v201309)
> Everything looked good, until I realized that data for some days was 
> missing for one particular campaignid.  It's just in one campaignId, the 
> rest of the report brings all consistent dates/data.
>
> The inconsistency happens in campaignId= 166179549, for which there is no 
> data for Feb 1 through Feb 3.
>
> To debug, I tried this:
> - Requesting the same fields 
> ('Date','CampaignName','Impressions','Clicks','Cost') 
> - Only for CampaignId = 166179549
> - Executed the CRITERIA_PERFORMANCE_REPORT and CAMPAIGN_PERFORMANCE_REPORT
>
> The CAMPAIGN_PERFORMANCE_REPORT brings all the data. 
> The CRITERIA_PERFORMANCE_REPORT is missing Feb 1 through Feb 3.
>
> On Feb-3 we modified (via UI) the DestinationUrl for the the AGE 
> segments... can this have anything to do?
> How can I get consistent data for the criteria_performance_report on this 
> campaignid ?
>
> Thanks, 
> Al
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: How to Add and Get specific location for my campaign

2014-02-27 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

CampaignCriterion (Targeting) is a different entity from Campaign.
Please use CampaginCriterionService to add location targetings like this 
example
.

Best,
- Takeshi, AdWords API Team

On Wednesday, February 26, 2014 8:47:29 PM UTC+9, Ashish Pathak wrote:
>
> Hi,
>
> I'm also facing same problem please provide some code to set location for 
> campaign.
>
> e.g I wan't to target USA how do i set that at the time of campaign 
> creation.
>
> 'settings': [
>   {
>   'xsi_type': 'GeoTargetTypeSetting',
>   'positiveGeoTargetType': 'DONT_CARE',
>   'negativeGeoTargetType': 'DONT_CARE'
>   },
>   {
>   'xsi_type': 'KeywordMatchSetting',
>   'optIn': 'false'
>   }
>   ]
>
>
> On Tuesday, October 25, 2011 10:08:34 AM UTC+5:30, dummy one wrote:
>>
>>
>> Hi,
>>
>> I want to add location say india to my campaign , how can it be done 
>> ..Can you provide me some code example .
>>
>>
>> Best Regards ,
>>
>> jana
>>
>>
>>
>>
>>
>> On Mon, Oct 24, 2011 at 8:01 AM, Anash P. Oommen <
>> anash.p.oo...@google.com> wrote:
>>
>>> Hi,
>>>
>>> Location codes for geo targeting are available at 
>>> http://code.google.com/apis/adwords/docs/appendix/geotargeting.html.
>>>
>>> Cheers,
>>> Anash P. Oommen,
>>> AdWords API Advisor.
>>>
>>>  -- 
>>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>>> 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 adwor...@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> adwords-api...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/adwords-api?hl=en
>>>
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: keyword = 'Content ' in Keyword perfomance Report. Query.

2014-02-27 Thread Takeshi Hagikura (AdWords API Team)
Hi Tom,

Please see this 
documentfor
 the detail.

Best,
- Takeshi, AdWords API Team

On Wednesday, February 26, 2014 9:18:24 PM UTC+9, t...@admigoapp.com wrote:
>
> Hi,
>
> When running the keyword performance report, the keyword='Content' is 
> visible and has metrics associated to it.
>
> Can you please advise what the association of this is?
>
> Many Thanks,
>
> Tom. 
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Placements bid modifiers

2014-02-27 Thread Takeshi Hagikura (AdWords API Team)
Hi Rakesh,

You can set a bid adjustment with bidModifier in BiddableAdGroupCriterion 
as in this 
document
. 

Best,
- Takeshi, AdWords API Team

On Thursday, February 27, 2014 6:54:19 PM UTC+9, Rakesh Ramesh wrote:
>
> How would we do a placement level bid modifiers using API? I tried to take 
> the criterian ID, but still is that unique at placement level? also other 
> wise the only option in campaign level.
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: KEYWORD_PERFORMANCE_REPORT and DisplayNetwork inconsistency

2014-02-27 Thread Takeshi Hagikura (AdWords API Team)
Hi Mojmir,

Let me confirm, which types of adgroups are missing in Keyword Performance 
Report?
Is there any common rule for missing ad groups?

Best,
- Takeshi,

On Monday, February 24, 2014 10:29:40 PM UTC+9, Mojmír Vinkler wrote:
>
> I downloaded report via following AWQL 
>
> SELECT 
> CampaignName,CampaignStatus,Conversions,Impressions,KeywordText,Cost,CostPerConversion,Month,AdNetworkType1
> FROM KEYWORDS_PERFORMANCE_REPORT
> WHERE Impressions > 0
> DURING 20100101,20140202
>
> when I compared keywords with Network == Display Network with numbers in 
> adwords, I noticed that some Ad Groups in report are missing (even though 
> they have positive impressions). I am pretty sure that my code is correct. 
> Do you have an idea what might cause this? Thanks a lot.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: AdWords oauth will not connect when using Read only access level logins

2014-02-27 Thread Takeshi Hagikura (AdWords API Team)
Hi TJ,

The behavior of the fact that requests for CustomerService with read-only 
access fails is the issue on the AdWords API side. 
We should fix that. (#1 solution)

I checked it with the relevant engineer. 
The fix will be applied anytime soon. 

Best,
- Takeshi, AdWords API Team

On Wednesday, February 26, 2014 8:58:44 PM UTC+9, TJ wrote:
>
> Confirmed yes, we are using Customer Service. And similar to the other 
> posting, we are getting this response 
> OperationAccessDenied.ACTION_NOT_PERMITTED. And the login type (read only) 
> has been set that way for years and this bug just started happening in 
> early February. We fixed it temporarily by switching the login type to 
> Standard, but would prefer one of two solutions for a more robust API:
>
> 1) Enable read only to work with APIs so we don't have to fiddle with 
> login access levels (preferred solution)
> or
> 2) Make a unique, clear API error that says Read-only does not work with 
> API so that we can parse and display this error in a UI
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: OperationAccessDenied.ACTION_NOT_PERMITTED on CustomerService.Get()

2014-02-27 Thread Takeshi Hagikura (AdWords API Team)
Hi Chirag,

Thanks for the input. 

I checked it with the relevant engineer. 
The fix will be applied anytime soon. 

Best,
- Takeshi, AdWords API Team

On Thursday, February 27, 2014 2:58:07 PM UTC+9, Chirag wrote:
>
> Hello Takeshi,
>
> I am also facing the same issue with customer service since few days, its 
> working for most but for few clients it is giving me error 
> faultMessage=[OperationAccessDenied.ACTION_NOT_PERMITTED @ class 
> com.google.ads.boulder.api.services.customer.GetAction].
>
> requestId=0004f35cdb1621200aa43c0459cb
>
> Also need to confirm that accesstoken was fetched from AdWords account and 
> login has proper permission. I am able to get other services working 
> properly.
>
> I have also same flow, 1. Client authenticate using Oauth2.0 get the 
> refresh token
> 2. Call CustomerService.Get() to get the CustomerId
> 3. Do the get the campaigns using refresh token and CustomerId.
>
> Thanks,
> Chirag
>
>
>
> On Tuesday, February 25, 2014 6:05:54 PM UTC+5:30, Zweitze wrote:
>>
>> Takeshi,
>>
>> Indeed there is no CustomerId in the header. Our workflow is like this:
>> 1. Using an AdWords login (or user), Get the authenticationtoken
>> 2. Call CustomerService.Get() to get the CustomerId
>> 3. Do the rest with the authenticationtoken and CustomerId
>>
>> This works for most of the AdWords logins, but not that specific login. I 
>> will mail that login to you.
>> Indeed this could be related to that other issue - I thought the login 
>> had administrative access, apparently it does not.
>>
>> Regards
>> Zweitze
>>
>> (PS I didn't notice because the forum search function is seriously 
>> broken... again. Take a look at *this result page* 
>> to
>>  
>> see what I mean: at least this topic should show up. But the forum 
>> development group is really obnoxious and doesn't appreciate feedback, so I 
>> stopped bothering. Still... wouldn't it be a good idea to move this forum 
>> to a better platform?)
>>
>>
>> On Tuesday, February 25, 2014 9:55:53 AM UTC+1, Takeshi Hagikura (AdWords 
>> API Team) wrote:
>>>
>>> Hi Zwelte, 
>>>
>>> Thanks for the input. 
>>> Let me confirm, looks like the request doesn't include clientCustomerId 
>>> header. Is it expected? (Are you using the credential from the AdWords 
>>> client account?)
>>> Also can you please let me know from what account you got the auth 
>>> token? (I'd like to make sure if it has only the read-only permission. The 
>>> issue we saw a week ago was about that case)
>>>
>>> Best,
>>> - Takeshi, AdWords API Team
>>>
>>> On Monday, February 24, 2014 7:13:39 PM UTC+9, Zweitze wrote:

 Takeshi,

 The production server has no SOAP logs, this is from a development 
 machine. The error is the same.

 -BEGIN API CALL-

 Request
 ---


 http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsi="
 http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="
 http://www.w3.org/2001/XMLSchema";>https://adwords.google.com/api/adwords/mcm/v201309";>https://adwords.google.com/api/adwords/cm/v201309";>**>>>  
 xmlns="https://adwords.google.com/api/adwords/cm/v201309";>**>>>  
 xmlns="https://adwords.google.com/api/adwords/cm/v201309";>Adwords API 
 by Maxlead (AwApi-DotNet/16.5.1, Common-Dotnet/2.0.1, .NET 
 CLR/2.0.50727.4247, 
 gzip)https://adwords.google.com/api/adwords/mcm/v201309"; 
 />

 Response
 


 >>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>https://adwords.google.com/api/adwords/cm/v201309"; xmlns="
 https://adwords.google.com/api/adwords/mcm/v201309";>0004f3241b3ebbd80ade6f854a13CustomerServiceget0265soap:Server[OperationAccessDenied.ACTION_NOT_PERMITTED
  
 @ class 
 com.google.ads.boulder.api.services.customer.GetAction]>>>  
 xmlns="https://adwords.google.com/api/adwords/mcm/v201309"; xmlns:ns2="
 https://adwords.google.com/api/adwords/cm/v201309";>[OperationAccessDenied.ACTION_NOT_PERMITTED
  
 @ class 
 com.google.ads.boulder.api.services.customer.GetAction]ApiException>>>  
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
 xsi:type="ns2:OperationAccessDenied">OperationAccessDenied.ACTION_NOT_PERMITTEDOperationAccessDeniedACTION_NOT_PERMITTED
 -END API CALL---

 Thanks in advance!






 On Monday, February 24, 2014 7:16:15 AM UTC+1, Takeshi Hagikura 
 (AdWords API Team) wrote:
>
> Hi Zweltze, 
>
> Ok, I'll look into it. 
> Are these requestIds right?
> 0004f2e91b0162a00ade6f851bf0
> 0004f2e914916bb80ade4707657c
>
> I couldn't find the logs for those requestIds. 
>
> Is it possible to share your request and response XML logs (other than 
> sensitive info)?
> If you

Re: Placements bid modifiers

2014-02-27 Thread Rakesh Ramesh
Thanks alot. Will Try it:)

On Thursday, February 27, 2014 2:19:15 PM UTC+4, Takeshi Hagikura (AdWords 
API Team) wrote:
>
> Hi Rakesh,
>
> You can set a bid adjustment with bidModifier in BiddableAdGroupCriterion 
> as in this 
> document
> . 
>
> Best,
> - Takeshi, AdWords API Team
>
> On Thursday, February 27, 2014 6:54:19 PM UTC+9, Rakesh Ramesh wrote:
>>
>> How would we do a placement level bid modifiers using API? I tried to 
>> take the criterian ID, but still is that unique at placement level? also 
>> other wise the only option in campaign level.
>>
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: OperationAccessDenied.ACTION_NOT_PERMITTED on CustomerService.Get()

2014-02-27 Thread Chirag
Hello Takeshi,

Thanks for update.



On Thursday, February 27, 2014 3:58:28 PM UTC+5:30, Takeshi Hagikura 
(AdWords API Team) wrote:
>
> Hi Chirag,
>
> Thanks for the input. 
>
> I checked it with the relevant engineer. 
> The fix will be applied anytime soon. 
>
> Best,
> - Takeshi, AdWords API Team
>
> On Thursday, February 27, 2014 2:58:07 PM UTC+9, Chirag wrote:
>>
>> Hello Takeshi,
>>
>> I am also facing the same issue with customer service since few days, its 
>> working for most but for few clients it is giving me error 
>> faultMessage=[OperationAccessDenied.ACTION_NOT_PERMITTED @ class 
>> com.google.ads.boulder.api.services.customer.GetAction].
>>
>> requestId=0004f35cdb1621200aa43c0459cb
>>
>> Also need to confirm that accesstoken was fetched from AdWords account 
>> and login has proper permission. I am able to get other services working 
>> properly.
>>
>> I have also same flow, 1. Client authenticate using Oauth2.0 get the 
>> refresh token
>> 2. Call CustomerService.Get() to get the CustomerId
>> 3. Do the get the campaigns using refresh token and CustomerId.
>>
>> Thanks,
>> Chirag
>>
>>
>>
>> On Tuesday, February 25, 2014 6:05:54 PM UTC+5:30, Zweitze wrote:
>>>
>>> Takeshi,
>>>
>>> Indeed there is no CustomerId in the header. Our workflow is like this:
>>> 1. Using an AdWords login (or user), Get the authenticationtoken
>>> 2. Call CustomerService.Get() to get the CustomerId
>>> 3. Do the rest with the authenticationtoken and CustomerId
>>>
>>> This works for most of the AdWords logins, but not that specific login. 
>>> I will mail that login to you.
>>> Indeed this could be related to that other issue - I thought the login 
>>> had administrative access, apparently it does not.
>>>
>>> Regards
>>> Zweitze
>>>
>>> (PS I didn't notice because the forum search function is seriously 
>>> broken... again. Take a look at *this result page* 
>>> to
>>>  
>>> see what I mean: at least this topic should show up. But the forum 
>>> development group is really obnoxious and doesn't appreciate feedback, so I 
>>> stopped bothering. Still... wouldn't it be a good idea to move this forum 
>>> to a better platform?)
>>>
>>>
>>> On Tuesday, February 25, 2014 9:55:53 AM UTC+1, Takeshi Hagikura 
>>> (AdWords API Team) wrote:

 Hi Zwelte, 

 Thanks for the input. 
 Let me confirm, looks like the request doesn't include clientCustomerId 
 header. Is it expected? (Are you using the credential from the AdWords 
 client account?)
 Also can you please let me know from what account you got the auth 
 token? (I'd like to make sure if it has only the read-only permission. The 
 issue we saw a week ago was about that case)

 Best,
 - Takeshi, AdWords API Team

 On Monday, February 24, 2014 7:13:39 PM UTC+9, Zweitze wrote:
>
> Takeshi,
>
> The production server has no SOAP logs, this is from a development 
> machine. The error is the same.
>
> -BEGIN API CALL-
>
> Request
> ---
>
>
> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="
> http://www.w3.org/2001/XMLSchema";>https://adwords.google.com/api/adwords/mcm/v201309";>https://adwords.google.com/api/adwords/cm/v201309";>**  
> xmlns="https://adwords.google.com/api/adwords/cm/v201309";>**  
> xmlns="https://adwords.google.com/api/adwords/cm/v201309";>Adwords API 
> by Maxlead (AwApi-DotNet/16.5.1, Common-Dotnet/2.0.1, .NET 
> CLR/2.0.50727.4247, 
> gzip)https://adwords.google.com/api/adwords/mcm/v201309"; 
> />
>
> Response
> 
>
>
>  xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>https://adwords.google.com/api/adwords/cm/v201309"; xmlns="
> https://adwords.google.com/api/adwords/mcm/v201309";>0004f3241b3ebbd80ade6f854a13CustomerServiceget0265soap:Server[OperationAccessDenied.ACTION_NOT_PERMITTED
>  
> @ class 
> com.google.ads.boulder.api.services.customer.GetAction]  
> xmlns="https://adwords.google.com/api/adwords/mcm/v201309"; xmlns:ns2="
> https://adwords.google.com/api/adwords/cm/v201309";>[OperationAccessDenied.ACTION_NOT_PERMITTED
>  
> @ class 
> com.google.ads.boulder.api.services.customer.GetAction]ApiException  
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="ns2:OperationAccessDenied">OperationAccessDenied.ACTION_NOT_PERMITTEDOperationAccessDeniedACTION_NOT_PERMITTED
> -END API CALL---
>
> Thanks in advance!
>
>
>
>
>
>
> On Monday, February 24, 2014 7:16:15 AM UTC+1, Takeshi Hagikura 
> (AdWords API Team) wrote:
>>
>> Hi Zweltze, 
>>
>> Ok, I'll look into it. 
>> Are 

Get bid landscape for placements

2014-02-27 Thread Luca Fiaschi
Hi,
is it possible to get an estimated bid landscape for placements on the GDN?

I did try following the example 

def get_bid_landscape(client, ad_group_id, criterion_id):
>   # Initialize appropriate service.
>   data_service = client.GetDataService(version='v201309')
>   # Construct bid landscape selector object and retrieve bid landscape.
>   selector = {
>   'fields': ['AdGroupId', 'CriterionId', 'StartDate', 'EndDate', 'Bid',
>  'LocalClicks', 'LocalCost', 'MarginalCpc', 
> 'LocalImpressions'],
>   'predicates': [
>   {
>   'field': 'AdGroupId',
>   'operator': 'EQUALS',
>   'values': [ad_group_id]
>   },
>   {
>   'field': 'CriterionId',
>   'operator': 'EQUALS',
>   'values': [criterion_id]
>   }
>   ]
>   }
>   bid_landscapes = data_service.GetCriterionBidLandscape(selector)[0]
>   # Display results.
>   if 'entries' in bid_landscapes:
> for bid_landscape in bid_landscapes['entries']:
>   if bid_landscape['BidLandscape_Type'] == 'CriterionBidLandscape':
> print ('Criterion bid landscape with ad group id \'%s\', criterion 
> id '
>'\'%s\', start date \'%s\', end date \'%s\', with landscape 
> '
>'points was found:'
>% (bid_landscape['adGroupId'], bid_landscape['criterionId'],
>   bid_landscape['startDate'], bid_landscape['endDate']))
> for bid_landscape_point in bid_landscape['landscapePoints']:
>   print ('  bid: %s => clicks: %s, cost: %s, marginalCpc: %s, '
>  'impressions: %s'
>  % (bid_landscape_point['bid']['microAmount'],
> bid_landscape_point['clicks'],
> bid_landscape_point['cost']['microAmount'],
> bid_landscape_point['marginalCpc']['microAmount'],
> bid_landscape_point['impressions']))
>   else:
> print 'No bid landscapes found.'
>   print
>   print ('Usage: %s units, %s operations' % (client.GetUnits(),
>  client.GetOperations()))


from the examples of the Python API 
providing the id of a bid landscape as criterion id, however I get always 
the answer:


Usage: 0 units, 0 operations
No bid landscapes found.

is this estimator even defined for Placements?


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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: QuotaCheckError.INCOMPLETE_SIGNUP on report download

2014-02-27 Thread ma_doubleclick

>
> Ben - I'm attempting to do the same thing.  Would you be willing to share 
> your the contents of your SSIS script component?
>
 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/groups/opt_out.


ImageError.SERVER_ERROR when creating ads

2014-02-27 Thread Rodrigo Ferreira
Hi there,

I am experience the following error when I perform calls to "mutate ADD" 
image ads.

It seems random and not dependent on input.

How should I go about it?

Thanks in advance!

Best,
Rodrigo

http://schemas.xmlsoap.org/soap/envelope/";>

https://adwords.google.com/api/adwords/cm/v201309";>
0004f2f24d7d1c980ae064432285
AdGroupAdService
mutate
0
10183




soap:Server
[ImageError.SERVER_ERROR @ operations[0].operand.ad.image.data]


https://adwords.google.com/api/adwords/cm/v201309";>
[ImageError.SERVER_ERROR @ 
operations[0].operand.ad.image.data]
ApiException
http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="ImageError">
operations[0].operand.ad.image.data

ImageError.SERVER_ERROR
ImageError
SERVER_ERROR







-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/groups/opt_out.


PPC Campaign suspended

2014-02-27 Thread Nicola Buck
Hi, 

I'm not sure if this is the right forum to ask this question in, but I am 
looking for some advice.

I have had a campaign suspended and we have been in contact with Google 
etc., and made changes to our site and wording but they are still saying 
they can't approve it. 
Besides for wording on the landing pages, are there other things to look at 
that may affect the approval? 

Will changing the wording of the actual ads also make a difference?

Any suggestions would be much appreciated.

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.
For more options, visit https://groups.google.com/groups/opt_out.


filtering keywords

2014-02-27 Thread BigBoss#111
I have a slightly different problem. I have a big list of science terms I 
want to use on our site that customers can use to search some products. The 
problem is, the synonym list is huge & only about 5% of the words are 
actually searched. Is there a way to use this tool to filter out unsearched 
words?

The traffic on even the popular ones is pretty low so make turning them 
into an Adwords campaign wouldn't be terribly profitable.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/groups/opt_out.


SOAP-ERROR parsing WSDL

2014-02-27 Thread Mathis Lübbers

Hey,
my problem is that i get following error message when I try to do an 
example like "GetCampaigns" with a test account:

An error has occurred: SOAP-ERROR: Parsing WSDL: Couldn't load from 
'https://adw 
ords.google.com/api/adwords//api/adwords/cm/v201309/CampaignService?wsdl' : 
fail ed to load external entity 
"https://adwords.google.com/api/adwords//api/adwords/ 
cm/v201309/CampaignService?wsdl"

I enabled openSSL in php.ini and don't find anything that helps me to solve 
the problem. 
I use xampp and changed all the relevant information in auth.ini (I got 
Refresh Token) 
 Any ideas? 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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: How to handle upcoming 'matching value' limits when using IN and NOT_IN operators?

2014-02-27 Thread Chris
At any one time I only need the keywords for one campaign. Once I have 
those, I perform some processing, and then move on to the next campaign. To 
pull a report with all the keywords would result in an unnecessary amount 
of parsing.

On Thursday, 27 February 2014 06:42:39 UTC-3, Zweitze wrote:
>
> Sure you can do paging. For the first report ask for the first set of 
> 10,000, for the second report ask for the second set of 10,000 etc.etc.
>
> But I don't understand why you need this. Why don't you ask a report with 
> all keywords?
> I can get a keyword report covering 500,000 keywords without any problem. 
> But I also ask for the results segmented by date, and when the period is 
> too big I get errors (I believe timeouts). In that case I cut the period in 
> half and get the first period, then the second. If that times out again, I 
> cut the period in half again etc.
>
> Hope this helps.
>
>
> On Thursday, February 27, 2014 12:43:39 AM UTC+1, Chris wrote:
>>
>> Hi Guys,
>>
>> As explained in this blog post 
>> http://googleadsdeveloper.blogspot.com.br/2014/01/ensuring-reliable-performance-with-new.htmlthere
>>  will soon be an enforced 
>> limit of 10,000 matching values when requesting reports with Selectors 
>> using the IN and NOT_IN operators. Currently I have an application that 
>> requests keyword performance reports using a Selector with 
>> PredicateOperator.IN and one campaign ID value i.e. requests a report per 
>> campaign, with just the keywords of that campaign.
>>
>> I have campaigns that contain more than 10,000 keywords.
>>
>> So, my question is what options are there for continuing to get reports 
>> with all the keywords for a campaign in? Can I perform some kind of paging, 
>> whereby I request reports with keywords 1 - 10,000, then 10,001 to 20,000 
>> etc? Ideally I would like to avoid having to download a report per ad-group.
>>
>> Any suggestions are much appreciated!
>>
>> Chris
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://adwords.google.com/api/adwords/cm/v201309/CampaignService?wsdl' : failed to load external entity

2014-02-27 Thread Mathis Lübbers
Hello! I have the same problem. Is there any solution?

Am Mittwoch, 8. Januar 2014 05:35:35 UTC+1 schrieb Mehul HvInfotech:
>
> Hello All,
> we are getting the Soap Error During the Google Campaign pause event with 
> Api ..
> We are using version *v201309*
> The Original Error is as below 
>
>
> *SOAP-ERROR: Parsing WSDL: Couldn't load from 
> 'https://adwords.google.com/api/adwords/cm/v201309/CampaignService?wsdl 
> ' : 
> failed to load external entity 
> "https://adwords.google.com/api/adwords/cm/v201309/CampaignService?wsdl 
> "*
>
> *we have Checked for Open SSL enabled Or not.. So It is Enabled we checked 
> by printing phpinfo().*
>
> *The Variable for Open SSL is showing as below ..*
>
>
> 
>
> *Can any one suggest in this ?*
>
>
>  
>
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: How to handle upcoming 'matching value' limits when using IN and NOT_IN operators?

2014-02-27 Thread mm
Hey Chris -
I believe that the limit is on the number of values you are using in the 
selector, not the number of entities that it will match. So in your case, 
if your request is for a report for a single campaign, then you shouldn't 
need to page at all. Also, it appears that this limitation is just when 
using the "IN" & "NOT IN" Operators - if you're requesting a single 
campaign, you could also use EQUAL and skip worrying about it altogether. 
However, you also could make a single "IN" request with all the campaignIds 
that you are interested in and parse that one report which would save you 
additional trips across the wire. In my experience, that time far exceeds 
the time needed to parse the returned report.

HTH -
Margaret

On Thursday, February 27, 2014 8:52:57 AM UTC-6, Chris wrote:
>
> At any one time I only need the keywords for one campaign. Once I have 
> those, I perform some processing, and then move on to the next campaign. To 
> pull a report with all the keywords would result in an unnecessary amount 
> of parsing.
>
> On Thursday, 27 February 2014 06:42:39 UTC-3, Zweitze wrote:
>>
>> Sure you can do paging. For the first report ask for the first set of 
>> 10,000, for the second report ask for the second set of 10,000 etc.etc.
>>
>> But I don't understand why you need this. Why don't you ask a report with 
>> all keywords?
>> I can get a keyword report covering 500,000 keywords without any problem. 
>> But I also ask for the results segmented by date, and when the period is 
>> too big I get errors (I believe timeouts). In that case I cut the period in 
>> half and get the first period, then the second. If that times out again, I 
>> cut the period in half again etc.
>>
>> Hope this helps.
>>
>>
>> On Thursday, February 27, 2014 12:43:39 AM UTC+1, Chris wrote:
>>>
>>> Hi Guys,
>>>
>>> As explained in this blog post 
>>> http://googleadsdeveloper.blogspot.com.br/2014/01/ensuring-reliable-performance-with-new.htmlthere
>>>  will soon be an enforced 
>>> limit of 10,000 matching values when requesting reports with Selectors 
>>> using the IN and NOT_IN operators. Currently I have an application that 
>>> requests keyword performance reports using a Selector with 
>>> PredicateOperator.IN and one campaign ID value i.e. requests a report per 
>>> campaign, with just the keywords of that campaign.
>>>
>>> I have campaigns that contain more than 10,000 keywords.
>>>
>>> So, my question is what options are there for continuing to get reports 
>>> with all the keywords for a campaign in? Can I perform some kind of paging, 
>>> whereby I request reports with keywords 1 - 10,000, then 10,001 to 20,000 
>>> etc? Ideally I would like to avoid having to download a report per ad-group.
>>>
>>> Any suggestions are much appreciated!
>>>
>>> Chris
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: How to handle upcoming 'matching value' limits when using IN and NOT_IN operators?

2014-02-27 Thread Chris
Hi,

Yeah, I was wondering about this. Based on "enforcing a limit of 10,000 
matching values as arguments for the IN and NOT_IN operators:" it would 
appear that I do not need to worry - I am only passing in one argument ... 
and actually now I again, it is perhaps less ambiguous than I thought, as 
'matching values' is always mentioned in reference to the query, and not 
the result.

If anyone on the API team is able to confirm that is the case, and that my 
query against keywords in 1 campaign returning results of more than 10,000 
keywords is okay, that would be great!

Thanks

On Thursday, 27 February 2014 12:17:29 UTC-3, mm wrote:
>
> Hey Chris -
> I believe that the limit is on the number of values you are using in the 
> selector, not the number of entities that it will match. So in your case, 
> if your request is for a report for a single campaign, then you shouldn't 
> need to page at all. Also, it appears that this limitation is just when 
> using the "IN" & "NOT IN" Operators - if you're requesting a single 
> campaign, you could also use EQUAL and skip worrying about it altogether. 
> However, you also could make a single "IN" request with all the campaignIds 
> that you are interested in and parse that one report which would save you 
> additional trips across the wire. In my experience, that time far exceeds 
> the time needed to parse the returned report.
>
> HTH -
> Margaret
> On Thursday, February 27, 2014 8:52:57 AM UTC-6, Chris wrote:
>>
>> At any one time I only need the keywords for one campaign. Once I have 
>> those, I perform some processing, and then move on to the next campaign. To 
>> pull a report with all the keywords would result in an unnecessary amount 
>> of parsing.
>>
>> On Thursday, 27 February 2014 06:42:39 UTC-3, Zweitze wrote:
>>>
>>> Sure you can do paging. For the first report ask for the first set of 
>>> 10,000, for the second report ask for the second set of 10,000 etc.etc.
>>>
>>> But I don't understand why you need this. Why don't you ask a report 
>>> with all keywords?
>>> I can get a keyword report covering 500,000 keywords without any 
>>> problem. But I also ask for the results segmented by date, and when the 
>>> period is too big I get errors (I believe timeouts). In that case I cut the 
>>> period in half and get the first period, then the second. If that times out 
>>> again, I cut the period in half again etc.
>>>
>>> Hope this helps.
>>>
>>>
>>> On Thursday, February 27, 2014 12:43:39 AM UTC+1, Chris wrote:

 Hi Guys,

 As explained in this blog post 
 http://googleadsdeveloper.blogspot.com.br/2014/01/ensuring-reliable-performance-with-new.htmlthere
  will soon be an enforced 
 limit of 10,000 matching values when requesting reports with Selectors 
 using the IN and NOT_IN operators. Currently I have an application that 
 requests keyword performance reports using a Selector with 
 PredicateOperator.IN and one campaign ID value i.e. requests a report per 
 campaign, with just the keywords of that campaign.

 I have campaigns that contain more than 10,000 keywords.

 So, my question is what options are there for continuing to get reports 
 with all the keywords for a campaign in? Can I perform some kind of 
 paging, 
 whereby I request reports with keywords 1 - 10,000, then 10,001 to 20,000 
 etc? Ideally I would like to avoid having to download a report per 
 ad-group.

 Any suggestions are much appreciated!

 Chris

>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: OperationAccessDenied.ACTION_NOT_PERMITTED on CustomerService.Get()

2014-02-27 Thread Rob
Hi Takeshi,

If it helps, I've found this is only failing intermittently. The following 
request gave two different responses at various times.



http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:ns1="https://adwords.google.com/api/adwords/mcm/v201309"; xmlns:ns2="
https://adwords.google.com/api/adwords/cm/v201309";>REDACTED9088114776REDACTEDICC
 
NTL


Working response:

HTTP/1.1 200 OK

Date: Thu, 27 Feb 2014 16:34:09 GMT

http://schemas.xmlsoap.org/soap/envelope/";>https://adwords.google.com/api/adwords/cm/v201309"; xmlns="
https://adwords.google.com/api/adwords/mcm/v201309";>0004f365e3f81f100adb052a7561CustomerServiceget0252https://adwords.google.com/api/adwords/mcm/v201309"; xmlns:ns2="
https://adwords.google.com/api/adwords/cm/v201309";>9088114776GBPEurope/LondonAerial
 
Forcefalsefalse


Failed response:

HTTP/1.1 500 Internal Server Error

Date: Thu, 27 Feb 2014 16:34:12 GMT

http://schemas.xmlsoap.org/soap/envelope/";>https://adwords.google.com/api/adwords/cm/v201309"; xmlns="
https://adwords.google.com/api/adwords/mcm/v201309";>0004f365e42f67680adb08446369CustomerServiceget0169soap:Server[OperationAccessDenied.ACTION_NOT_PERMITTED
 
@ class 
com.google.ads.boulder.api.services.customer.GetAction]https://adwords.google.com/api/adwords/mcm/v201309"; xmlns:ns2="
https://adwords.google.com/api/adwords/cm/v201309";>[OperationAccessDenied.ACTION_NOT_PERMITTED
 
@ class 
com.google.ads.boulder.api.services.customer.GetAction]ApiExceptionhttp://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="ns2:OperationAccessDenied">OperationAccessDenied.ACTION_NOT_PERMITTEDOperationAccessDeniedACTION_NOT_PERMITTED



On Thursday, 27 February 2014 10:28:28 UTC, Takeshi Hagikura (AdWords API 
Team) wrote:
>
> Hi Chirag,
>
> Thanks for the input. 
>
> I checked it with the relevant engineer. 
> The fix will be applied anytime soon. 
>
> Best,
> - Takeshi, AdWords API Team
>
> On Thursday, February 27, 2014 2:58:07 PM UTC+9, Chirag wrote:
>>
>> Hello Takeshi,
>>
>> I am also facing the same issue with customer service since few days, its 
>> working for most but for few clients it is giving me error 
>> faultMessage=[OperationAccessDenied.ACTION_NOT_PERMITTED @ class 
>> com.google.ads.boulder.api.services.customer.GetAction].
>>
>> requestId=0004f35cdb1621200aa43c0459cb
>>
>> Also need to confirm that accesstoken was fetched from AdWords account 
>> and login has proper permission. I am able to get other services working 
>> properly.
>>
>> I have also same flow, 1. Client authenticate using Oauth2.0 get the 
>> refresh token
>> 2. Call CustomerService.Get() to get the CustomerId
>> 3. Do the get the campaigns using refresh token and CustomerId.
>>
>> Thanks,
>> Chirag
>>
>>
>>
>> On Tuesday, February 25, 2014 6:05:54 PM UTC+5:30, Zweitze wrote:
>>>
>>> Takeshi,
>>>
>>> Indeed there is no CustomerId in the header. Our workflow is like this:
>>> 1. Using an AdWords login (or user), Get the authenticationtoken
>>> 2. Call CustomerService.Get() to get the CustomerId
>>> 3. Do the rest with the authenticationtoken and CustomerId
>>>
>>> This works for most of the AdWords logins, but not that specific login. 
>>> I will mail that login to you.
>>> Indeed this could be related to that other issue - I thought the login 
>>> had administrative access, apparently it does not.
>>>
>>> Regards
>>> Zweitze
>>>
>>> (PS I didn't notice because the forum search function is seriously 
>>> broken... again. Take a look at *this result page* 
>>> to
>>>  
>>> see what I mean: at least this topic should show up. But the forum 
>>> development group is really obnoxious and doesn't appreciate feedback, so I 
>>> stopped bothering. Still... wouldn't it be a good idea to move this forum 
>>> to a better platform?)
>>>
>>>
>>> On Tuesday, February 25, 2014 9:55:53 AM UTC+1, Takeshi Hagikura 
>>> (AdWords API Team) wrote:

 Hi Zwelte, 

 Thanks for the input. 
 Let me confirm, looks like the request doesn't include clientCustomerId 
 header. Is it expected? (Are you using the credential from the AdWords 
 client account?)
 Also can you please let me know from what account you got the auth 
 token? (I'd like to make sure if it has only the read-only permission. The 
 issue we saw a week ago was about that case)

 Best,
 - Takeshi, AdWords API Team

 On Monday, February 24, 2014 7:13:39 PM UTC+9, Zweitze wrote:
>
> Takeshi,
>
> The production server has no SOAP logs, this is from a development 
> machine. The error is the same.
>
> -BEGIN API CALL-
>
> Request
> ---
>
>
> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="
> http://www.w3.org/2001/XMLSchema";>https://adwords.google.com/api/adwords/mcm/v201309";>ht

MaxCPC from DISPLAY_KEYWORD_PERFORMANCE_REPORT unexpected behaviour

2014-02-27 Thread Luca Fiaschi
Hi,
I am querying the maxCPC for some adgroups from 
the DISPLAY_KEYWORD_PERFORMANCE_REPORT over a period of 2 months requested 
day by day.

Then I aggregate the information at adGroupId and CampaignId level.

>From my current understanding of the maxCPC field (based on previous 
posts), this value should reflect the current maxCPC bid associated with 
the adGroup. 

Therefore, there should not be any temporal variation with time - it should 
just be the value of the current day bid.
 
However, while for some adGroups this truly constant over time, for some 
others maxCPC has sudden (sensible) fluctuations jumping between two or 
three different values.

Is my understanding wrong or is this a bug in the API?




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Max number of valid access tokens for an account

2014-02-27 Thread HK
Oliver,

Sorry for the delay. I have not tried to set this up, but looking into it 
some more and reading the OAuth 2.0 RFC , 
I came to the conclusion that it isn't safe to assume that you can have 
multiple valid access token and refresh tokens at any given time, even a 
very limited number. So I'm going to maintain one set of tokens in a shared 
SQL database table. Whether this is the best way to do it, I can't say, but 
for our environment, it seems to be the better choice.

Hans

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Getting NameError: global name 'ListType' is not defined with example python

2014-02-27 Thread Ray Tsang (AdWords API Team)
Helen,

I've followed up privately.  In short - this could be caused by case 
insensitive file system or python setting.  Please make sure the file 
system is case sensitive.

Thanks!

--
Ray Tsang (AdWords API Advisor)


On Thursday, February 20, 2014 12:51:14 AM UTC-5, Helen Lau wrote:
>
> Hi,
>
> I've installed adspygoogle on my local VM server.  I'm getting the 
> following msg when running any example py.  Any idea how to fix this? 
>  Thanks in advance!
>
> /googleads-python-lib$ python  
> examples/adspygoogle/adwords/v201306/basic_operations/add_campaigns.py
>
> Traceback (most recent call last):
>
>   File 
> "examples/adspygoogle/adwords/v201306/basic_operations/add_campaigns.py", 
> line 149, in 
>
> main(client)
>
>   File 
> "examples/adspygoogle/adwords/v201306/basic_operations/add_campaigns.py", 
> line 56, in main
>
> budget_id = budget_service.Mutate(budget_operations)[0]['value'][0][
>
>   File 
> "/vagrant/venv/local/lib/python2.7/site-packages/adspygoogle/common/GenericApiService.py",
>  
> line 292, in CallMethod
>
> self._SetHeaders()
>
>   File 
> "/vagrant/venv/local/lib/python2.7/site-packages/adspygoogle/adwords/GenericAdWordsService.py",
>  
> line 122, in _SetHeaders
>
> soap_headers = SOAPpy.Types.headerType(attrs=header_attrs)
>
>   File 
> "/vagrant/venv/local/lib/python2.7/site-packages/adspygoogle/SOAPpy/Types.py",
>  
> line 1338, in __init__
>
> structType.__init__(self, data, "Header", typed, attrs)
>
>   File 
> "/vagrant/venv/local/lib/python2.7/site-packages/adspygoogle/SOAPpy/Types.py",
>  
> line 1250, in __init__
>
> anyType.__init__(self, data, name, typed, attrs)
>
>   File 
> "/vagrant/venv/local/lib/python2.7/site-packages/adspygoogle/SOAPpy/Types.py",
>  
> line 74, in __init__
>
> if type(name) in (ListType, TupleType):
>
> NameError: global name 'ListType' is not defined
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Alert Service required MCC account.

2014-02-27 Thread Ray Tsang (AdWords API Team)
Chirag,

Please also send me, in private, the developer token and customer ID in 
question as well.  Thanks!

On Tuesday, February 25, 2014 12:22:05 AM UTC-5, Chirag wrote:
>
> Hello Ray,
>
> request xml also sent.
>
>
>
> On Tuesday, February 25, 2014 1:41:10 AM UTC+5:30, Ray Tsang (AdWords API 
> Team) wrote:
>>
>> Chirag,
>>
>> I only saw the response xml.  Could I trouble you to send the request XML 
>> as well?
>>
>> Thanks,
>>
>> Ray
>>
>> On Monday, February 24, 2014 7:51:58 AM UTC+1, Chirag wrote:
>>>
>>> Hello Ray,
>>>
>>> Replied to author.
>>>
>>>
>>>
>>> On Wednesday, February 12, 2014 9:17:42 PM UTC+5:30, Ray Tsang (AdWords 
>>> API Team) wrote:

 Chirag,

 Just to confirm, you will need to set the clientCustomerIds to a real 
 CID rather than the sample 00.  If you have changed it to the real 
 CID, please use the "Reply to Author" feature to send me your 
 request/response log/payload.

 Thanks!

 --
 Ray Tsang (AdWords API Advisor)


 On Wednesday, January 8, 2014 4:30:17 AM UTC-5, Chirag wrote:
>
> Hello,
> Any update?
> I am waiting for this.
> As on thread you said this was possible but using API it is not possible.
>
>
>
> On Tuesday, December 3, 2013 10:52:24 PM UTC+5:30, Chirag wrote:
>>
>> Hello Paul,
>>
>> Yes, As you can see in my earlier post, i am using the same code as 
>> your one.
>> But as you are not getting any error, i have tryed once again with no 
>> success.
>> Please see my request id here, getting same error - "An error has 
>> occurred: [AlertError.INVALID_CLIENT_ID_SELECTED @ 
>> selector.query.clientExternalCustomerIds[0]] "
>>
>> My request Id : 
>> requestId=0004eca46e3a88200aa4e603090b
>>
>> My Code : 
>>
>> // Create alert query.
>> $query = new AlertQuery();
>> $query->clientSpec = "ID_LIST";
>> $query->clientCustomerIds = array(00);
>> $query->filterSpec = "ALL";
>> $query->triggerTimeSpec = "ALL_TIME";
>>
>> // Create selector.
>> $selector = new AlertSelector();
>> $selector->query = $query;
>>
>> // Create paging controls.
>> $selector->paging = new Paging(0, 
>> AdWordsConstants::RECOMMENDED_PAGE_SIZE);
>>
>> On Tuesday, December 3, 2013 7:48:09 PM UTC+5:30, Paul Matthews 
>> (AdWords API Team) wrote:
>>>
>>> Hi Chirag,
>>>
>>> Here's the code that I've got:
>>>
>>> $query = new AlertQuery();
>>> $query->clientSpec = "ID_LIST";
>>> $query->clientCustomerIds = array(00);
>>> $query->filterSpec = "ALL";
>>> $query->triggerTimeSpec = "ALL_TIME";
>>> $selector = new AlertSelector();
>>> $selector->query = $query;
>>>  // Create paging controls.
>>> $selector->paging = new Paging(0, 
>>> AdWordsConstants::RECOMMENDED_PAGE_SIZE);
>>>
>>>
>>> Where the value of 00 is my (integer) client ID, with no 
>>> hyphens.
>>>
>>> Regards,
>>>
>>> - Paul, AdWords API Team.
>>>
>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://adwords.google.com/api/adwords/cm/v201309/CampaignService?wsdl' : failed to load external entity

2014-02-27 Thread Ray Tsang (AdWords API Team)
Mathis,

Please confirm if you can fetch the URL via curl or wget.  If not, please 
post the responses. 

Thanks

--
Ray Tsang (AdWords API Advisor)


On Thursday, February 27, 2014 10:07:46 AM UTC-5, Mathis Lübbers wrote:
>
> Hello! I have the same problem. Is there any solution?
>
> Am Mittwoch, 8. Januar 2014 05:35:35 UTC+1 schrieb Mehul HvInfotech:
>>
>> Hello All,
>> we are getting the Soap Error During the Google Campaign pause event with 
>> Api ..
>> We are using version *v201309*
>> The Original Error is as below 
>>
>>
>> *SOAP-ERROR: Parsing WSDL: Couldn't load from 
>> 'https://adwords.google.com/api/adwords/cm/v201309/CampaignService?wsdl 
>> ' : 
>> failed to load external entity 
>> "https://adwords.google.com/api/adwords/cm/v201309/CampaignService?wsdl 
>> "*
>>
>> *we have Checked for Open SSL enabled Or not.. So It is Enabled we 
>> checked by printing phpinfo().*
>>
>> *The Variable for Open SSL is showing as below ..*
>>
>>
>> 
>>
>> *Can any one suggest in this ?*
>>
>>
>>  
>>
>>
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Get MediaId of an ImageAd adToCopyImageFrom

2014-02-27 Thread Takeshi Hagikura (AdWords API Team)
Hi Amaud,

Please see this selector document for 
AdGroupAdService
.

Best,
- Takeshi, AdWords API Team

On Wednesday, February 26, 2014 2:42:41 AM UTC+9, xpander wrote:
>
> Hello,
>
> I need to update an ImageAd. 
> For this i need to set adToCopyImageFrom param with mediaid of the ImageAd.
> How can i get mediaid of an Ad ?
>
> Code sample will be great !
>
> Arnaud
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/groups/opt_out.