Re: Getting Access Token from $_REQUEST["code"] is very slow (PHP)

2013-10-18 Thread g12
I noticed that not just the "getting the acess_token" process is slow, but 
every call made against the adwords account. Like getting the customerIDs 
from adwords test MCC account. I get them all, but taking serious time.


2013. október 17., csütörtök 13:10:58 UTC+2 időpontban g...@mediasales.hu a 
következőt írta:
>
> Hi!
>
> Thanks for your information. 
>
> Sorry for the late answer, we were look after the DNS problem. We tried 
> out two other DNS but its still slow. 
>
> I am using the newest PHP client library  V201309 and OAuth2handler to get 
> the access token. 
> Still, its slow, taking mins even with refresh token.
>
> What could be the problem?
>
> Thanks for your help.
>
> Regards,
> Béla Szabó
>
> 2013. október 10., csütörtök 12:18:44 UTC+2 időpontban Paul Matthews 
> (AdWords API Team) a következőt írta:
>>
>> Hi there,
>>
>> Which version of the php client library are you using as there is no 
>> method getAccessToken on the AdWords user? The request to the OAuth2 
>> servers should be quick. Is there any chance you're having DNS issues or 
>> other networking issues that could slow down the request?
>>
>> As an aside, it's definitely worth caching the access_token between 
>> requests to make sure you get the maximum performance (access_token are 
>> valid for 60 minutes).
>>
>> Regards,
>>
>> - Paul, AdWords API Team.
>>
>> On Tuesday, 8 October 2013 13:45:43 UTC+1, g...@mediasales.hu wrote:
>>>
>>> Hi!
>>>
>>> Since 1-2 week the process of "getAccessToken" is very slow. I am 
>>> sending request with scopes useing OAuth 2.0. After that i am getting the 
>>> code and  calling the method against $user object. 
>>> $user->getAccessToken($code,$callBackUrl); This is success, i get the data 
>>> i want, but it's taking mins.  What should i do? Thanks for any advice.
>>>
>>> Regards,
>>>
>>

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

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

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


Re: Getting Access Token from $_REQUEST["code"] is very slow (PHP)

2013-10-18 Thread Paul Matthews (AdWords API Team)
Hi,

It looks a lot like there's a network connectivity issue between your 
servers and the AdWords servers. Can you try running the code examples on a 
different network to confirm this. You can also use networking tools such 
as traceroute  to diagnose network 
issues. If there are network connectivity issues, you should talk to your 
hosting provider to get it resolved.

Regards,

- Paul, AdWords API Team.

On Friday, 18 October 2013 09:58:42 UTC+1, g...@mediasales.hu wrote:
>
> I noticed that not just the "getting the acess_token" process is slow, but 
> every call made against the adwords account. Like getting the customerIDs 
> from adwords test MCC account. I get them all, but taking serious time.
>
>
> 2013. október 17., csütörtök 13:10:58 UTC+2 időpontban g...@mediasales.hua 
> következőt írta:
>>
>> Hi!
>>
>> Thanks for your information. 
>>
>> Sorry for the late answer, we were look after the DNS problem. We tried 
>> out two other DNS but its still slow. 
>>
>> I am using the newest PHP client library  V201309 and OAuth2handler to 
>> get the access token. 
>> Still, its slow, taking mins even with refresh token.
>>
>> What could be the problem?
>>
>> Thanks for your help.
>>
>> Regards,
>> Béla Szabó
>>
>> 2013. október 10., csütörtök 12:18:44 UTC+2 időpontban Paul Matthews 
>> (AdWords API Team) a következőt írta:
>>>
>>> Hi there,
>>>
>>> Which version of the php client library are you using as there is no 
>>> method getAccessToken on the AdWords user? The request to the OAuth2 
>>> servers should be quick. Is there any chance you're having DNS issues or 
>>> other networking issues that could slow down the request?
>>>
>>> As an aside, it's definitely worth caching the access_token between 
>>> requests to make sure you get the maximum performance (access_token are 
>>> valid for 60 minutes).
>>>
>>> Regards,
>>>
>>> - Paul, AdWords API Team.
>>>
>>> On Tuesday, 8 October 2013 13:45:43 UTC+1, g...@mediasales.hu wrote:

 Hi!

 Since 1-2 week the process of "getAccessToken" is very slow. I am 
 sending request with scopes useing OAuth 2.0. After that i am getting the 
 code and  calling the method against $user object. 
 $user->getAccessToken($code,$callBackUrl); This is success, i get the data 
 i want, but it's taking mins.  What should i do? Thanks for any advice.

 Regards,

>>>

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

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

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


Re: CampaignService returns

2013-10-18 Thread Danial Klimkin
Hello Hans,


The fix is ready and in testing now. I'll update this thread once we have 
it live.


-Danial, AdWords API Team.


