How to update existing adds depend upon Id's

2014-09-02 Thread krish
 Hi

   I am using adwords api . In my project , I need to update the existing 
adds which are created by me. while creating the adds i am saving the 
campaign id , addgroup id, textAdd ids in the data base and i am creating 
 flag like hasToUpdate(true/flase) . now i want to update the those adds 
depending upon the flag hasToUpdate. Now i want to update the Addtext, 
description line1,description line2, display url,destination url,campaign 
Name, addgroupName depending up on ids which i stored already in database. 
 could you please provide any sample code for this.



Thank you,
JAI

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/29256013-b375-43e7-8fb8-4e100e913f02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to update the adds based in ids

2014-09-02 Thread Naveenkumar kuppili
HI

  while creating adds Iam saving the campaign, add-group ids, addtext ids 
in my db. I want to fetch the campaigns, add-groups . adds based on id and 
i want to update the those adds . is there any way to update adds like this


Thanks,
Naveen

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/02e06895-3e69-4626-af60-1f49a19bec35%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Shared library audiences through API

2014-09-02 Thread techpoint . 2015
Hi,

Is it possible to get list of audience available in *Shared Library - 
Audiences* in clients adword account using API?
I have tried with *SharedCriterionService* but not able to get results. I 
have tried it using V201402.

Thanks,
Anil

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3f642e78-496d-4f5b-9c21-2f1a50b099ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error and adwords Service not found

2014-09-02 Thread Cesar D.
We had a lot of those XML_STREAM_EXC errors, it was yesterday though. 

On Monday, September 1, 2014 4:59:06 PM UTC+2, kamil.gr...@gmail.com wrote:

 Hi, 

 we have the same problem here. Were using v201406.

 Various services randomly returns 'XML_STREAM_EXC'. 

 The problem starts today at 9:21 AM UTC.

 Thanks for your help.


 Kamil




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f3ab99bb-0954-4491-ab6c-c4f47bea3157%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: INCOMPLETE_SIGNUP error returned by Adwords API

2014-09-02 Thread Josh Radcliff (AdWords API Team)
Hi Eli,

Have you tried setting the clientCustomerId 
https://developers.google.com/adwords/api/docs/guides/soap#clientCustomerId 
header 
to the customer ID of one of the *child* AdWords accounts of your test MCC?

Cheers,
Josh, AdWords API Team

On Sunday, August 31, 2014 8:22:01 AM UTC-4, eli@aimeesoft.com wrote:

 Thanks Josh.
 I checked again and we did accept the terms and did enter the billing 
 information as required.
 In any case I used the contact form in the guide you refereed me to and 
 reported the problem.

 Thanks again,
 Eli

 On Friday, August 29, 2014 4:15:11 PM UTC+3, Josh Radcliff (AdWords API 
 Team) wrote:

 Hi Eli,

 Billing info needs to be setup and terms and conditions must be accepted 
 on the *production* MCC (the one with the developer token). I can see 
 that terms  conditions have not been accepted yet on your production MCC. 
 Please follow the instructions in our Common Errors Guide 
 https://developers.google.com/adwords/api/docs/common-errors#QuotaCheckError.
  
 That guide also contains contact information you can use if you have 
 trouble with the billing or terms  conditions setup.

 Cheers,
 Josh, AdWords API Team

 On Thursday, August 28, 2014 10:20:19 AM UTC-4, eli@aimeesoft.com 
 wrote:

 Hi,
 When making requests with a  production key to test a MCC i get an 
 INCOMPLETE_SIGNUP error.
 I followed the instructions in other posts and made sure the billing 
 info is updated and the terms contract has been approved.
 Can you please help?

 Test customer id: 879-695-1428
 Production customer id: 471-076-9636

 Thanks,
 Eli



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ef806198-67a7-4db5-93ac-ce73e454224a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Refresh token usage for downloading adhoc reports

2014-09-02 Thread Josh Radcliff (AdWords API Team)
Hi Amar,

You cannot download reports for all accounts under an MCC in one request, 
but you can take the following approach:

1. Get the list of all accounts under your MCC. See the 
GetAccountHierarchy.java 
https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201406/accountmanagement/GetAccountHierarchy.java
 example 
for one way to do this.
2. For each AdWords account under your MCC, set the clientCustomerId 
https://developers.google.com/adwords/api/docs/guides/soap#clientCustomerId 
to 
the account's customer ID (you can do this in the Java library by calling 
setClientCustomerId on your AdWordsSession), and then submit your report 
request.

Cheers,
Josh, AdWords API Team

On Friday, August 29, 2014 6:05:39 PM UTC-4, AMAR NAYAK wrote:

 Hi Josh,
 Thanks for your reply.
 I want to download an adgroup performance report for multiple client 
 accounts under the MCC account.
 Using client library I saw an example for downloading a report for a 
 particular client account.
 Is there an example somewhere that shows how to pull reports for multiple 
 client accounts.
 I am planning to use Java API .
 Thanks,
 -Amar


 On Friday, August 29, 2014 6:23:19 AM UTC-7, Josh Radcliff (AdWords API 
 Team) wrote:

 Hi Amar,

 You need an OAuth *access token* for any API request, including 
 reporting requests -- see the OAuth2 Guide 
 https://developers.google.com/accounts/docs/OAuth2#basicsteps for an 
 overview of the basic steps for OAuth.

 If you want to construct reporting requests without a client library, 
 check out our Reporting Basics Guide 
 https://developers.google.com/adwords/api/docs/guides/reporting#adhoc, 
 which includes information about the required headers and parameters for 
 reports.

 I'd encourage you to use one of our client libraries, if possible. They 
 handle all of the OAuth requests and responses for you and make using the 
 API much easier all around.

 Cheers,
 Josh, AdWords API Team

 On Friday, August 29, 2014 1:06:10 AM UTC-4, AMAR NAYAK wrote:

 Hi ,
 I need to download couple of performance reports : Adgroup and Campaign 
 performance report using adhoc reports.
 I am going through the v201406 documentation and getting confuse over 
 the usage of refresh token .
 Do we need to use refresh token in adhoc reports ? If yes ,where should 
 I use it?
 Are there any examples of adhoc report downloads not using the client 
 library ?

 Thanks,
 -Amar



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f6af3703-56ee-458b-87f1-3721da3a945c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: how to make a placement whitelist?

2014-09-02 Thread Berry Tsakala


there's no such action in the GUI, AFAIK.

I thought there might be.

I decided to solve my issue by leaving a new campaign disabled until i have 
a first *included *placement, and only then enable it, so that it will not 
run on all possible placements (which is undesired for me for some 
campaigns). 

Thank you.

On Wednesday, August 13, 2014 8:31:33 PM UTC+3, Ray Tsang (AdWords API 
Team) wrote:

 Inaal,

 To make sure I'm aligned on the same page - in the UI, could I trouble you 
 to let me know where you would've performed such function? (Please 
 screenshot, etc in private).

 Thanks!

 Ray

 On Wednesday, August 13, 2014 9:15:13 AM UTC-4, Inaal Haolam wrote:


 1. How can I maintain a positive campaign criterion of mobile 
 placemnets?

 I need to enable only handful of particular placements.

 Until now I just added a negative placemnet criterion for unwanted 
 placements (via negative campaign criterion), a.k.a. blacklist.


 2. Is it necessary to declare the campaign plamcenents as whitelist 
 somehow?

 3. Can you point me to the steps or what are the keywords i'm looking for?


 Thank you





-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2052f753-580c-480b-8659-bf2450cc4961%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


can we do billing with google adwords api

2014-09-02 Thread pavinder naik
hi. How to use google api for making  payment. can we do this.? if yes then 
how to do 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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/45aef6c9-a334-4ece-b9ed-687cdd6a2600%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error and adwords Service not found

2014-09-02 Thread googlereseller
same here, about every 10th request fails:

 curl -s -i 
https://adwords.google.com/api/adwords/cm/v201406/CampaignService?wsdl | 
more
HTTP/1.1 404 Not Found
Content-Type: text/html; charset=UTF-8
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: Fri, 01 Jan 1990 00:00:00 GMT
Date: Mon, 01 Sep 2014 13:01:34 GMT
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE
Transfer-Encoding: chunked

HTML
HEAD
TITLENot Found/TITLE
/HEAD
BODY BGCOLOR=#FF TEXT=#00
H1Not Found/H1
H2Error 404/H2
/BODY
/HTML




On Monday, September 1, 2014 1:47:25 PM UTC+2, Emin Aydan wrote:

 Hi everyone,

 Error:
 Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL
 : Couldn't load from 'https://
 adwords.google.com/api/adwords/cm/v201402/CampaignService?wsdl' : failed 
 to load external entity 
 https://adwords.google.com/api/adwords/cm/v201402/CampaignService?wsdl; 
 in 

 and sometimes
 https://adwords.google.com/api/adwords/cm/v201402/CampaignService?wsdl
 Not Found.

 What's the problem ?


 https://lh4.googleusercontent.com/-liYJu668yBU/VARbTrhNFEI/AGY/62kp9eSbd4A/s1600/Screen%2BShot%2B2014-09-01%2Bat%2B14.37.27.png
 Notes : 
 opensslOpenSSL supportenabledOpenSSL Library VersionOpenSSL 1.0.1e-fips 
 11 Feb 2013OpenSSL Header VersionOpenSSL 1.0.1e-fips 11 Feb 2013


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/61e397ec-615f-4c92-8b7e-dcffdbad224f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


TargetingIdeaService range of dates

2014-09-02 Thread Alex
Hello