On Thursday, October 17, 2013 8:29:07 PM UTC+4, HK wrote:
>
> Hi, guys
>
> Any ideas when this will be addressed? We have a release sitting waiting 
> to go out with support for v201309 and are trying to plan when we can 
> expect to be able to push it out.
>
> Thanks,
> Hans
>

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

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

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


Re: ForwardCompatibilityMap missing from response campaignservice

2013-10-18 Thread Danial Klimkin
Hello Jeff,


Thank you for the feedback.

I will follow up internally with the teams to improve the way we make 
changes to the FCMaps.


-Danial, AdWords API Team.


On Thursday, October 17, 2013 11:14:23 PM UTC+4, Jeff Theroux wrote:
>
> Danial, it is well documented and understood that new attributes could be 
> added to the FCM between API versions. I think the issue here is it was 
> never made clear that the FCM would change across multiple versions 
> (v201306, v201302) of the API by removing attributes from older versions of 
> the API where the functionality was not exposed. The API doc states:
>
> "A note of caution: Keys exposed in forward compatibility maps will 
> become real attributes of the objects in a future API release; at that 
> point, the API will stop honoring these specific keys in preference of the 
> equivalent attributes."
>
> "keys are exposed/accepted only on API versions that don’t have the 
> functionality already exposed."
>
> That, to me, implies that keys in the FCM will stick around in old API 
> versions (and not be removed) but that new keys can be added at any time to 
> old versions of the API. If the FCM can change (announced or unannounced) 
> across multiple versions the documentation needs to be updated to more 
> explicitly document that behavior. If it's documented that keys can be 
> removed, that will allow developers to put appropriate fallbacks in place
>
> The migration guide / v201309 announcement was posted on the blog on 
> October 3rd and the suggested bid modifier was removed from v201302 and 
> v201306 on October 15th. We were fortunate to be able to push a fix on the 
> same day we noticed it, but seven business days might not allow enough time 
> for all API clients to code and deploy a fix to all production servers. 
>
> My request is the same as Jaap-Jan Frans, to post upcoming 
> backwards-incompatible changes to the mailing list and blog, but also to 
> treat backwards-incompatible changes similar to new API releases and give 
> us more advance notice so we can better plan for it, and do the work at a 
> time that is convenient for us.
>
> Thanks,
>
> Jeff
>
>
>

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

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

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


PyXML is dead project!!

2013-10-18 Thread Wendy Zhou
I am stuck at PyXML as I Googled PyXML is a dead project. Is there any way 
substitute this?


any help?  as I run easy_install PyXML it popup this ' Unable to find 
vcvarsall.bat'!!


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

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

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


Re. AdWords - ManualCPCAdGroupBids

2013-10-18 Thread marsgetit
We have used ManualCPCAdGroupBids in v201209. What is the alternate in 
v201306.

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

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

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


How to extract campaign name from gclid parameter?

2013-10-18 Thread Marco Cabboi
Hi,
is it possible to extract campaign name from glicd parameter?

I'm tracking click on a button, if the user came from an AdWords campagin 
my system add " - Adwords" to the label of the tracking.
In need to add also the name of the campaign the user came from.

I'm not tracking with GA, the client use another tracking system.

Thanks,
Marco

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

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

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


Unable to authenticate using OAuth 2.0

2013-10-18 Thread nitesh malhotra


I am trying to use the google adwords Python library and for authentication 
I am using the client_secrets.json, which I have downloaded from here: 
https://code.google.com/apis/console/

All the examples I have found in python use the following line for 
authentication:

client = AdWordsClient(path=os.path.join('..', '..', '..', '..', '..'))
main(client)

I am trying to replicate that by using:

client = AdWordsClient(path=os.path.join('/home/',''))

but this gives exception: ValidationError: Authentication data is missing.

Can you suggest where am I making mistake?

Thanks,

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

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

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


ManagedCustomerService.get() sometimes returns unreliable results

2013-10-18 Thread Jon Oler
We are seeing strange behavior with ManagedCustomerService.get().  We have 
a large MCC (over 1400 child AdWords accounts).  We are periodically 
calling ManagedCustomerService.get() to detect newly linked/unlinked child 
AdWords accounts.  In other words, we are periodically calling 
ManagedCustomerService.get() to retrieve our entire MCC tree and compare 
with previous results to detect changes.

This normally works just fine.  That is, when we call 
ManagedCustomerService.get(), we get exactly what we expect.  However, we 
are seeing times when our calls are returning unreliable results.  By 
unreliable results, I mean that we make one call to get and receive one 
result.  Then just a minute or so later, we make a second call and get a 
different result.  After just one more minute, we might get the first 
result again.  When this happens what we typically see are one or two 
AdWords accounts are excluded from the results of some of our calls, while 
they are included in other calls.  This situation remains for hours at a 
time (often more than 6 hours).  During this problem time period, it will 
always be the same AdWords accounts that are missing from some of the API 
calls but included in others.  Note that these missing accounts have not 
been removed from our MCC, so they should be in the results of the API 
call.  After many hours of this problematic situation where 
ManagedCustomerService.get() returns unreliable results (sometimes correct 
and sometimes missing a few AdWords accounts), then things will be fine 
again for awhile.  However, it doesn't usually take that long for the 
problem to recur (maybe a day or two).  When the problem does recur, then 
it will typically be different AdWords accounts that are missing from some 
of our API calls.

Our application requires that we detect changes to our MCC pretty quickly, 
so having these periods where ManagedCustomerService returns different 
results from minute to minute is a real problem for us.  From our 
software's point of view, it appears that there are a few random AdWords 
accounts that are added/removed/added/removed/added/removed/etc. over and 
over again during these periods.

Here is some proof from logging the SOAP calls.  Here's the first call. 
 Note the totalNumEntries reported in the result is 1465:

2013-10-15 22:18:47,191 [http-bio-8080-exec-1] INFO 
 AdWordsServiceClient.soapXmlLogger  - SOAP Request:
http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

https://adwords.google.com/api/adwords/mcm/v201302"; 
soapenv:mustUnderstand="0">
https://adwords.google.com/api/adwords/cm/v201302";>xyz
https://adwords.google.com/api/adwords/cm/v201302";>Shanghai: 
Oriental Pearl Tower (AwApi-Java, AdWords-Axis/1.15.2, Common-Java/1.15.2, 
Axis/1.4, Java/1.7.0_21, maven)
https://adwords.google.com/api/adwords/cm/v201302";>false
https://adwords.google.com/api/adwords/cm/v201302";>false



https://adwords.google.com/api/adwords/mcm/v201302";>

https://adwords.google.com/api/adwords/cm/v201302";>CustomerId
https://adwords.google.com/api/adwords/cm/v201302";>Name
https://adwords.google.com/api/adwords/cm/v201302";>CurrencyCode
https://adwords.google.com/api/adwords/cm/v201302";>DateTimeZone
https://adwords.google.com/api/adwords/cm/v201302";>CanManageClients
https://adwords.google.com/api/adwords/cm/v201302";>TestAccount
https://adwords.google.com/api/adwords/cm/v201302";>
0
1000






2013-10-15 22:18:47,191 [http-bio-8080-exec-1] INFO 
 AdWordsServiceClient.soapXmlLogger  - SOAP Response:
http://schemas.xmlsoap.org/soap/envelope/";>

https://adwords.google.com/api/adwords/mcm/v201302"; 
xmlns="https://adwords.google.com/api/adwords/cm/v201302";>
0004e8d3ff3bc7f00aa4bc424348
ManagedCustomerService
get
0
1549
0



https://adwords.google.com/api/adwords/cm/v201302"; 
xmlns:ns2="https://adwords.google.com/api/adwords/mcm/v201302";>

1465
ManagedCustomerPage

Foo
22
false
USD
America/New_York
false

...

Here's the second call, made 3 seconds after the first call.  It's for the 
second page of results, but note that the totalNumEntries reported in the 
response is now 1462:

2013-10-15 22:18:50,197 [http-bio-8080-exec-1] INFO 
 AdWordsServiceClient.soapXmlLogger  - SOAP Request:
http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLS

"[QuotaCheckError.INCOMPLETE_SIGNUP @ ; trigger:'']"

2013-10-18 Thread Viking Xie
Hi,

We've been getting this error for a couple of days. MCC ID:681-400-8614 
test account customer id: 277-894-4771

Request XML:


http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201306";>
  

  277-894-4771
  xxx
  Test (AwApi-PHP/4.6.1, Common-PHP/5.0.0, 
PHP/5.4.0beta2-dev)

  
  

  
Id
Name

  Name
  ASCENDING


  0
  500

  

  


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

https://adwords.google.com/api/adwords/cm/v201306";>
0004e8edb7c4f8780a42c22a30ee
CampaignService
get
0
91




soap:Server
[QuotaCheckError.INCOMPLETE_SIGNUP @ ; 
trigger:'']

https://adwords.google.com/api/adwords/cm/v201306";>
[QuotaCheckError.INCOMPLETE_SIGNUP @ ; 
trigger:'']

ApiException
http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="QuotaCheckError">



QuotaCheckError.INCOMPLETE_SIGNUP
QuotaCheckError
INCOMPLETE_SIGNUP







Please help, we need this to be solved asap.

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

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

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


Re: AuthorizationError.USER_PERMISSION_DENIED Test MCC using a Production Developer Key

2013-10-18 Thread postmaster
Danial,

Thanks for your reply.The test mcc and cloud console are both the same user 
(develo...@aardvarkads.com). So, the user has rights in test mcc as it is 
the default user (in adwords test mcc UI: My Account->Account Access, 
right?).

At any rate, I tried the same code with a different test mcc and cloud 
console account and everything works. The only difference I can see is this 
other account was setup a few days before develo...@aardvarkads.com. Is 
there a setup delay of some sort?

Thanks
Mike