I am trying to use PHP TargetingIdeaService (v201402) to get 
TARGETED_MONTHLY_SEARCHES. 
Is it possible to restrict the result of a range of dates, as it happens in 
KeywordPlanner ( http://gyazo.com/568f5499d1096ba05e776a05c135b4f9 )? 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3f3b4425-2e12-4ebd-a095-d41edfa04840%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to get placement list via AWQL for mobile campaign

2014-09-02 Thread Berry Tsakala


correction to the above:

i need to know what placements are active NOW, even if they did 0 
performance so far



On Sunday, August 31, 2014 6:20:10 PM UTC+3, Berry Tsakala wrote:

 it didn't solve my issue; i have a few questions about that:

 1. i'd like to get a list of placement right-now, so I'm confused about 
 the usage of *during* clause: should I write TODAY or give an 
 all-time date range?

 2. in this specific campaign(s), some placements has no stat data 
 (campaigns built  solely for testing). Maybe this is the reason why they 
 don't show up?

 3. the less comfortable route would be using googleads API library.  Can I 
 get those placement lists (negative, positive) on the campaign level, or 
 must I query the adgroup?  in my case, there's only one adgroup for each 
 campaign, anyway.  



 On Wednesday, August 27, 2014 5:36:13 PM UTC+3, Josh Radcliff (AdWords API 
 Team) wrote:

 Hi,

 You should be able to use the Placement Performance Report 
 https://developers.google.com/adwords/api/docs/appendix/reports#placement 
 and 
 differentiate between included/excluded placements via the *IsNegative*
  field.

 Regarding the empty results, could you try adding at least one statistics 
 field such as *Impressions* and let me know if that returns results for 
 you?

 If you're still having trouble after that, please provide a campaign ID 
 so I can investigate further on my side.

 Cheers,
 Josh, AdWords API Team

 On Wednesday, August 27, 2014 3:23:00 AM UTC-4, Berry Tsakala wrote:

 i want to get a list of placement URLs per *mobile* campaign, using 
 AWQL.

1. 

For an exclude mobile campaign, i want to get the list of 
*excluded* placements,
2. 

and for an include mobile campaign, i want to get the list of 
*included* placements,
3. 

For that matter - do mobile-placements differ in API or reference 
than normal placements?

 I tried several versions in several reports, but i can't get them. e.g. 

 Select PlacementUrl, IsNegative 
 from CAMPAIGN_NEGATIVE_KEYWORDS_PERFORMANCE_REPORT 
 where CampaignId=123456789

 returns all excluded placements, only in a non-mobile campaign; The same 
 query for a mobile campaign yields empty result set :(

 More details and trials:

 I tried using *AUTOMATIC_PLACEMENTS_PERFORMANCE_REPORT*:

- but i got a missing during clause error - even though i'm not 
interested in dates.
- even with duration = LAST_30_DAYS, the report came empty
- Also none of the fields in this report is called placement or 
something. 

 For these reports, only an empty result set is returned (i of course 
 verified that my real campaign (different number than show has excluded 
 placements - it does, and many.) :

 select CriteriaParameters, DisplayName, Domain, IsPathExcluded 
 from AUTOMATIC_PLACEMENTS_PERFORMANCE_REPORT where CampaignId=123456789 
 DURING TODAY

 and

 select PlacementUrl 
 from PLACEMENT_PERFORMANCE_REPORT 
 where CampaignId=123456789 DURING LAST_30_DAYS


- btw: also SEARCH_QUERY_PERFORMANCE_REPORT doesn't contain any 
reference to placements (it name implies that this is the report for 
everything...)

 The last hint. maybe it these negative placements were excluded 
 (added) via API: NegativeCampaignCriterion



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d0945fba-56a0-4f59-a79f-5b6f943d9cea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Adwords WSDL down

2014-09-02 Thread googlereseller
About every 10th request gives us a 404:

curl -s -i 
https://adwords.google.com/api/adwords/cm/v201406/CampaignService?wsdl | more
HTTP/1.1 404 Not Found
Content-Type: text/html; charset=UTF-8
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: Fri, 01 Jan 1990 00:00:00 GMT
Date: Mon, 01 Sep 2014 12:56:04 GMT
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE
Transfer-Encoding: chunked

HTML
HEAD
TITLENot Found/TITLE
/HEAD
BODY BGCOLOR=#FF TEXT=#00
H1Not Found/H1
H2Error 404/H2
/BODY
/HTML


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0812ea6a-47da-41ac-87ca-2da97426007f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


how to use google adword api, So that i can change my adwords keywords dynamically.

2014-09-02 Thread pavinder naik
Hi. I am new to Google Ad-words .How to integrate Google Ad-words API to my 
ad-words account so that i can use it easily.  I want to use Google 
Ad-words API to change my Ad-words keywords  dynamically as per relevant 
searches in Google is it possible  to do so ?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/53dd6ee8-605e-4ab4-a075-4de55bf0ceea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Issue retrieving Campaign Budget amount with CampaignService (v201406)

2014-09-02 Thread Gaëtan Gautron
Hi, I try to retrieve some parameters from published campaigns using PHP 
api v201406. In CampaignService documentation is written in Campaign  
Budget section 
https://developers.google.com/adwords/api/docs/reference/v201406/CampaignService.Budget
 
Amount of budget in the local currency for the account. This field can be 
selected using the value Amount.  
When I add Amount in the selector then this key just disappear from the 
result. E.g:

...
[startDate] =
[endDate] =
[budget] = Array
(
[budgetId] =
[name] =
[period] = DAILY
[deliveryMethod] = STANDARD
[referenceCount] =
[isExplicitlyShared] =
[status] =
)

[conversionOptimizerEligibility] = Array...

If I don't add Amount in the selector this key appears but with empty 
content (normal behaviour when a parameter is not requested). E.g:

...
[startDate] =
[endDate] =
[budget] = Array
(
[budgetId] =
[name] =
[period] = DAILY
[amount] =
[deliveryMethod] = STANDARD
[referenceCount] =
[isExplicitlyShared] =
[status] =
)

[conversionOptimizerEligibility] = Array...

Sounds like a bug ?

Thanks for your help,
Gaëtan

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/55baac80-5b6e-424b-a251-70e248bfe294%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error and adwords Service not found

2014-09-02 Thread Tomas Rimkus

Exactly the same problem here with v201406.





-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ddc37871-981d-4cbc-a16f-64871ee85d46%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


AttributeError: 'AdWordsClient' object has no attribute 'GetConversionTrackerService'

2014-09-02 Thread Anup Pathak
Hi there,


I got AttributeError: 'AdWordsClient' object has no attribute 
'GetConversionTrackerService' Error While runnig Adwords Example 
upload_offline_conversions

can any one help me to solve this error.


Thank You!,
 Anup

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f8cacad7-ee31-46fc-9c86-8aa8765d9dee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to get placement list via AWQL for mobile campaign

2014-09-02 Thread Berry Tsakala


it didn't solve my issue; i have a few questions about that:

1. i'd like to get a list of placement right-now, so I'm confused about the 
usage of *during* clause: should I write TODAY or give an all-time date 
range?

2. in this specific campaign(s), some placements has no stat data 
(campaigns built  solely for testing). Maybe this is the reason why they 
don't show up?

3. the less comfortable route would be using googleads API library.  Can I 
get those placement lists (negative, positive) on the campaign level, or 
must I query the adgroup?  in my case, there's only one adgroup for each 
campaign, anyway.  



On Wednesday, August 27, 2014 5:36:13 PM UTC+3, Josh Radcliff (AdWords API 
Team) wrote:

 Hi,

 You should be able to use the Placement Performance Report 
 https://developers.google.com/adwords/api/docs/appendix/reports#placement 
 and 
 differentiate between included/excluded placements via the *IsNegative*
  field.

 Regarding the empty results, could you try adding at least one statistics 
 field such as *Impressions* and let me know if that returns results for 
 you?

 If you're still having trouble after that, please provide a campaign ID so 
 I can investigate further on my side.

 Cheers,
 Josh, AdWords API Team

 On Wednesday, August 27, 2014 3:23:00 AM UTC-4, Berry Tsakala wrote:

 i want to get a list of placement URLs per *mobile* campaign, using AWQL.

1. 

For an exclude mobile campaign, i want to get the list of *excluded* 
placements,
2. 

and for an include mobile campaign, i want to get the list of 
*included* placements,
3. 

For that matter - do mobile-placements differ in API or reference 
than normal placements?

 I tried several versions in several reports, but i can't get them. e.g. 

 Select PlacementUrl, IsNegative 
 from CAMPAIGN_NEGATIVE_KEYWORDS_PERFORMANCE_REPORT 
 where CampaignId=123456789

 returns all excluded placements, only in a non-mobile campaign; The same 
 query for a mobile campaign yields empty result set :(

 More details and trials:

 I tried using *AUTOMATIC_PLACEMENTS_PERFORMANCE_REPORT*:

- but i got a missing during clause error - even though i'm not 
interested in dates.
- even with duration = LAST_30_DAYS, the report came empty
- Also none of the fields in this report is called placement or 
something. 

 For these reports, only an empty result set is returned (i of course 
 verified that my real campaign (different number than show has excluded 
 placements - it does, and many.) :

 select CriteriaParameters, DisplayName, Domain, IsPathExcluded 
 from AUTOMATIC_PLACEMENTS_PERFORMANCE_REPORT where CampaignId=123456789 
 DURING TODAY

 and

 select PlacementUrl 
 from PLACEMENT_PERFORMANCE_REPORT 
 where CampaignId=123456789 DURING LAST_30_DAYS


- btw: also SEARCH_QUERY_PERFORMANCE_REPORT doesn't contain any 
reference to placements (it name implies that this is the report for 
everything...)

 The last hint. maybe it these negative placements were excluded (added) 
 via API: NegativeCampaignCriterion



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/16b25d6b-afec-4640-b47e-94dcb7a7ac4d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Adwords MutateJobService stochastically returning soap fault XML_STREAM_EXC

2014-09-02 Thread Erik Mellegård
We just recently discovered that MutateJobService stochastically returns 
XML_STREAM_EXC when sending the exact same xml envelope.

The xml envelope we send looks like this, using the get method:

soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
  soap:Header
p0:RequestHeader 
xmlns:p0=https://adwords.google.com/api/adwords/cm/v201402;
  p0:clientCustomerId/p0:clientCustomerId
  p0:developerToken/p0:developerToken
  p0:userAgent/p0:userAgent
/p0:RequestHeader
  /soap:Header
  soap:Body
p0:get xmlns:p0=https://adwords.google.com/api/adwords/cm/v201402;
  p0:selector xsi:type=p0:BulkMutateJobSelector 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
p0:includeHistoryfalse/p0:includeHistory
p0:includeStatsfalse/p0:includeStats
p0:jobIds-6078823978290103530/p0:jobIds
  /p0:selector
/p0:get
  /soap:Body
/soap:Envelope

With clientCustomerId, developerToken and userAgent appropriately set.

Most of the time, we get a correct response, saying that the bulk was 
completed:

soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
  soap:Header
ResponseHeader 
xmlns=https://adwords.google.com/api/adwords/cm/v201402;
  requestId00050200966437580aec5c4792007d59/requestId
  serviceNameMutateJobService/serviceName
  methodNameget/methodName
  operations0/operations
  responseTime400/responseTime
/ResponseHeader
  /soap:Header
  soap:Body
getResponse xmlns=https://adwords.google.com/api/adwords/cm/v201402;
  rval xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:type=SimpleMutateJob
Job.TypeSimpleMutateJob/Job.Type
id-6078823978290103530/id
statusCOMPLETED/status
  /rval
/getResponse
  /soap:Body
/soap:Envelope

But sometimes, maybe one out of ten requests, we get this response:

soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
  soap:Body
soap:Fault
  faultcodesoap:Client/faultcode
  faultstringXML_STREAM_EXC/faultstring
/soap:Fault
  /soap:Body
/soap:Envelope

We get when we post this raw on a socket as well as using our client.

This example is using the get method and the MutateJobService, but we 
seem to be getting the same error for other methods and services as well.

We started seeing this error around 9 am UTC today and have never seen it 
before.

Erik Mellegård
Campanja AB

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/99dee1bb-ea7b-452a-ac5e-853dd5db417f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to get placement list via AWQL for mobile campaign

2014-09-02 Thread Berry Tsakala


query = Select PlacementUrl, Clicks from PLACEMENT_PERFORMANCE_REPORT 
where CampaignId IN [196669265,196700705,196697825,197152865,196697945] 
during LAST_WEEK

[empty results]

query = Select PlacementUrl, AverageCpc, IsNegative, Status from 
PLACEMENT_PERFORMANCE_REPORT where CampaignId IN 
[196669265,196700705,196697825,197152865,196697945] during LAST_WEEK
PLACEMENT_PERFORMANCE_REPORT (Aug 25, 2014-Aug 31, 2014)
Placement,Avg. CPC,Is negative,Placement state
mobileappcategory::6,198769,false,enabled
mobileappcategory::6,105550,false,enabled
mobileappcategory::6,134008,false,enabled
mobileappcategory::6,313907,false,enabled
mobileappcategory::60500,291559,false,enabled
Total,171591, --, --

(BTW, why the mobileappcategory?  I need the mobile app themselves

*I'm looking to build 2 reports:*

1. ALL currently included / excluded placements,

2. campaign or adgroup statistics PER PLACEMENT. This example, as the 
above, gives details per mobileAppGroup, except that i didn't ask for it, 
and it doesn't help:

Select PlacementUrl, AverageCpc from PLACEMENT_PERFORMANCE_REPORT where 
CampaignId IN [196669265,196700705,196697825,197152865,196697945] during 
LAST_MONTH




On Wednesday, August 27, 2014 5:36:13 PM UTC+3, Josh Radcliff (AdWords API 
Team) wrote:

 Hi,

 You should be able to use the Placement Performance Report 
 https://developers.google.com/adwords/api/docs/appendix/reports#placement 
 and 
 differentiate between included/excluded placements via the *IsNegative*
  field.

 Regarding the empty results, could you try adding at least one statistics 
 field such as *Impressions* and let me know if that returns results for 
 you?

 If you're still having trouble after that, please provide a campaign ID so 
 I can investigate further on my side.

 Cheers,
 Josh, AdWords API Team

 On Wednesday, August 27, 2014 3:23:00 AM UTC-4, Berry Tsakala wrote:

 i want to get a list of placement URLs per *mobile* campaign, using AWQL.

1. 

For an exclude mobile campaign, i want to get the list of *excluded* 
placements,
2. 

and for an include mobile campaign, i want to get the list of 
*included* placements,
3. 

For that matter - do mobile-placements differ in API or reference 
than normal placements?

 I tried several versions in several reports, but i can't get them. e.g. 

 Select PlacementUrl, IsNegative 
 from CAMPAIGN_NEGATIVE_KEYWORDS_PERFORMANCE_REPORT 
 where CampaignId=123456789

 returns all excluded placements, only in a non-mobile campaign; The same 
 query for a mobile campaign yields empty result set :(

 More details and trials:

 I tried using *AUTOMATIC_PLACEMENTS_PERFORMANCE_REPORT*:

- but i got a missing during clause error - even though i'm not 
interested in dates.
- even with duration = LAST_30_DAYS, the report came empty
- Also none of the fields in this report is called placement or 
something. 

 For these reports, only an empty result set is returned (i of course 
 verified that my real campaign (different number than show has excluded 
 placements - it does, and many.) :

 select CriteriaParameters, DisplayName, Domain, IsPathExcluded 
 from AUTOMATIC_PLACEMENTS_PERFORMANCE_REPORT where CampaignId=123456789 
 DURING TODAY

 and

 select PlacementUrl 
 from PLACEMENT_PERFORMANCE_REPORT 
 where CampaignId=123456789 DURING LAST_30_DAYS


- btw: also SEARCH_QUERY_PERFORMANCE_REPORT doesn't contain any 
reference to placements (it name implies that this is the report for 
everything...)

 The last hint. maybe it these negative placements were excluded (added) 
 via API: NegativeCampaignCriterion



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3a208c19-922e-4b43-93cc-aedce8a0678d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to bid on a placement (mobile) in the API ?

2014-09-02 Thread Berry Tsakala
How to bid on a placement (mobile) in the API ?  
I have a campaign-id, adgroup-id, and placement-URL.

i started to research the solution, but still didn't find which direction 
to take for setting the bid.  
(i have very little experience with adwords API)

maybe there's other terms that i'm missing

(i'm using python-googleads, but an example in any language would help)

Thank you

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7e4e8c20-7731-4cb8-a348-8233e270e5db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: [4-6874000004292] Google Product Taxonomy vs Product Bidding Category

2014-09-02 Thread Jonathan Wu
So far, only the US.
On Sep 2, 2014 7:01 AM, adwords-api@googlegroups.com wrote:

 Hi Jonathan,

 Sorry to hear that this work around won't be feasible for you. I'll ask
 the shopping team again if there's any way to produce the mapping between
 the two category taxonomies. For which countries would you need the mapping?

 Thanks,
 Josh, AdWords API Team

 =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 Also find us on our blog and discussion group:
 http://googleadsdeveloper.blogspot.com/search/label/adwords_api
 https://developers.google.com/adwords/api/community/
 =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

 On 08/29/14 14:01:37 jonathan...@datapop.com wrote:

 This doesn't really help us since our customers are dictating what they
 what their feed to look like and how to bid on it. We have to execute as
 they specify.
 We already made our own mapping between the taxonomies, but again, it's
 not ideal since any change on either side will break it. If you guys could
 provide a service that returns the product bidding category id based on a
 google_product_category string, that would probably be ideal...


 Regards,
 Jonathan Wu


 On Fri, Aug 29, 2014 at 7:12 AM, adwords-api@googlegroups.com wrote:

 Hi Jonathan,

 We have an idea for a work-around to this problem and I was wondering if
 you would be willing to give it a shot. The idea is to use ProductType
 https://developers.google.com/adwords/api/docs/reference/v201406/CampaignCriterionService.ProductType-based
 bidding instead of ProductBiddingCategory
 https://developers.google.com/adwords/api/docs/reference/v201406/CampaignCriterionService.ProductBiddingCategory
 -based bidding.

 *ProductType* is not tied to a predefined category taxonomy -- the
 categories are completely defined by the user when uploading his products
 to Merchant Center. As a result, bidding based on *ProductType* does not
 have the same category mismatch issues as *ProductBiddingCategory*-based
 bidding.

 The work-around is as follows:

1. Update your existing Merchant Center products
https://support.google.com/merchants/answer/188494?hl=en (either
through the API or the UI), copying the Merchant Center
*google_product_category* into the *product_type* for each product.
For new products and ongoing changes to existing products, modify your feed
upload so that you populate *product_type* with the same values that
you use for *google_product_category*.
2. Create your ProductPartitions

 https://developers.google.com/adwords/api/docs/reference/v201406/AdGroupCriterionService.ProductPartition
 using ProductType

 https://developers.google.com/adwords/api/docs/reference/v201406/AdGroupCriterionService.ProductType
  dimensions
that correspond to the *product_type* values in your feed.

 If you are relying on Merchant Center to automatically populate
 *google_product_category* based on the other attributes of your products,
 then step 1 above could be somewhat difficult, as you'll have to first
 upload your feed, then retrieve the products to find each one's
 *google_product_category*, and then upload your feed again with those
 values copied to the *product_type* field. On the other hand, if you are
 already specifying the *google_product_category* in your feeds, then this
 work-around should be relatively straightforward.

 If you're willing to give this a shot, please let me know. I would
 recommend trying this on a small Merchant Center account or a small subset
 of products in your Merchant Center account first just as a
 proof-of-concept. If all goes well then you can expand the approach to a
 larger set of products.

 Thanks,
 Josh, AdWords API Team

 =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 Also find us on our blog and discussion group:
 http://googleadsdeveloper.blogspot.com/search/label/adwords_api
 https://developers.google.com/adwords/api/community/
 =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

 On 08/14/14 16:17:09 jonathan...@datapop.com wrote:

 Any update on this?


 Regards,
 Jonathan Wu


 On Fri, Aug 1, 2014 at 11:42 AM, Josh Radcliff (AdWords API Team) 
 adwordsapiadvisor+j...@google.com wrote:

 Thanks for clarifying. I'm still waiting for some people to get back to me
 on the differences between the two category sets. I'll post an update as
 soon as I have more information.

 Thanks,
 Josh, 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
 

Intermittent issues with AdWords API on Sep 2

2014-09-02 Thread Josh Radcliff (AdWords API Team)
On Monday, September 2nd, many users in Europe encountered problems 
accessing the AdWords API endpoints. The most common errors were of the 
form:

   - Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing 
   WSDL: Couldn't load from 
   'https://adwords.google.com/api/adwords/cm/v201402/CampaignService?wsdl' : 
   failed to load external entity 
   https://adwords.google.com/api/adwords/cm/v201402/CampaignService?wsdl;
   - XML_STREAM_EXC
   
We identified and resolved the root cause of the problem within a few 
hours. If you were impacted by this issue, please retry your failed 
requests.

We apologize for any inconvenience caused by this problem.

Best regards,
Josh, 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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b76eefe8-c0dd-4b84-8b49-f2257b972da5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Intermittent issues with AdWords API on Sep 1

2014-09-02 Thread Josh Radcliff (AdWords API Team)
On Monday, September 1st, many users in Europe encountered problems 
accessing the AdWords API endpoints. The most common errors were of the 
form:

   - Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing 
   WSDL: Couldn't load from '
   https://adwords.google.com/api/adwords/cm/v201402/CampaignService?wsdl' 
   : failed to load external entity 
   https://adwords.google.com/api/adwords/cm/v201402/CampaignService?wsdl;
   - XML_STREAM_EXC
   
We identified and resolved the root cause of the problem within a few 
hours. If you were impacted by this issue, please retry your failed 
requests.

We apologize for any inconvenience caused by this problem.

Best regards,
Josh, 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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f2e1fb10-6208-44a3-a03f-bb524647c182%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: FeedService broken?

2014-09-02 Thread Josh Radcliff (AdWords API Team)
Hi,

Please see our post 
https://groups.google.com/d/msg/adwords-api/0iNXiDL1iP4/5Z0MSG-IpdUJ 
regarding 
this issue.

Best regards,
Josh, AdWords API Team

On Monday, September 1, 2014 7:40:21 AM UTC-4, Alex Schäfer wrote:

 Hi all,

 the FeedService worked fine for me today. Now I have the very strange 
 issue that it fails (see request). 
 I wondering because sometimes it's the FeedService and sometime the 
 FeedItemService with a XML_STREAM_EXC or I get this [WSDL] SOAP-ERROR: 
 Parsing WSDL: Couldn't load from '
 https://adwords.google.com/api/adwords/cm/v201402/CampaignFeedService?wsdl' 
 : failed to load external entity  (Could be FeedItemService or 
 FeedService as well)

 Is anything broken at the moment?

 [Sep 01 2014 13:30:16.00 - ERROR] POST 
 /api/adwords/cm/v201402/FeedService HTTP/1.1
 Host: adwords.google.com
 Connection: Keep-Alive
 User-Agent: PHP-SOAP/5.5.14, gzip
 Accept-Encoding: gzip, deflate
 Content-Encoding: gzip
 Content-Type: text/xml; charset=utf-8
 SOAPAction: 
 Content-Length: 519
 Authorization: 

 ?xml version=1.0 encoding=UTF-8?
 SOAP-ENV:Envelope xmlns:SOAP-ENV=
 http://schemas.xmlsoap.org/soap/envelope/; xmlns:ns1=
 https://adwords.google.com/api/adwords/cm/v201402;
   SOAP-ENV:Header
 ns1:RequestHeader
   ns1:clientCustomerId4130697822/ns1:clientCustomerId
   ns1:developerTokenMyToken/ns1:developerToken
   ns1:userAgentMyUserAgent (AwApi-PHP/5.3.0, Common-PHP/5.3.0, 
 PHP/5.5.14)/ns1:userAgent
 /ns1:RequestHeader
   /SOAP-ENV:Header
   SOAP-ENV:Body
 ns1:get
   ns1:selector
 ns1:fieldsId/ns1:fields
 ns1:fieldsName/ns1:fields
 ns1:fieldsAttributes/ns1:fields
 ns1:fieldsFeedStatus/ns1:fields
 ns1:fieldsOrigin/ns1:fields
 ns1:fieldsSystemFeedGenerationData/ns1:fields
 ns1:predicates
   ns1:fieldFeedStatus/ns1:field
   ns1:operatorEQUALS/ns1:operator
   ns1:valuesACTIVE/ns1:values
 /ns1:predicates
 ns1:predicates
   ns1:fieldId/ns1:field
   ns1:operatorEQUALS/ns1:operator
   ns1:values18849224/ns1:values
 /ns1:predicates
 ns1:paging
   ns1:startIndex0/ns1:startIndex
   ns1:numberResults500/ns1:numberResults
 /ns1:paging
   /ns1:selector
 /ns1:get
   /SOAP-ENV:Body
 /SOAP-ENV:Envelope

 HTTP/1.1 500 Internal Server Error
 Content-Type: text/xml; charset=UTF-8
 Content-Encoding: gzip
 Date: Mon, 01 Sep 2014 11:30:16 GMT
 Expires: Mon, 01 Sep 2014 11:30:16 GMT
 Cache-Control: private, max-age=0
 X-Content-Type-Options: nosniff
 X-Frame-Options: SAMEORIGIN
 X-XSS-Protection: 1; mode=block
 Content-Length: 151
 Server: GSE

 ?xml version=1.0?
 soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
   soap:Body
 soap:Fault
   faultcodesoap:Client/faultcode
   faultstringXML_STREAM_EXC/faultstring
 /soap:Fault
   /soap:Body
 /soap:Envelope


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e4a8ce52-b109-4c8b-aaad-892b1ec8e2cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error and adwords Service not found

2014-09-02 Thread Josh Radcliff (AdWords API Team)
Hi,

Please see our post 
https://groups.google.com/d/msg/adwords-api/0iNXiDL1iP4/5Z0MSG-IpdUJ 
regarding 
this issue.

Best regards,
Josh, AdWords API Team

On Tuesday, September 2, 2014 7:40:40 AM UTC-4, Cesar D. wrote:

 We had a lot of those XML_STREAM_EXC errors, it was yesterday though. 

 On Monday, September 1, 2014 4:59:06 PM UTC+2, kamil.gr...@gmail.com 
 wrote:

 Hi, 

 we have the same problem here. Were using v201406.

 Various services randomly returns 'XML_STREAM_EXC'. 

 The problem starts today at 9:21 AM UTC.

 Thanks for your help.


 Kamil




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/69e5a6c8-b16b-4e43-bdff-ec40fbfe1654%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Adwords MutateJobService stochastically returning soap fault XML_STREAM_EXC

2014-09-02 Thread Josh Radcliff (AdWords API Team)
Hi,

Please see our post 
https://groups.google.com/d/msg/adwords-api/0iNXiDL1iP4/5Z0MSG-IpdUJ 
regarding 
this issue.

Thanks,
Josh, AdWords API Team

On Monday, September 1, 2014 9:25:36 AM UTC-4, Erik Mellegård wrote:

 We just recently discovered that MutateJobService stochastically returns 
 XML_STREAM_EXC when sending the exact same xml envelope.

 The xml envelope we send looks like this, using the get method:

 soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
   soap:Header
 p0:RequestHeader xmlns:p0=
 https://adwords.google.com/api/adwords/cm/v201402;
   p0:clientCustomerId/p0:clientCustomerId
   p0:developerToken/p0:developerToken
   p0:userAgent/p0:userAgent
 /p0:RequestHeader
   /soap:Header
   soap:Body
 p0:get xmlns:p0=https://adwords.google.com/api/adwords/cm/v201402;
   p0:selector xsi:type=p0:BulkMutateJobSelector xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance;
 p0:includeHistoryfalse/p0:includeHistory
 p0:includeStatsfalse/p0:includeStats
 p0:jobIds-6078823978290103530/p0:jobIds
   /p0:selector
 /p0:get
   /soap:Body
 /soap:Envelope

 With clientCustomerId, developerToken and userAgent appropriately set.

 Most of the time, we get a correct response, saying that the bulk was 
 completed:

 soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
   soap:Header
 ResponseHeader xmlns=
 https://adwords.google.com/api/adwords/cm/v201402;
   requestId00050200966437580aec5c4792007d59/requestId
   serviceNameMutateJobService/serviceName
   methodNameget/methodName
   operations0/operations
   responseTime400/responseTime
 /ResponseHeader
   /soap:Header
   soap:Body
 getResponse xmlns=https://adwords.google.com/api/adwords/cm/v201402
 
   rval xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
 xsi:type=SimpleMutateJob
 Job.TypeSimpleMutateJob/Job.Type
 id-6078823978290103530/id
 statusCOMPLETED/status
   /rval
 /getResponse
   /soap:Body
 /soap:Envelope

 But sometimes, maybe one out of ten requests, we get this response:

 soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
   soap:Body
 soap:Fault
   faultcodesoap:Client/faultcode
   faultstringXML_STREAM_EXC/faultstring
 /soap:Fault
   /soap:Body
 /soap:Envelope

 We get when we post this raw on a socket as well as using our client.

 This example is using the get method and the MutateJobService, but we 
 seem to be getting the same error for other methods and services as well.

 We started seeing this error around 9 am UTC today and have never seen it 
 before.

 Erik Mellegård
 Campanja AB


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/15230cef-2e8f-4e14-b089-b26128f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Adwords WSDL down

2014-09-02 Thread Josh Radcliff (AdWords API Team)
Hi,

Please see our post 
https://groups.google.com/d/msg/adwords-api/0iNXiDL1iP4/5Z0MSG-IpdUJ 
regarding 
this issue.

Best regards,
Josh, AdWords API Team

On Monday, September 1, 2014 8:59:46 AM UTC-4, googler...@kennstdueinen.de 
wrote:

 About every 10th request gives us a 404:

 curl -s -i 
 https://adwords.google.com/api/adwords/cm/v201406/CampaignService?wsdl | more
 HTTP/1.1 404 Not Found
 Content-Type: text/html; charset=UTF-8
 Cache-Control: no-cache, no-store, max-age=0, must-revalidate
 Pragma: no-cache
 Expires: Fri, 01 Jan 1990 00:00:00 GMT
 Date: Mon, 01 Sep 2014 12:56:04 GMT
 X-Content-Type-Options: nosniff
 X-Frame-Options: SAMEORIGIN
 X-XSS-Protection: 1; mode=block
 Server: GSE
 Transfer-Encoding: chunked

 HTML
 HEAD
 TITLENot Found/TITLE
 /HEAD
 BODY BGCOLOR=#FF TEXT=#00
 H1Not Found/H1
 H2Error 404/H2
 /BODY
 /HTML




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/eac9c886-3655-4c57-924a-6a2e4e9c82bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ad group mobile bid modifiers in shopping campaigns not working

2014-09-02 Thread GregT
Hi, Anash.

Just wondering if you got any update from the API team last week regarding 
why the ad group mobile bid modifiers for shopping campaigns are not 
permitted through the API, even though you can do it in the UI?

Thanks,
Greg

On Monday, August 25, 2014 10:07:14 AM UTC-5, Anash P. Oommen (AdWords API 
Team) wrote:

 Hi Greg,

 No updates, I'll ping the team again for updates today.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Thursday, August 21, 2014 2:17:33 PM UTC-4, GregT wrote:

 Hi, Anash.

 Any word on this -- particularly as to why adding ad group mobile bid 
 modifiers on shopping campaigns would not be permitted through the API when 
 it works fine through the AdWords UI?  We'd really like to be able to set 
 these, as we previously were on our PLA campaigns.

 Thanks,
 Greg

 On Thursday, August 14, 2014 10:23:14 AM UTC-5, Anash P. Oommen (AdWords 
 API Team) wrote:

 Hi Greg,

 I checked the logs, this is a OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE 
 error that is not getting rethrown correctly. I've filed a request to 
 ensure that the error is handled and rethrown correctly instead of the 
 generic Fault occurred while processing. message. I'll also find out why 
 the operation is not allowed by the API if it is allowed by the UI.

 Cheers,
 Anash P. Oommen
 AdWords API Advisor.

 On Wednesday, August 13, 2014 10:57:14 AM UTC-4, GregT wrote:

 Hi,

 I'm doing final testing of our code to start handling the upcoming 
 migration to shopping campaigns.  One common thing we do on all our 
 campaign types (including PLA, and will need to do on shopping campaigns) 
 is adjust mobile bid modifiers at the ad group and campaign level. 
  However, every attempt at doing this at the ad group level in our test 
 account is failing (campaign level is working fine).  The exact same code 
 is used to manage this for every type of campaign we manage, and has been 
 working (and still does work) on all of them (PLA, search, and display), 
 except for shopping.  We get a very generic error back from the API 
 whenever we do it for a shopping campaign, saying Fault occurred while 
 processing..  An example request/response is below.  We can add/modify 
 these bid modifiers in the AdWords UI, so it's not that shopping campaigns 
 don't support mobile bid modifiers -- the API just appears to have a bug 
 adding them.  

 Could someone please look into this?  We are using v201406 via the 
 latest version of the Java client API, if that matters.

 ?xml version=1.0 encoding=UTF-8?soapenv:Envelope xmlns:soapenv=
 http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd=
 http://www.w3.org/2001/XMLSchema; xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance;
 soapenv:Header
 ns1:RequestHeader xmlns:ns1=
 https://adwords.google.com/api/adwords/cm/v201406; 
 soapenv:mustUnderstand=0
 ns1:clientCustomerIdredacted/ns1:clientCustomerId
 ns1:developerTokenredacted/ns1:developerToken
 ns1:userAgentredacted/ns1:userAgent
 ns1:validateOnlyfalse/ns1:validateOnly
 ns1:partialFailurefalse/ns1:partialFailure
 /ns1:RequestHeader
 /soapenv:Header
 soapenv:Body
 mutate xmlns=
 https://adwords.google.com/api/adwords/cm/v201406;
 operations
 operatorADD/operator
 operand
 adGroupId18347850910/adGroupId
 criterion
 id30001/id
 /criterion
 bidModifier0.49994/bidModifier
 /operand
 /operations
 operations
 operatorADD/operator
 operand
 adGroupId18347851030/adGroupId
 criterion
 id30001/id
 /criterion
 bidModifier0.49994/bidModifier
 /operand
 /operations
 /mutate
 /soapenv:Body
 /soapenv:Envelope
 08-12-14 17:26:54,409  [main] WARN soapXmlLogger - SOAP Response:
 ?xml version=1.0 encoding=UTF-8?soap:Envelope xmlns:soap=
 http://schemas.xmlsoap.org/soap/envelope/;
 soap:Header
 ResponseHeader xmlns=
 https://adwords.google.com/api/adwords/cm/v201406;
 requestId000500762a915dc00a8076c81c009ef5/requestId
 serviceNameAdGroupBidModifierService/serviceName
 methodNamemutate/methodName
 operations2/operations
 responseTime114/responseTime
 /ResponseHeader
 /soap:Header
 soap:Body
 soap:Fault
 faultcodesoap:Server/faultcode
 faultstringFault occurred while processing./faultstring
 /soap:Fault
 /soap:Body
 /soap:Envelope

 Thanks in advance,
 Greg



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/

Re: Get Revenue PPC Report from API

2014-09-02 Thread Josh Radcliff (AdWords API Team)
Hi,

The API reports are organized at various levels, such as account, campaign, 
ad group, keyword, etc. Nearly all reports include a *Cost* column that 
provides the cost associated with each row. If you are bidding on a PPC 
(CPC) basis, then that value should provide the information you need.

Thanks,
Josh, AdWords API Team

On Friday, August 29, 2014 2:42:02 PM UTC-4, Oscar Martinez wrote:

 Hi,

 I would like to know if it's possible to get the Revenue PPC Report from 
 API. In this moment the person in charge need to login into AdWords and 
 export it from there. But it would be useful to get it programatically 
 through AdWords API.

 I have seen the reports list, but I haven't found what report is the 
 Revenue PPC.

 Thank you, 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d9fbedcf-96c4-4f37-b716-47b1a9a6e988%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to update existing adds depend upon Id's

2014-09-02 Thread Josh Radcliff (AdWords API Team)
Hi JAI,

Ads are immutable in the AdWords API, so the only way to simulate an update 
is to REMOVE the existing ad and ADD a new one with the desired values. The 
RemoveAd.java 
https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201406/basicoperations/RemoveAd.java
 and AddTextAds.java 
https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201406/basicoperations/AddTextAds.java
 examples 
show how to do this with the API.

Cheers,
Josh, AdWords API Team

On Tuesday, September 2, 2014 2:46:10 AM UTC-4, jai wrote:

  Hi

I am using adwords api . In my project , I need to update the existing 
 adds which are created by me. while creating the adds i am saving the 
 campaign id , addgroup id, textAdd ids in the data base and i am creating 
  flag like hasToUpdate(true/flase) . now i want to update the those adds 
 depending upon the flag hasToUpdate. Now i want to update the Addtext, 
 description line1,description line2, display url,destination url,campaign 
 Name, addgroupName depending up on ids which i stored already in database. 
  could you please provide any sample code for this.



 Thank you,
 JAI


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5d34d1ea-ec25-4fa8-969f-0d2aeaf9cdfb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to update the adds based in ids

2014-09-02 Thread Josh Radcliff (AdWords API Team)
Hi Naveen,

I just answered a very similar question in another post 
https://groups.google.com/d/msg/adwords-api/y7mMhil2EaE/mmwb9xCk-3QJ. 
Please refer to that post for more information.

Thanks,
Josh, AdWords API Team

On Tuesday, September 2, 2014 2:50:45 AM UTC-4, Naveenkumar kuppili wrote:

 HI

   while creating adds Iam saving the campaign, add-group ids, addtext ids 
 in my db. I want to fetch the campaigns, add-groups . adds based on id and 
 i want to update the those adds . is there any way to update adds like this


 Thanks,
 Naveen


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8e994b72-99aa-4f8c-b22f-aff54cc3abce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


faultString: XML_STREAM_EXC error while creating campaign from java API client

2014-09-02 Thread Andy Steinhäußer
Hi ,

I have an web application which implements Adword APi, It was working 
find till today , 
   But today strangely i have this error while creating campaigns , 
Adgroups  

Application details :

  Java Web application
  Adword APi 2014 02 version
  
Could some body can help me what is the exact problem.
I am not creating XML , I am directly using API library for calls.


below Input :

?xml version=1.0 encoding=UTF-8?
soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:xsd=http://www.w3.org/2001/XMLSchema; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
   soapenv:Header
  ns1:RequestHeader 
xmlns:ns1=https://adwords.google.com/api/adwords/cm/v201402; 
soapenv:mustUnderstand=0
 ns1:clientCustomerId923-704-3581/ns1:clientCustomerId
 ns1:developerTokenNtxnvD8buZsQ_QylPnlNaA/ns1:developerToken
 ns1:userAgentrakuten_de:AdwordAPIClient:v14_09 (AwApi-Java, 
AdWords-Axis/1.32.0, Common-Java/1.32.0, Axis/1.4, Java/1.7.0_25, 
maven)/ns1:userAgent
 ns1:validateOnlyfalse/ns1:validateOnly
 ns1:partialFailurefalse/ns1:partialFailure
  /ns1:RequestHeader
   /soapenv:Header
   soapenv:Body
  mutate xmlns=https://adwords.google.com/api/adwords/cm/v201402;
 operations
operatorADD/operator
operand
   campaignId210806765/campaignId
   campaignName1138 - Baby Bodys Mädchen/campaignName
   name1138 - Baby Bodys Mädchen/name
   statusENABLED/status
   biddingStrategyConfiguration
  biddingStrategyTypeMANUAL_CPC/biddingStrategyType
  biddingStrategySourceADGROUP/biddingStrategySource
  bids 
xmlns:ns2=https://adwords.google.com/api/adwords/cm/v201402; 
xsi:type=ns2:CpcBid
 ns2:bid
ns2:microAmount2/ns2:microAmount
 /ns2:bid
  /bids
   /biddingStrategyConfiguration
   
contentBidCriterionTypeGroupNONE/contentBidCriterionTypeGroup
/operand
 /operations
  /mutate
   /soapenv:Body
/soapenv:Envelope

Error Output:

?xml version=1.0 encoding=UTF-8?soap:Envelope 
xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
soap:Body
soap:Fault
faultcodesoap:Client/faultcode
faultstringXML_STREAM_EXC/faultstring
/soap:Fault
/soap:Body
/soap:Envelope


StackTrace :

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
 faultSubcode: 
 faultString: XML_STREAM_EXC
 faultActor: 
 faultNode: 
 faultDetail: 
{http://xml.apache.org/axis/}stackTrace:XML_STREAM_EXC
at 
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
at 
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
at 
org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:606)


 thx

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8b5a570a-c1c0-4831-98eb-4bfd53a3b99e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Issue with uploading large amounts of data using MutateJobService

2014-09-02 Thread 360gamaster1
Anash,

What is the status of this datastore connection issue?  Is it still 
unresolved?  We are having problems with jobs working for a little while 
and then all jobs just start returning Pending status.  We have already 
added the recommended retry code and they never return Complete status 
after retries.  The jobs also never seem to actually write their info to 
the account..

We posted regarding our issue 
here: 
https://developers.google.com/adwords/api/community/?place=topic%2Fadwords-api%2FPlFEA-V4tpI%2Fdiscussion

The job ids were sent to you as a follow up but we have not received any 
reply.  I am not sure that of our issue is the same as this or a different 
one, but our development is blocked and we really need some feedback.

Thanks,

-Brian

On Friday, August 29, 2014 10:37:46 AM UTC-5, Anash P. Oommen (AdWords API 
Team) wrote:

 Hi Alan, Oliver,

 We have identified the issue at our end, it's a flaky connection to our 
 datastore when creating and reading jobs. We are working on a fix, but 
 meanwhile you can put a retry loop around your code to resubmit the job. 
 MJS can handle the batch size you are providing, so this error needn't be a 
 limiting factor when deciding whether or not to use MJS.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Friday, August 29, 2014 4:21:35 AM UTC-4, Oliver wrote:

 Thanks Alan for the update. Let us know if the changes you make will have 
 an effect.

 Hopefully also the API team will shed some light on this.

 Oliver


 On Friday, August 29, 2014 9:14:44 AM UTC+1, Alan Coleman wrote:

 Hi Oliver,

 Thanks for getting involved, that's an interesting find in the 
 documentation that I haven't seen before. I started this post about the 
 UNEXPECTED_INTERNAL_API_ERROR which I'm sometimes receiving when trying 
 bulk uploads using MJS - Hopefully this is being looked into.

 However there has been issues with MJS nearly finishing my jobs but then 
 just stopping in a *deadlock-like condition*. The SOAP Logs report back 
 as normal and indicate that the job is *pending*.

 There's no way round using the same customerId as that would defeat the 
 object of what we're trying to achieve. 

 If I use adding TextAds as an example, the array that I currently pass 
 to the MJS is constructed in AdGroup order, which is how it comes out of my 
 db, and it's not unusual to be trying to add several TextAds in each 
 AdGroup.

 I'm chunking my ordered array into arrays of 1000 and then looping round 
 through MJS to create jobs of that size, so it's possible that a concurrent 
 job may contain the same AdGroup if the TextAds for that AdGroup have been 
 chunked half way through. I think that is what the following means:

 * jobs operating on the same AdGroups*

 It may be a long shot but a good place for me to start would be to 
 ensure that a particular Adgroup can only appear in one job.

 With regards to:

 Is the creation of multiple Ads within the same AdGroup considered as 
 operating on the adgroup itself?
 If so, is this implying that we shouldn't attempt to create multiple 
 Ads within the same adgroup using MJS?


 I may be wrong, but I've never experienced any problems with writing 
 multiple TextAds or Keywords to a single AdGroup until I started using MJS, 
 and even then it's only when maintaining large job sizes.

 As I said earlier, probably unrelated to the 
 UNEXPECTED_INTERNAL_API_ERROR, but I'm going to make the subtle changes to 
 constructing my MJS anyway.

 Thanks again,



 On Thursday, August 28, 2014 5:09:18 PM UTC+1, Oliver wrote:

 I'm about to do something similar to what Alan is doing and, hence, why 
 I'm also interested in this.

 I see on this page:
 https://developers.google.com/adwords/api/docs/guides/batch-processing

 there is a paragraph that says:


- 

When submitting a lot of concurrent jobs for the same customerId, 
try to reduce the likelihood of jobs operating on the same AdGroups at 
 the 
same time, while maintaining large job sizes. Many unfinished jobs 
 (with 
status of PENDING or PROCESSING) that try to mutate the same set of 
AdGroups may lead to deadlock-like conditions resulting in severe 
 slow-down 
and even job failures.

 I don't know exactly what is being referred to by this term:

  jobs operating on the same AdGroups

 Is the creation of multiple Ads within the same AdGroup considered as 
 operating on the adgroup itself?

 If so, is this implying that we shouldn't attempt to create multiple 
 Ads within the same adgroup using MJS?

 Oliver



 On Thursday, August 28, 2014 10:39:40 AM UTC+1, Alan Coleman wrote:

 Thanks Anash,

 I caught another such error in my SOAP Log this morning, although this 
 time the error returned before any results.

 I'd really appreciate it if you could take a quick look and let me 
 know what you think.

 Many thanks.

 HTTP/1.1 500 Internal Server Error
 Content-Type: text/xml; charset=UTF-8
 Date: Thu, 28 Aug 2014 09:28:48 GMT
 

ADGROUP_PERFORMANCE_REPORT not returning eligible adgroups

2014-09-02 Thread Gigel Chiazna
Hello

I am running an ADGROUP_PERFORMANCE_REPORT and it does not return adgroups 
that are eligible. I do get enabled, removed and paused though. I 
suspect it might be a problem of freshnes but I have no idea how to find 
out for sure. I am not setting any predicates for Status. Any hints?

Thanks,
Gigel

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/248c8067-7e58-48e0-af41-c0536ce97732%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Alert Service returns error for specified client id. (PHP)

2014-09-02 Thread Josh Radcliff (AdWords API Team)
Hi,

You mentioned I see two alerts from AdWOrds Account (not MCC account). -- 
could you tell me what type of alerts they are? You can send screenshots 
only to me by clicking *Reply to Author*. As I mentioned in my prior post, 
though, the AlertService will not return every type of alert that you see 
in the UI, so you won't be able to duplicate the alert list completely 
using the API.

Thanks,
Josh, AdWords API Team

On Monday, September 1, 2014 6:20:17 AM UTC-4, Athlan wrote:

 Thank you for reply.

 On Thursday, August 28, 2014 6:43:11 PM UTC+2, Josh Radcliff (AdWords API 
 Team) wrote:

 Hi,

 For issue #1, the error you are encountering means that the $clientId 
 you are passing here:

 $alertQuery-clientCustomerIds = array($clientId);

 Is either:

 a) Not an existing AdWords customer ID, or
 b) Not an AdWords customer ID to which the request's OAuth credentials 
 has access


 I am sure about both. Customer ID exists in the system, because it is 
 obtained from CustomerService which is accessed via valid OAuth 
 credentials. Customer ID is a 10 digit idntifier.
  


 Regarding the second method, the AlertService only returns a subset of 
 the alert types that you see in the UI.


 I have mentioned all avaliable types and severities in example.
  

 Which types of alerts are you seeing in the UI?


 I see two alerts from AdWOrds Account (not MCC account).

 What I want is read alerts from all users that allows app via OAuth2 to 
 access account.
  


 Thanks,
 Josh, AdWords API Team

 On Thursday, August 28, 2014 9:54:06 AM UTC-4, Athlan wrote:

 Howdy,

 I have notices two issues related with googleads-php-lib.

1. There is no possibility to query alert service from php library 
passing clientId, because exception is thrown (in response you can 
 notice 
clientId = 0 - why?).
2. There is no possibility to query alert service from MCC account 
with customers, that authorized the app via OAuth2.


 I have an app that authorizes users via OAuth2 and uses MCC's user 
 developer key. Everyone who allows application to get into their data, 
 allows to generate on-demand reports, browse the ads configuration etc. But 
 in AlertService there is no entries. The example 
 https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201406/AccountManagement/GetAccountAlerts.php
  
 also returns no entries. My code:

 $ADWORDS_VERSION = 'v201406';
 // Get the service, which loads the required classes.
 $service = $client-GetService('AlertService', $ADWORDS_VERSION);


 $clientId = (int) 'ClientIdWithoutDashes';
 //$clientId = 'ClientIdWithoutDashes'; // i have tried this also...


 $alertQuery = new \AlertQuery();
 $alertQuery-clientSpec = ID_LIST;
 $alertQuery-clientCustomerIds = array($clientId);
 $alertQuery-filterSpec = 'ALL';
 $alertQuery-types = array('ACCOUNT_BUDGET_BURN_RATE',
 'ACCOUNT_BUDGET_ENDING',
 'ACCOUNT_ON_TARGET','CAMPAIGN_ENDED','CAMPAIGN_ENDING',
 'CREDIT_CARD_EXPIRING','DECLINED_PAYMENT',
 'MANAGER_LINK_PENDING','MISSING_BANK_REFERENCE_NUMBER',
 'PAYMENT_NOT_ENTERED','TV_ACCOUNT_BUDGET_ENDING',
 'TV_ACCOUNT_ON_TARGET',
 'TV_ZERO_DAILY_SPENDING_LIMIT','USER_INVITE_ACCEPTED',
 'USER_INVITE_PENDING','ZERO_DAILY_SPENDING_LIMIT');
 $alertQuery-severities = array('GREEN', 'YELLOW', 'RED');
 $alertQuery-triggerTimeSpec = 'ALL_TIME';


 // Create selector.
 $selector = new \AlertSelector();
 $selector-query = $alertQuery;


 // Create paging controls.
 $selector-paging = new \Paging(0, \AdWordsConstants::
 RECOMMENDED_PAGE_SIZE;);


 $result = [];
 $i = 0;


 do {
   // Make the get request.
   $page = $service-get($selector);
   
   // Display results.
   if (isset($page-entries)) {
 foreach ($page-entries as $entry) {
   $result[] = $entry;
 }
   } else {
 // No entries were found.
   }
   
   // Advance the paging index.
   $selector-paging-startIndex += $itemsPerPage;
 }
 while ($page-totalNumEntries  $selector-paging-startIndex);


 return $result;

 I have tried passing $clientId as integer, as Paul Matthews (AdWords 
 API Team) written 
 https://groups.google.com/d/msg/adwords-api/DRjtU7XSRMU/_Q7HfS0P8lkJ 
 and as string with and without dashes.

 I am receiving exception:
 [AlertError.INVALID_CLIENT_ID_SELECTED @ selector.query.
 clientExternalCustomerIds[0]]

 In respons you can see that customerId is equal zero, while I have 
 passed an value...

 While I am using this method:

 $alertQuery = new \AlertQuery();
 $alertQuery-clientSpec = 'ALL';
 $alertQuery-filterSpec = 'ALL';
 $alertQuery-types = array('ACCOUNT_BUDGET_BURN_RATE',
 'ACCOUNT_BUDGET_ENDING',
 'ACCOUNT_ON_TARGET','CAMPAIGN_ENDED','CAMPAIGN_ENDING',
 'CREDIT_CARD_EXPIRING','DECLINED_PAYMENT',
 'MANAGER_LINK_PENDING','MISSING_BANK_REFERENCE_NUMBER',
 'PAYMENT_NOT_ENTERED','TV_ACCOUNT_BUDGET_ENDING',
 'TV_ACCOUNT_ON_TARGET',
 'TV_ZERO_DAILY_SPENDING_LIMIT','USER_INVITE_ACCEPTED',
 

Re: Shared library audiences through API

2014-09-02 Thread Josh Radcliff (AdWords API Team)
Hi Anil,

The AdwordsUserListService 
https://developers.google.com/adwords/api/docs/reference/v201406/AdwordsUserListService
 is 
the one you want to use to retrieve user (audience) lists.

Thanks,
Josh, AdWords API Team

On Tuesday, September 2, 2014 4:27:14 AM UTC-4, techpoi...@gmail.com wrote:

 Hi,

 Is it possible to get list of audience available in *Shared Library - 
 Audiences* in clients adword account using API?
 I have tried with *SharedCriterionService* but not able to get results. I 
 have tried it using V201402.

 Thanks,
 Anil


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d817fa03-92ac-4ae6-9b9e-89e10708e777%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: can we do billing with google adwords api

2014-09-02 Thread Josh Radcliff (AdWords API Team)
Hi,

The AdWords API does not support entering payment information on an 
account. Some users are whitelisted for the BudgetOrderService 
https://developers.google.com/adwords/api/docs/reference/v201406/BudgetOrderService,
 
which allows you to assign budget orders from a billing account to your 
AdWords API accounts. If you are interested in this feature, please contact 
your Google Representative/Account Manager.

Thanks,
Josh, AdWords API Team

On Tuesday, September 2, 2014 9:03:57 AM UTC-4, pavinder naik wrote:

 hi. How to use google api for making  payment. can we do this.? if yes 
 then how to do 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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ed0a0bcd-18bd-4221-938e-f3ffef3d91d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: TargetingIdeaService range of dates

2014-09-02 Thread Josh Radcliff (AdWords API Team)
Hi,

The API does not support custom date ranges. The closest you can get to 
approximating that functionality is to include the 
*TARGETED_MONTHLY_SEARCHES* attribute type you mentioned in your request.

Best regards,
Josh, AdWords API Team

On Tuesday, September 2, 2014 4:55:29 AM UTC-4, Alex wrote:

 Hello

 I am trying to use PHP TargetingIdeaService (v201402) to get 
 TARGETED_MONTHLY_SEARCHES. 
 Is it possible to restrict the result of a range of dates, as it happens 
 in KeywordPlanner ( http://gyazo.com/568f5499d1096ba05e776a05c135b4f9 )? 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/fd771c93-7078-4e12-8915-0afbee456fd7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AttributeError: 'AdWordsClient' object has no attribute 'GetConversionTrackerService'

2014-09-02 Thread Ray Tsang (AdWords API Team)
Anup,

What is the client library that you are using (and version?).  What 
specific error did you receive?

Thanks,

Ray

On Sunday, August 31, 2014 5:26:41 AM UTC-4, Anup Pathak wrote:

 Hi there,


 I got AttributeError: 'AdWordsClient' object has no attribute 
 'GetConversionTrackerService' Error While runnig Adwords Example 
 upload_offline_conversions

 can any one help me to solve this error.


 Thank You!,
  Anup


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/40b8085e-de60-4205-8473-3d5dfd9fca4d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to bid on a placement (mobile) in the API ?

2014-09-02 Thread Josh Radcliff (AdWords API Team)
Hi,

You would do this by creating a Placement 
https://developers.google.com/adwords/api/docs/reference/v201406/AdGroupCriterionService.Placement
 within 
a BiddableAdGroupCriterion 
https://developers.google.com/adwords/api/docs/reference/v201406/AdGroupCriterionService.BiddableAdGroupCriterion,
 
setting the BiddableAdGroupCriterion's bidModifier 
https://developers.google.com/adwords/api/docs/reference/v201406/AdGroupCriterionService.BiddableAdGroupCriterion#bidModifier
 or biddingStrategyConfiguration 
https://developers.google.com/adwords/api/docs/reference/v201406/AdGroupCriterionService.BiddableAdGroupCriterion#biddingStrategyConfiguration,
 
and sending the BiddableAdGroupCriterion to the AdGroupCriterionService 
https://developers.google.com/adwords/api/docs/reference/v201406/AdGroupCriterionService
 in 
a *mutate* call.

This would be similar to adding bids for other types of criteria such as 
keywords. See AddKeywords.java 
https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201406/basicoperations/AddKeywords.java
 for 
an example that uses keywords.

You may also find our Bidding Guide 
https://developers.google.com/adwords/api/docs/guides/bidding helpful if 
you're new to bidding via the API.

Cheers,
Josh, AdWords API Team

On Tuesday, September 2, 2014 10:21:14 AM UTC-4, Berry Tsakala wrote:

 How to bid on a placement (mobile) in the API ?  
 I have a campaign-id, adgroup-id, and placement-URL.

 i started to research the solution, but still didn't find which direction 
 to take for setting the bid.  
 (i have very little experience with adwords API)

 maybe there's other terms that i'm missing

 (i'm using python-googleads, but an example in any language would help)

 Thank you


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/99aacc37-5438-4765-bb5d-ef7417a1bef4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ADGROUP_PERFORMANCE_REPORT not returning eligible adgroups

2014-09-02 Thread Josh Radcliff (AdWords API Team)
Hi Gigel,

If those ad groups do not have any impressions, then you may want to try 
explicitly including zero impression rows 
https://developers.google.com/adwords/api/docs/guides/zero-impression-reports 
in 
your report requests.

Cheers,
Josh, AdWords API Team

On Tuesday, September 2, 2014 1:31:47 PM UTC-4, Gigel Chiazna wrote:

 Hello

 I am running an ADGROUP_PERFORMANCE_REPORT and it does not return adgroups 
 that are eligible. I do get enabled, removed and paused though. I 
 suspect it might be a problem of freshnes but I have no idea how to find 
 out for sure. I am not setting any predicates for Status. Any hints?

 Thanks,
 Gigel


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7f35305d-d1bd-4341-a491-bbb7f48f1461%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: how to use google adword api, So that i can change my adwords keywords dynamically.

2014-09-02 Thread Ray Tsang (AdWords API Team)
Pavinder,

Please review the AdWords API sign-up guide 
https://developers.google.com/adwords/api/docs/signingup, and the related 
documentations/guides https://developers.google.com/adwords/api/.

On the other hand, you can also check out AdWords scripts 
https://developers.google.com/adwords/scripts/, which may suite your use 
cases.

Thanks,

Ray

On Monday, September 1, 2014 10:30:27 AM UTC-4, pavinder naik wrote:

 Hi. I am new to Google Ad-words .How to integrate Google Ad-words API to 
 my ad-words account so that i can use it easily.  I want to use Google 
 Ad-words API to change my Ad-words keywords  dynamically as per relevant 
 searches in Google is it possible  to do so ?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/debde879-5993-40eb-bdbc-d4864dc9f832%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Issue retrieving Campaign Budget amount with CampaignService (v201406)

2014-09-02 Thread Ray Tsang (AdWords API Team)
Gaetan,

Please send me the full request/response SOAP XML in private.

Thanks,

Ray

On Monday, September 1, 2014 4:23:51 AM UTC-4, Gaëtan Gautron wrote:

 Hi, I try to retrieve some parameters from published campaigns using PHP 
 api v201406. In CampaignService documentation is written in Campaign  
 Budget section 
 https://developers.google.com/adwords/api/docs/reference/v201406/CampaignService.Budget
  
 Amount of budget in the local currency for the account. This field can 
 be selected using the value Amount.  
 When I add Amount in the selector then this key just disappear from the 
 result. E.g:

 ...
 [startDate] =
 [endDate] =
 [budget] = Array
 (
 [budgetId] =
 [name] =
 [period] = DAILY
 [deliveryMethod] = STANDARD
 [referenceCount] =
 [isExplicitlyShared] =
 [status] =
 )

 [conversionOptimizerEligibility] = Array...

 If I don't add Amount in the selector this key appears but with empty 
 content (normal behaviour when a parameter is not requested). E.g:

 ...
 [startDate] =
 [endDate] =
 [budget] = Array
 (
 [budgetId] =
 [name] =
 [period] = DAILY
 [amount] =
 [deliveryMethod] = STANDARD
 [referenceCount] =
 [isExplicitlyShared] =
 [status] =
 )

 [conversionOptimizerEligibility] = Array...

 Sounds like a bug ?

 Thanks for your help,
 Gaëtan


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/dafe8381-ae92-4e1f-b885-b85570fbaa21%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to get placement list via AWQL for mobile campaign

2014-09-02 Thread Josh Radcliff (AdWords API Team)
Hi,

Since you are looking for placements that are active, regardless of whether 
or not they have impressions, you'll want to include zero impressions, 
which may require you to explicitly pass the includeZeroImpressions 
https://developers.google.com/adwords/api/docs/guides/zero-impression-reports#reportdefinitonservice
 field, 
in which case you'll have to switch to the XML-based request.

Regarding the mobileAppGroup, you're getting that back because the 
PLACEMENT_PERFORMANCE_REPORT returns all types of placements, not just 
mobile apps. Also, I checked the campaigns from your predicate below, and 
all of them have placements defined in terms of mobile app groups, not 
specific mobile apps. Other campaigns in your account target specific 
mobile apps (e.g., campaign ID 156526025), but not the campaigns in your IN 
clause. If you remove the *CampaignId* predicate altogether you'll see rows 
for those apps.

Finally, regarding dates, this is more relevant if you are interested in 
stats. The date chosen doesn't have any impact on the zero impression rows. 
However, on rows for placements with impressions, the stats such as Cost, 
Impressions, etc., will reflect the values for the date range in your 
*DURING* clause. Also, the *Status* column will reflect the *current* state 
of each placement, regardless of the date range.

Thanks,
Josh, AdWords API Team

On Tuesday, September 2, 2014 10:15:41 AM UTC-4, Berry Tsakala wrote:

 query = Select PlacementUrl, Clicks from PLACEMENT_PERFORMANCE_REPORT 
 where CampaignId IN [196669265,196700705,196697825,197152865,196697945] 
 during LAST_WEEK

 [empty results]

 query = Select PlacementUrl, AverageCpc, IsNegative, Status from 
 PLACEMENT_PERFORMANCE_REPORT where CampaignId IN 
 [196669265,196700705,196697825,197152865,196697945] during LAST_WEEK
 PLACEMENT_PERFORMANCE_REPORT (Aug 25, 2014-Aug 31, 2014)
 Placement,Avg. CPC,Is negative,Placement state
 mobileappcategory::6,198769,false,enabled
 mobileappcategory::6,105550,false,enabled
 mobileappcategory::6,134008,false,enabled
 mobileappcategory::6,313907,false,enabled
 mobileappcategory::60500,291559,false,enabled
 Total,171591, --, --

 (BTW, why the mobileappcategory?  I need the mobile app themselves

 *I'm looking to build 2 reports:*

 1. ALL currently included / excluded placements,

 2. campaign or adgroup statistics PER PLACEMENT. This example, as the 
 above, gives details per mobileAppGroup, except that i didn't ask for it, 
 and it doesn't help:

 Select PlacementUrl, AverageCpc from PLACEMENT_PERFORMANCE_REPORT where 
 CampaignId IN [196669265,196700705,196697825,197152865,196697945] during 
 LAST_MONTH




 On Wednesday, August 27, 2014 5:36:13 PM UTC+3, Josh Radcliff (AdWords API 
 Team) wrote:

 Hi,

 You should be able to use the Placement Performance Report 
 https://developers.google.com/adwords/api/docs/appendix/reports#placement 
 and 
 differentiate between included/excluded placements via the *IsNegative*
  field.

 Regarding the empty results, could you try adding at least one statistics 
 field such as *Impressions* and let me know if that returns results for 
 you?

 If you're still having trouble after that, please provide a campaign ID 
 so I can investigate further on my side.

 Cheers,
 Josh, AdWords API Team

 On Wednesday, August 27, 2014 3:23:00 AM UTC-4, Berry Tsakala wrote:

 i want to get a list of placement URLs per *mobile* campaign, using 
 AWQL.

1. 

For an exclude mobile campaign, i want to get the list of 
*excluded* placements,
2. 

and for an include mobile campaign, i want to get the list of 
*included* placements,
3. 

For that matter - do mobile-placements differ in API or reference 
than normal placements?

 I tried several versions in several reports, but i can't get them. e.g. 

 Select PlacementUrl, IsNegative 
 from CAMPAIGN_NEGATIVE_KEYWORDS_PERFORMANCE_REPORT 
 where CampaignId=123456789

 returns all excluded placements, only in a non-mobile campaign; The same 
 query for a mobile campaign yields empty result set :(

 More details and trials:

 I tried using *AUTOMATIC_PLACEMENTS_PERFORMANCE_REPORT*:

- but i got a missing during clause error - even though i'm not 
interested in dates.
- even with duration = LAST_30_DAYS, the report came empty
- Also none of the fields in this report is called placement or 
something. 

 For these reports, only an empty result set is returned (i of course 
 verified that my real campaign (different number than show has excluded 
 placements - it does, and many.) :

 select CriteriaParameters, DisplayName, Domain, IsPathExcluded 
 from AUTOMATIC_PLACEMENTS_PERFORMANCE_REPORT where CampaignId=123456789 
 DURING TODAY

 and

 select PlacementUrl 
 from PLACEMENT_PERFORMANCE_REPORT 
 where CampaignId=123456789 DURING LAST_30_DAYS


- btw: also SEARCH_QUERY_PERFORMANCE_REPORT doesn't contain any 
reference to placements (it name 

Re: Alert Service returns error for specified client id. (PHP)

2014-09-02 Thread Josh Radcliff (AdWords API Team)
Hi,

Thanks for sending over the screenshot. The alerts you highlighted are not 
covered by the AlertService (they don't fall into any of the categories 
listed for AlertService.AlertQuery#types 
https://developers.google.com/adwords/api/docs/reference/v201406/AlertService.AlertQuery#types),
 
so you won't be able to retrieve those via the API.

Best regards,
Josh, AdWords API Team

On Tuesday, September 2, 2014 3:42:24 PM UTC-4, Josh Radcliff (AdWords API 
Team) wrote:

 Hi,

 You mentioned I see two alerts from AdWOrds Account (not MCC account). 
 -- could you tell me what type of alerts they are? You can send screenshots 
 only to me by clicking *Reply to Author*. As I mentioned in my prior 
 post, though, the AlertService will not return every type of alert that you 
 see in the UI, so you won't be able to duplicate the alert list completely 
 using the API.

 Thanks,
 Josh, AdWords API Team

 On Monday, September 1, 2014 6:20:17 AM UTC-4, Athlan wrote:

 Thank you for reply.

 On Thursday, August 28, 2014 6:43:11 PM UTC+2, Josh Radcliff (AdWords API 
 Team) wrote:

 Hi,

 For issue #1, the error you are encountering means that the $clientId 
 you are passing here:

 $alertQuery-clientCustomerIds = array($clientId);

 Is either:

 a) Not an existing AdWords customer ID, or
 b) Not an AdWords customer ID to which the request's OAuth credentials 
 has access


 I am sure about both. Customer ID exists in the system, because it is 
 obtained from CustomerService which is accessed via valid OAuth 
 credentials. Customer ID is a 10 digit idntifier.
  


 Regarding the second method, the AlertService only returns a subset of 
 the alert types that you see in the UI.


 I have mentioned all avaliable types and severities in example.
  

 Which types of alerts are you seeing in the UI?


 I see two alerts from AdWOrds Account (not MCC account).

 What I want is read alerts from all users that allows app via OAuth2 to 
 access account.
  


 Thanks,
 Josh, AdWords API Team

 On Thursday, August 28, 2014 9:54:06 AM UTC-4, Athlan wrote:

 Howdy,

 I have notices two issues related with googleads-php-lib.

1. There is no possibility to query alert service from php library 
passing clientId, because exception is thrown (in response you can 
 notice 
clientId = 0 - why?).
2. There is no possibility to query alert service from MCC account 
with customers, that authorized the app via OAuth2.


 I have an app that authorizes users via OAuth2 and uses MCC's user 
 developer key. Everyone who allows application to get into their data, 
 allows to generate on-demand reports, browse the ads configuration etc. 
 But 
 in AlertService there is no entries. The example 
 https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201406/AccountManagement/GetAccountAlerts.php
  
 also returns no entries. My code:

 $ADWORDS_VERSION = 'v201406';
 // Get the service, which loads the required classes.
 $service = $client-GetService('AlertService', $ADWORDS_VERSION);


 $clientId = (int) 'ClientIdWithoutDashes';
 //$clientId = 'ClientIdWithoutDashes'; // i have tried this also...


 $alertQuery = new \AlertQuery();
 $alertQuery-clientSpec = ID_LIST;
 $alertQuery-clientCustomerIds = array($clientId);
 $alertQuery-filterSpec = 'ALL';
 $alertQuery-types = array('ACCOUNT_BUDGET_BURN_RATE',
 'ACCOUNT_BUDGET_ENDING',
 'ACCOUNT_ON_TARGET','CAMPAIGN_ENDED','CAMPAIGN_ENDING',
 'CREDIT_CARD_EXPIRING','DECLINED_PAYMENT',
 'MANAGER_LINK_PENDING','MISSING_BANK_REFERENCE_NUMBER',
 'PAYMENT_NOT_ENTERED','TV_ACCOUNT_BUDGET_ENDING',
 'TV_ACCOUNT_ON_TARGET',
 'TV_ZERO_DAILY_SPENDING_LIMIT','USER_INVITE_ACCEPTED',
 'USER_INVITE_PENDING','ZERO_DAILY_SPENDING_LIMIT');
 $alertQuery-severities = array('GREEN', 'YELLOW', 'RED');
 $alertQuery-triggerTimeSpec = 'ALL_TIME';


 // Create selector.
 $selector = new \AlertSelector();
 $selector-query = $alertQuery;


 // Create paging controls.
 $selector-paging = new \Paging(0, \AdWordsConstants::
 RECOMMENDED_PAGE_SIZE;);


 $result = [];
 $i = 0;


 do {
   // Make the get request.
   $page = $service-get($selector);
   
   // Display results.
   if (isset($page-entries)) {
 foreach ($page-entries as $entry) {
   $result[] = $entry;
 }
   } else {
 // No entries were found.
   }
   
   // Advance the paging index.
   $selector-paging-startIndex += $itemsPerPage;
 }
 while ($page-totalNumEntries  $selector-paging-startIndex);


 return $result;

 I have tried passing $clientId as integer, as Paul Matthews (AdWords 
 API Team) written 
 https://groups.google.com/d/msg/adwords-api/DRjtU7XSRMU/_Q7HfS0P8lkJ 
 and as string with and without dashes.

 I am receiving exception:
 [AlertError.INVALID_CLIENT_ID_SELECTED @ selector.query.
 clientExternalCustomerIds[0]]

 In respons you can see that customerId is equal zero, while I have 
 passed an value...

 While I am using this method:

 $alertQuery = new \AlertQuery();
 

Re: ImageError.SERVER_ERROR when creating ads

2014-09-02 Thread Ray Tsang (AdWords API Team)
Rodrigo,

Could I trouble you to send me a few more images that failed to upload (in 
private)?

Thanks!

Ray

On Wednesday, August 20, 2014 9:48:34 AM UTC-4, Ray Tsang (AdWords API 
Team) wrote:

 Rodrigo,

 Thanks for the update.  I'll follow up on this.

 Cheers,

 Ray

 On Tuesday, August 19, 2014 7:52:55 PM UTC-4, Rodrigo Ferreira wrote:

 Hi Ray, 

 we use for our images the PNG format. We create the ads from a template 
 system and generate the binary through the imagepng function that is 
 part of the PHP GD library (Version 2.0 w/ libPNG 1.2.46). 

 We had to lower the compression level to 3 so that all our ads were 
 uploaded without problems (as you have suggested, tweaking compression 
 level). But now we have encountered a new ad instance that, with 
 compression level 3, is too large. 

  From tests, it seems that no single compression level we choose is good 
 for uploading all our ads (which suffer minor changes from time to 
 time). I will try other formats and levels. 

 Cheers 
 Rodrigo 

 On 19-08-2014 19:20, Ray Tsang (AdWords API Team) wrote: 
  Rodrigo, 
  
  Could I trouble you to try w/ a different compression level and/or 
  potentially a different file format? 
  What software are you using to produce the final image that is to be 
  uploaded?? 
  
  Thanks, 
  
  Ray 
  
  On Tuesday, August 19, 2014 12:39:23 PM UTC-4, Rodrigo Ferreira wrote: 
  
  Hi Ray, 
  
  we are experiencing an unpleasant interplay between this 
 compression 
  level limitation and the size of ad files uploaded. 
  
  We have lowered the compression level of PNGs in order to 
  accommodate the limitation, as you have described in this thread. 
  
  But now instead of InternalApiError.UNEXPECTED_INTERNAL_API_ERROR 
 we 
  are receiving ImageError.FILE_TOO_LARGE due to the fact that less 
  compression implies a larger binary. 
  
  Right now we are fighting this situation by trial and error, 
  probably we will have to guess the compression levels and submit 
 the 
  same file multiple times upon error. 
  
  Should not the API support proper compression at any level? 
  
  Or, at least, establish a standard compression level and support 
 any 
  file size (bound by the given ad dimensions) for that given 
 setting? 
  
  Leaving API clients to deal with this issue makes the solution 
  unnecessarily complicated and inefficient, just my opinion. :) 
  
  Thanks in advance! 
  
  Cheers, 
  Rodrigo 
  
  Em domingo, 27 de julho de 2014 17h57min46s UTC-3, Rodrigo Ferreira 
  escreveu: 
  
  Hi Ray, 
  
  sorry for the long delay in getting back to you. 
  
  I have tested uploading the ads using a lower PNG compression 
  level (3, default was 6) and now it seems to work. 
  
  If I find any other case where this change in compression level 
  does not solve the problem I will let you know. 
  
  Thanks for your help! 
  
  Best, 
  Rodrigo 
  
  Em terça-feira, 6 de maio de 2014 12h49min31s UTC-3, Ray Tsang 
  (AdWords API Team) escreveu: 
  
  Rodrigo, 
  
  It seems like there is something weird about the image you 
  used that's causing errors in the system.  Our engineers 
  were able to reproduce the issue - however they were also 
  able to resolve it by re-saving the image with default 
  settings.  Essentially it also reduced resolution, etc. 
Could I trouble you to reproduce the asset and uploading 
  it w/ a slightly different resolution setting? 
  
  Thanks, 
  
  Ray 
  
  On Thursday, April 3, 2014 3:39:47 PM UTC-4, Ray Tsang 
  (AdWords API Team) wrote: 
  
  Rodrigo, 
  
  I've received your log.  I'll continue to work on this. 
  
  Thanks! 
  
  Ray 
  
  On Tuesday, March 25, 2014 6:04:01 PM UTC-4, Ray Tsang 
  (AdWords API Team) wrote: 
  
  Rodrigo, 
  
  FYI we are looking into this issue but will need 
  your help to generate one more request.  Please 
 also 
  confirm if this is a persistent issue for you. 
  
  Thanks, 
  
  Ray 
  
  On Wednesday, March 19, 2014 4:30:37 PM UTC-4, Ray 
  Tsang (AdWords API Team) wrote: 
  
  Rodrigo, 
  
  Thanks for the log.  I'll be investigating 
 this. 
  
  Cheers! 
  
  Ray 
  
  On Friday, March 7, 2014 10:29:46 AM UTC-5, Ray 
  Tsang (AdWords API Team) wrote: 
  
  Rodrigo,