On Wednesday, October 16, 2013 8:59:52 AM UTC-4, Danial Klimkin wrote:
>
> Hello Mike,
>
>
> It looks like the OAuth2 credentials you use don't have access to the test 
> MCC account. Make sure to add the login you are using to the test MCC 
> account with Standard or Administrative rights (via the user interface).
>
>
> -Danial, AdWords API Team.
>
>
> On Thursday, October 10, 2013 2:19:42 PM UTC+4, deve...@aardvarkads.comwrote:
>>
>> Hi,
>>
>> I am trying to make calls using an authenticated (Oauth2 client) mcc test 
>> account (760-716-1008) . I am using the pending developer token from a 
>> production mcc account (532-179-4410).
>>
>>
>> I attached the log files.
>>
>> Please help,
>>
>> Thanks
>> Mike
>>
>>
>>

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

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

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


Re: Ads device preference value

2013-10-18 Thread GrueneOrchidee
Thank you for your answer. 
Maybe I asked the question not exact enough. I want to know which ids I can 
set as device preferences, e.g. 3 or 1 or something like this, when I 
add a new ad. Is there somewhere an overview where I can find all possible 
ids?


Am Donnerstag, 17. Oktober 2013 11:30:13 UTC+2 schrieb Danial Klimkin:
>
> Hello,
>
>
> Please see this article for an overview:
>
>   https://support.google.com/adwords/answer/2909484
>
>
> -Danial, AdWords API Team.
>
>
> On Tuesday, October 15, 2013 3:54:24 PM UTC+4, GrueneOrchidee wrote:
>>
>> What values can be set as device preferences, when I add a new adGroup 
>> ad, e.g. a new textAd? I found only values for the platform targeting:
>> https://developers.google.com/adwords/api/docs/appendix/platforms
>> Are this the same values that can be set?
>>
>

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

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

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


Adwords v201306 - ManualCPCAdGroupBids

2013-10-18 Thread marsgetit
I integrated Adwords  v201209 in my C# application. And I used 
ManualCPCAdGroupBids class to create an object. Now I am trying to upgrade 
the API to v201306. Now I am getting error like
The type or Namespcae Name 'ManualCPCAdGroupBids could not be found.

Can you please tell me what is the alternate for ManualCPCAdGroupBids?

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

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

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


Re: What should I set into dveloperToken(v201302~09)

2013-10-18 Thread adword . aatest
Thank you very much.
I didn't fill billing info.
I'll try this!!

2013年10月16日水曜日 15時24分37秒 UTC+9 Taras:
>
> Have you fill billing info in test account?
>

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

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

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


ManagedCustomerService.get() sometimes returns inconsistent results

2013-10-18 Thread Jon Oler
You read my mind.  I actually just posted to that forum.  I also reported 
an issue from the thing that Morten emailed about in the Adwords UI awhile 
back.  My forum posting doesn't appear to be showing up yet--maybe the 
forum is moderated, so it will take a little while to make it.  It is kind 
of a pain to describe this problem.  Here is what I posted, so hopefully I 
get some kind of an answer:

We are seeing strange behavior with ManagedCustomerService.get().  We have 
a large MCC (over 1400 child AdWords accounts).  We are periodically 
calling ManagedCustomerService.get() to detect newly linked/unlinked child 
AdWords accounts.  In other words, we are periodically calling 
ManagedCustomerService.get() to retrieve our entire MCC tree and compare 
with previous results to detect changes.

This normally works just fine.  That is, when we call 
ManagedCustomerService.get(), we get exactly what we expect.  However, we 
are seeing times when our calls are returning unreliable results.  By 
unreliable results, I mean that we make one call to get and receive one 
result.  Then just a minute or so later, we make a second call and get a 
different result.  After just one more minute, we might get the first 
result again.  When this happens what we typically see are one or two 
AdWords accounts are excluded from the results of some of our calls, while 
they are included in other calls.  This situation remains for hours at a 
time (often more than 6 hours).  During this problem time period, it will 
always be the same AdWords accounts that are missing from some of the API 
calls but included in others.  Note that these missing accounts have not 
been removed from our MCC, so they should be in the results of the API 
call.  After many hours of this problematic situation where 
ManagedCustomerService.get() returns unreliable results (sometimes correct 
and sometimes missing a few AdWords accounts), then things will be fine 
again for awhile.  However, it doesn't usually take that long for the 
problem to recur (maybe a day or two).  When the problem does recur, then 
it will typically be different AdWords accounts that are missing from some 
of our API calls.

Our application requires that we detect changes to our MCC pretty quickly, 
so having these periods where ManagedCustomerService returns different 
results from minute to minute is a real problem for us.  From our 
software's point of view, it appears that there are a few random AdWords 
accounts that are added/removed/added/removed/added/removed/etc. over and 
over again during these periods.

Here is some proof from logging the SOAP calls.  Here's the first call. 
 Note the totalNumEntries reported in the result is 1465:

2013-10-15 22:18:47,191 [http-bio-8080-exec-1] INFO 
 AdWordsServiceClient.soapXmlLogger  - SOAP Request:
http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="
http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance";>

https://adwords.google.com/api/adwords/mcm/v201302"; 
soapenv:mustUnderstand="0">
https://adwords.google.com/api/adwords/cm/v201302";>xyz
https://adwords.google.com/api/adwords/cm/v201302";>Shanghai: Oriental Pearl 
Tower (AwApi-Java, AdWords-Axis/1.15.2, Common-Java/1.15.2, Axis/1.4, 
Java/1.7.0_21, maven)
https://adwords.google.com/api/adwords/cm/v201302";>false
https://adwords.google.com/api/adwords/cm/v201302
">false



https://adwords.google.com/api/adwords/mcm/v201302";>

https://adwords.google.com/api/adwords/cm/v201302";>CustomerId
https://adwords.google.com/api/adwords/cm/v201302";>Name
https://adwords.google.com/api/adwords/cm/v201302";>CurrencyCode
https://adwords.google.com/api/adwords/cm/v201302";>DateTimeZone
https://adwords.google.com/api/adwords/cm/v201302
">CanManageClients
https://adwords.google.com/api/adwords/cm/v201302";>TestAccount
https://adwords.google.com/api/adwords/cm/v201302";>
0
1000






2013-10-15 22:18:47,191 [http-bio-8080-exec-1] INFO 
 AdWordsServiceClient.soapXmlLogger  - SOAP Response:
http://schemas.xmlsoap.org/soap/envelope/";>

https://adwords.google.com/api/adwords/mcm/v201302"; xmlns="
https://adwords.google.com/api/adwords/cm/v201302";>
0004e8d3ff3bc7f00aa4bc424348
ManagedCustomerService
get
0
1549
0



https://adwords.google.com/api/adwords/cm/v201302"; xmlns:ns2="
https://adwords.google.com/api/adwords/mcm/v201302";>

1465
ManagedCustomerPage

Foo
22
false
USD
America/New_York
   

Unable to authenticate using Python adwords library

2013-10-18 Thread nitesh malhotra
Hi All,

I am following the instruction from the link: 
https://developers.google.com/adwords/api/docs/first-request here. But I am 
stuck in the first step itself. In python the documentation states to 
authenticate use the snippet 

   1. 
   
   from adspygoogle.adwords.AdWordsClient 

 import AdWordsClient
   from adspygoogle.common import Utils
   client = AdWordsClient(path=os.path.join('..', '..', '..', '..'))
   
   
Where I think the path contains "client_secrets.json". The file 
"client_secrets.json"  exists in my location yet I get ValidationError: 
Authentication data is missing.

Any pointers would be greatly appreciated. The only problen I can think of 
is that I may also require developer token with it but how do I get the 
developer token, it doesn't exist at my MCC path also how would I use the 
developer token, what file-name to use for storing the file.

Thanks in advance,
Nitesh

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

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

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


Re: error 400 bad request client unauthorized

2013-10-18 Thread Danial Klimkin
Hello Taras,


Are you able to retrieve an access token? Refresh token is the one you need 
to store for long-term, while you need an access token for the actual 
request.

In this case, please send us the reporting request you are sending, 
including HTTP headers. Make sure to replace your access and developer 
tokens with "***" though.


-Danial, AdWords API Team.


On Thursday, October 17, 2013 5:13:30 PM UTC+4, Taras wrote:
>
> But how can i get authorization code?
> After that i can call FetchAccessAndRefreshTokens(authorization_code) and 
> all would be OK.
> But I want to get it programmatically.
> I have oauth client id,client secret,refresh token.
> And want to start programm,which would authorize automatically 
> without user intervention
>
> How can i do this?
>
> On Thursday, 17 October 2013 12:22:16 UTC+3, Danial Klimkin wrote:
>>
>> Hi Jooble,
>>
>>
>> Please check the data to be a valid POST request. It looks like it may be 
>> generating a string like:
>>
>> "*&*client_id=[...]&client_secret=[...]&refresh_token=*[...]grant*
>> _type=[...]"
>>
>> note leading "&" and missing "&" before grant_type.
>>
>> We also recommend using one of our client libraries instead of 
>> implementing the flow yourself:
>>
>>   https://developers.google.com/adwords/api/docs/clientlibraries
>>
>>
>> -Danial, AdWords API Team.
>>
>>
>> On Tuesday, October 15, 2013 1:31:02 PM UTC+4, Jooble wrote:
>>>
>>> string grantType = "access_token";
>>> string client_id = "XX";
>>> string refresh_token = "XX";
>>> string url = "https://accounts.google.com/o/oauth2/token";;
>>> string client_secret = "XX";
>>> HttpWebResponse response = null;
>>> try
>>> {
>>> // Create the data to send
>>> StringBuilder data = new StringBuilder();
>>> data.Append("&client_id=" + Uri.EscapeDataString(client_id));
>>> data.Append("&client_secret=" + Uri.EscapeDataString(client_secret));
>>> data.Append("&refresh_token=" + Uri.EscapeDataString(refresh_token));
>>> data.Append("grant_type=" + Uri.EscapeDataString(grantType));
>>>
>>> // Create a byte array of the data to be sent
>>> byte[] byteArray = Encoding.UTF8.GetBytes(data.ToString());
>>>
>>> // Setup the Request
>>> HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
>>> request.Method = "POST";
>>> request.ContentType = "application/x-www-form-urlencoded";
>>> request.ContentLength = byteArray.Length;
>>>
>>> // Write data
>>> Stream postStream = request.GetRequestStream();
>>> postStream.Write(byteArray, 0, byteArray.Length);
>>> postStream.Close();
>>>
>>> // Send Request & Get Response
>>> response = (HttpWebResponse)request.GetResponse();
>>>
>>> using (StreamReader reader = new 
>>> StreamReader(response.GetResponseStream()))
>>> {
>>> // Get the Response Stream
>>> string json = reader.ReadLine();
>>> Console.WriteLine(json);
>>> }
>>> }
>>> catch (WebException e)
>>> {
>>> // This exception will be raised if the server didn't return 200 - OK
>>> // Retrieve more information about the error
>>> if (e.Response != null)
>>> {
>>> using (HttpWebResponse err = (HttpWebResponse)e.Response)
>>> {
>>> Console.WriteLine("The server returned '{0}' with the status code '{1} 
>>> ({2:d})'.",
>>>   err.StatusDescription, err.StatusCode, err.StatusCode);
>>> }
>>> }
>>> }
>>> finally
>>> {
>>> if (response != null) { response.Close(); }
>>> }
>>>
>>>
>>>
>>> I get this error on 
>>> line response = (HttpWebResponse)request.GetResponse();
>>>
>>> I've changed my client id,and so on for "XX"
>>>
>>> I've just get approved developer token and try to download report 
>>> through API and always get error
>>>
>>>
>>> System.Net.WebException: The remote server returned an error: (400) Bad 
>>> Request.
>>>at System.Net.HttpWebRequest.GetResponse()
>>>at WindowsFormsApplication1.Form1.DoAuth2Authorization(AdsUser user) 
>>> in D:\test\WindowsFormsApplication1\Form1.cs:line 342}
>>>
>>>

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

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

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


Re: Ads device preference value

2013-10-18 Thread Danial Klimkin
Hello,


It is "HighEndMobile" from the Platforms reference you've linked (30001).


-Danial, AdWords API Team.


On Thursday, October 17, 2013 1:48:08 PM UTC+4, GrueneOrchidee wrote:
>
> Thank you for your answer. 
> Maybe I asked the question not exact enough. I want to know which ids I 
> can set as device preferences, e.g. 3 or 1 or something like this, when 
> I add a new ad. Is there somewhere an overview where I can find all 
> possible ids?
>
>
> Am Donnerstag, 17. Oktober 2013 11:30:13 UTC+2 schrieb Danial Klimkin:
>>
>> Hello,
>>
>>
>> Please see this article for an overview:
>>
>>   https://support.google.com/adwords/answer/2909484
>>
>>
>> -Danial, AdWords API Team.
>>
>>
>> On Tuesday, October 15, 2013 3:54:24 PM UTC+4, GrueneOrchidee wrote:
>>>
>>> What values can be set as device preferences, when I add a new adGroup 
>>> ad, e.g. a new textAd? I found only values for the platform targeting:
>>> https://developers.google.com/adwords/api/docs/appendix/platforms
>>> Are this the same values that can be set?
>>>
>>

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

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

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


Re: AuthorizationError.USER_PERMISSION_DENIED Test MCC using a Production Developer Key

2013-10-18 Thread Danial Klimkin
Hello Mike,


Sorry but I have to double-check this. The cloud console user is not 
relevant here, the important one is the user you was logged in when you did 
OAuth authorization flow. Can you please log off any Google account, and 
re-try the OAuth flow making sure to log in with the correct user?


-Danial, AdWords API Team.


On Thursday, October 17, 2013 6:24:47 PM UTC+4, postm...@aardvarkads.com 
wrote:
>
> Danial,
>
> Thanks for your reply.The test mcc and cloud console are both the same 
> user (***@aardvarkads.com ). So, the user has 
> rights in test mcc as it is the default user (in adwords test mcc UI: My 
> Account->Account Access, right?).
>
> At any rate, I tried the same code with a different test mcc and cloud 
> console account and everything works. The only difference I can see is this 
> other account was setup a few days before 
> ***@aardvarkads.com. 
> Is there a setup delay of some sort?
>
> Thanks
> Mike
>
> On Wednesday, October 16, 2013 8:59:52 AM UTC-4, Danial Klimkin wrote:
>>
>> Hello Mike,
>>
>>
>> It looks like the OAuth2 credentials you use don't have access to the 
>> test MCC account. Make sure to add the login you are using to the test MCC 
>> account with Standard or Administrative rights (via the user interface).
>>
>>
>> -Danial, AdWords API Team.
>>
>>
>> On Thursday, October 10, 2013 2:19:42 PM UTC+4, deve...@aardvarkads.comwrote:
>>>
>>> Hi,
>>>
>>> I am trying to make calls using an authenticated (Oauth2 client) mcc 
>>> test account (760-716-1008) . I am using the pending developer token from a 
>>> production mcc account (532-179-4410).
>>>
>>>
>>> I attached the log files.
>>>
>>> Please help,
>>>
>>> Thanks
>>> Mike
>>>
>>>
>>>

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

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

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


Re: Internal API error when requesting feed items

2013-10-18 Thread frans
Hi Anash,



Any news on the fix? Just tested syncing feeditems of the feed, we still 
get the unexpected API error.


Thank you!


Kind regards,
Jaap-Jan Frans
bGenius

Op vrijdag 4 oktober 2013 08:46:27 UTC+2 schreef Anash P. Oommen (AdWords 
API Team):
>
> Hi,
>
> Looks like we have a fix in place, but it hasn't been rolled out yet. I've 
> pinged the team for updates. I'll update this thread as I hear from them.
>
> Cheers,
> Anash
>
> On Tuesday, October 1, 2013 6:06:23 PM UTC+5:30, fr...@bgenius.com wrote:
>>
>> Dear API team,
>>
>>
>> Can you please give us an update on this issue?
>> Thank you.
>>
>>
>> Kind regards,
>>
>> Jaap-Jan Frans
>> bGenius
>>
>> Op maandag 16 september 2013 12:37:26 UTC+2 schreef sc...@bgenius.com:
>>>
>>> Hello Anash,
>>>
>>> Do you have an update on this issue?
>>>
>>> Op dinsdag 27 augustus 2013 17:08:53 UTC+2 schreef Anash P. Oommen 
>>> (AdWords API Team):

 Hi,

 I've opened a request with the Feeds team to investigate this further. 
 I'll update this thread as I hear from them.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Tuesday, August 27, 2013 8:30:54 AM UTC+1, fr...@bgenius.com wrote:
>
>
> Dear reader,
>
>
> When requesting feed items for a specific feed via 
> https://adwords.google.com/api/adwords/cm/v201302/FeedItemService we 
> receive an internal API error.
>
> SOAP request:
>
> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="
> http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";>
> 
> https://adwords.google.com/api/adwords/cm/v201302"; 
> soapenv:mustUnderstand="0">
> removed
> removed
> removed
> bGenius (AwApi-Java, AdWords-Axis/1.14.0, 
> Common-Java/1.14.0, Axis/1.4, Java/1.7.0_09, jars)
> false
> false
> 
> 
> 
> https://adwords.google.com/api/adwords/cm/v201302
> ">
> 
> FeedId
> FeedItemId
> AttributeValues
> DevicePreference
> 
> FeedId
> IN
> 571890
> 
> 
> Status
> EQUALS
> ACTIVE
> 
> 
> 0
> 1
> 
> 
> 
> 
> 
>
> SOAP response:
>
> http://schemas.xmlsoap.org/soap/envelope/";>
> 
> https://adwords.google.com/api/adwords/cm/v201302";>
> 0004e4e88ab7a7800ae58943597e
> FeedItemService
> get
> 0
> 2149
> 0
> 
> 
> 
> 
> soap:Server
> 
> [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
> com.google.ads.api.services.common.error.InternalApiError.(InternalApiErro]
> 
> https://adwords.google.com/api/adwords/cm/v201302";>
> 
> [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
> com.google.ads.api.services.common.error.InternalApiError.(InternalApiErro]
> 
> ApiException
> http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="InternalApiError">
> 
> 
> 
> InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
> InternalApiError
> UNEXPECTED_INTERNAL_API_ERROR
> 
> 
> 
> 
> 
> 
>
>
>
> Could you look into this issue for us? If you need any additional 
> information please let me know.
>
>
> Kind regards,
>
> Jaap-Jan Frans
> bGenius
>
>

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

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

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an e

Re: getCriterionBidLandscape

2013-10-18 Thread Josh Radcliff (AdWords API Team)
Hi Gabriel,

The *totalNumEntries* indicates the total number of *CriterionBidLandscape* 
objects. 
 Each *CriterionBidLandscape* can contain multiple *
BidLandscapeLandscapePoint* objects (one per specific bid amount).  Please 
see the following documentation for details:

https://developers.google.com/adwords/api/docs/reference/v201309/DataService.CriterionBidLandscape

Best,
Josh, AdWords API Team

On Thursday, October 10, 2013 9:06:39 AM UTC-4, gabriel@gmail.com wrote:
>
> Hi,
>
> The totalNumEntries returned by the operation getCriterionBidLandscape of 
> the DataService is not correct when I try to use paging.
>
> I am using the .net client library and the version v201306 of the api.
>
> Below is an extract of my code.
>
> Any help will be appreciated.
>
> Thanks in advance,
> Gabriel
>
> // Gets the DataService
> DataService dataService = 
> (DataService)user.GetService(AdWordsService.v201306.DataService);
>  
> // Creates the selector.
> Selector selector = new Selector();
> selector.fields = new string[] { "CampaignId", "StartDate", 
> "EndDate", "LocalImpressions", "LocalClicks", "LocalCost", "Bid", 
> "MarginalCpc" };
>  
> // Creates the predicate to filter the bid lanscapes for the 
> selected keywords
> Predicate criterionPredicate = new Predicate();
> criterionPredicate.field = "CriterionId";
> criterionPredicate.@operator = PredicateOperator.IN;
> criterionPredicate.values = adGroupCriterionPage.entries.Select(k 
> => k.criterion.id.ToString()).ToArray();
>  
> selector.predicates = new Predicate[] { adGroupPredicate, 
> criterionPredicate };
>  
> // Creates paging controls
> selector.paging = new Paging();
> selector.paging.startIndex = 0;
> selector.paging.numberResults = 1;
>  
> CriterionBidLandscapePage criterionBidLandscapePage = null;
> do
> {
> try
> {
> // Gets bid landscapes for the selected keywords
> criterionBidLandscapePage = 
> dataService.getCriterionBidLandscape(selector);
>  
> // Use criterionBidLandscapePage entries data
> }
> catch (Exception ex)
> {
> // Handle Error
> }
>  
> selector.paging.startIndex += 1;
> } 
> while (criterionBidLandscapePage.totalNumEntries > 
> selector.paging.startIndex);
>
>
>
>

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

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

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


Re: V201309 Placement Performance Report - Managed & Automtic

2013-10-18 Thread okiebug1...@gmail.com
OK, thanks Danial.  If possible, please let me know results of your 
inquires into this issue, eta for update/solution or the bad news.
Have a wonderful weekend,
David   

On Monday, October 14, 2013 11:12:56 AM UTC-4, Danial Klimkin wrote:
>
> Hello DK,
>
>
> Thanks for bringing this up. I'll check if we can have a separate column 
> for this property.
>
>
> -Danial, AdWords API Team.
>
>
> On Monday, October 14, 2013 4:04:49 PM UTC+4, okieb...@gmail.com wrote:
>>
>> Happy Columbus Day Google API Team - Quick Question on V201309 and 
>> PLACEMENT_PERFORMANCE_REPORT? 
>> Looking for proper reportDefinition to obtain "Managed" vs "Automatic" 
>> placements field - available via the "Status" column in UI and as 
>> documented here: http://goo.gl/oJV9Te.  Do I need to continue to use two 
>> reports: PLACEMENT_PERFORMANCE_REPORT for Managed placements and 
>> AUTOMATIC_PLACEMENTS_PERFORMANCE_REPORT?
>>
>> DK
>>
>> On Friday, October 11, 2013 11:30:53 AM UTC-4, okieb...@gmail.com wrote:
>>>
>>> Reading the release notes for V201309, I was excited to see
>>>
>>> Placement Performance Report- Automatic placements are now included in 
>>> this report.
>>>
>>> I am now attempting to identify automatic versus managed placements 
>>> within this report.  So I started at the UI and used the tab “Display 
>>> Network” and then navigated to “Placements”.  Noted the column “Status” 
>>> provided me with the information and looked into the documentation for the 
>>> report 
>>> type  and found the API field name.  So I created 
>>> the following report, and low and behold the API output gave me the values 
>>> Paused, Deleted or Active for this and not the Managed, Automatic.
>>>
>>> What should my report definition look like to get column that designates 
>>> a managed vs. automatic placement, like the "Status" column in the UI?
>>>
>>>
>>>  
>>>
>>> 
>>>
>>>   Date
>>>
>>>   AdNetworkType1
>>>
>>>   Status
>>>
>>>   CampaignName
>>>
>>>   AdGroupName
>>>
>>>   DestinationUrl
>>>
>>>   CriteriaDestinationUrl
>>>
>>>   PlacementUrl
>>>
>>>   DisplayName
>>>
>>>   Cost
>>>
>>>   Impressions
>>>
>>>   Clicks
>>>
>>>   Conversions
>>>
>>>   ViewThroughConversions
>>>
>>>   Ctr
>>>
>>>   AverageCpc
>>>
>>>   ConversionRate
>>>
>>>   CostPerConversion
>>>
>>>   ConversionsManyPerClick
>>>
>>>   ConversionValue
>>>
>>> - 
>>>
>>>   20131001
>>>
>>>   20131001
>>>
>>>   
>>>
>>>   
>>>
>>>   Custom PLACEMENT_PERFORMANCE_REPORT
>>>
>>>   PLACEMENT_PERFORMANCE_REPORT
>>>
>>>   CUSTOM_DATE
>>>
>>>   XML
>>>
>>>   
>>>
>>

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

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

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