Re: How to integrate custom date option on dotnet API?

2014-12-08 Thread Anash P. Oommen (AdWords API Team)
Hi Anu,

Is it for reporting? If yes, you can set the dateRangeType to CUSTOM_DATE, 
and set dateRange.min an dateRange.max in mmdd format.

Cheers,
Anash P. Oommen,
AdWords API Team.

On Saturday, December 6, 2014 3:36:38 AM UTC-5, Anu V Vivin wrote:

 How to integrate custom date option on dotnet API?


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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/60c7a022-6014-4d3e-92e7-7e9a3078f12f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Operations which can be executed in parallel without causing CONCURRENT_MODIFICATION error

2014-12-08 Thread Anash P. Oommen (AdWords API Team)
Hi Tomas,

Yes, you can. And if you get CONCURRENT_MODIFICATION, you can just retrying 
the call to see if it succeeds.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Monday, December 8, 2014 3:36:02 AM UTC-5, Tomas Rimkus wrote:

 Can I do mutate operation on the same type criterions in two different 
 adgroups (same campaign) without 
 getting DatabaseError.CONCURRENT_MODIFICATION error?


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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/f620cc3f-d26b-4331-a945-81443d8e8196%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to change display-Url in multiple adgroups ?

2014-12-08 Thread Anash P. Oommen (AdWords API Team)
Hi Berry,

1. Display URL is ad's property, so there's no way to set this at campaign 
or adgroup level.
2. Trying to set Display URL doesn't throw an exception, and this is by 
design. I agree that this is not probably the best way to handle things.

Cheers,
Anash P. Oommen,
AdWords API Advisor.


On Sunday, December 7, 2014 3:23:26 AM UTC-5, Berry wrote:

 I realized it's impossible to change an Ad's Display URL in-place, for a 
 creative.

 Is it possible to change the display URL globally, per campaign or per 
 adGroup?

 I have several campaigns with adGroups, all having the same Display URL, 
 but I find it difficult to just change the URL

 When I tried to change a displayURL in the Web interace, I realized that 
 it actually deletes the creative, and creates a new, identical creative 
 with its displayUrl set to the new value.


 Doing the above via API means:

 loop over all campaings
   loop over all adgroups
 loop over all creatives
 read creative properties
 delete creative (status=REMOVED)
 re-upload the same image to the same adgroup, 
 with the same properties, with different DisplayURL.

 Is there simpler way to change a campaigns Display URL?


 N.B. there's a bug in the API:
 setting the DisplayURL doesn't return any error, but in face doing 
 nothing.  I would expect it to either change the URL or raise an exception.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6a8a80d2-a270-4ffa-9a2d-bf701368d9c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Do we need to add the billing information for production account during the testing

2014-12-08 Thread Anash P. Oommen (AdWords API Team)
Hi Ulfat,

The error could mean one of the two things:

1. You are not using the developer token from your production 
account 333-332-3726
2. You haven't entered billing details and accepted AdWords API TC on your 
production account 333-332-3726.

It is fine to use ClientCustomerId as 247-901-4773, but if you want to do 
things like create campaigns, ads, etc. you also need to create an 
advertiser account under your test MCC 247-901-4773 and use that ID in 
ClientCustomerId header.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Monday, December 8, 2014 2:31:44 AM UTC-5, ulfathussain.dp...@gmail.com 
wrote:


 Hi 

 I have the following setup.
 ===
 I have an MCC account for production with the details
 Customer ID  :  333-332-3726
 Email Address   : ulfathussain.dpl@gmail.com
 ===
 I have an test MCC account with the details
 Customer ID  :  247-901-4773
 Email Address   : ulfathussain.dpl.mcctestacc...@gmail.com
 ===
 I have also created an application on 
 https://console.developers.google.com; with following details
 name  :   TestAppForMCCAccount
 email   :   ulfathussain.dpl.adword.api...@gmail.com (used 
 for sign in purpose to create the application )
 ClientId:   x.apps.googleusercontent.com
 Client Secret:   
 Product Name  : Test Website For AdWord Account Testing ( for consent 
 screen)
 ===
 I am using the sample in client libraries( for .net). I have added the 
 following values in the web.config of web application sample, 
 add key=UserAgent value=TestAppForMCCAccount/
 add key=DeveloperToken value=/
 add key=ClientCustomerId value=247-901-4773/  // this is the Id of 
 test mcc account  
 add key=OAuth2ClientId value=x.apps.googleusercontent.com /
 add key=OAuth2ClientSecret value= /
 add key=OAuth2Mode value=APPLICATION /
 add key=OAuth2RefreshToken value= / // I have set it empty.
 ===
 When I run the application and start authorization process, then I am 
 taken to sign in page where I sign in using 
 ulfathussain.dpl.mcctestacc...@gmail.com. Then it asks me that 
 application would like to Manage your AdWords campaigns. I grant 
 permissions and redirected to main page of web application. Here I enter 
 the Customer ID which is 247-901-4773 for the test MCC account(I have not 
 created any AdWord account in test account). When I click button to get the 
 campaigns then I get the error of INCOMPLETE_SIGNUP.

 Am I missing some key here?
 Do we still need to enter the billing information in Production MCC 
 account even if we are using the testing account?

 Regards
 Ulfat Hussain


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1f9f64a6-c9bc-426c-989d-8f6b472d63c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Is this possible to login Adwards accont from a third party application and can access adwards data and can store in DB ?

2014-12-08 Thread Anash P. Oommen (AdWords API Team)
Hi Naresh,

Yes, AdWords API allows you to fetch your AdWords account data and store it 
locally in your database. There are several code examples that come along 
with the PHP library, but you'd want to start by reading the documentation 
at https://developers.google.com/adwords/api/. If you have questions, feel 
free to ask in this thread.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Saturday, December 6, 2014 4:34:02 AM UTC-5, Naresh Kumar wrote:

 Hi,
 I am working on a project. This project has a lead tracking option.
 So my project has many users and every user has its own Google AdWords 
 account.

 I want that a user will login from My Project and can access Google 
 Adwards account data and that data i can store in my DataBase.

 Is this possible with https://github.com/googleads/googleads-php-lib?
 Is i can Store Adwards data in my DB ?

 To create Client Id in OAuth , Which application i need to create ( Web 
 application or Service account )

 Please Guide me and Thankz in Advance. 

  


  


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/49bd8565-08ac-480a-a7f6-545bcadc31d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Is there any simple concept tutorial to integrate Adwards API in PHP

2014-12-08 Thread Anash P. Oommen (AdWords API Team)
Hi Naresh,

I'd recommend reading the README for the library 
- 
https://github.com/googleads/googleads-php-lib/blob/master/README.md#getting-started

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Saturday, December 6, 2014 6:22:00 AM UTC-5, Naresh Kumar wrote:

 As i have invested my lot of time to understand the Adwards Api 
 integration in PHP.
 Its very complex documented. 
 Lot of fuzzy are there.
 Is there any Steps wise documentation to Integrate and use Adwards api.
 Please.

 Its very complex and fuzzy for a beginner as i am and very easy.

 Thankx


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/bef595e6-07b9-42aa-8447-cbd5595a9b9e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2014-12-08 Thread Anash P. Oommen (AdWords API Team)
Hi Anu,

I've answered your question on the other thread.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Saturday, December 6, 2014 3:37:58 AM UTC-5, Anu V Vivin wrote:

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


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b135652e-4da4-436f-9336-25a7688e9f4c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Retreiving structural data for sitelinks

2014-12-04 Thread Anash P. Oommen (AdWords API Team)
Hi Visar,

Yes, if you don't filter by feedId, then GetCampaignFeeds will give you ALL 
the campaign feeds where placeholdertype = 1 (i.e. sitelinks). Just pick 
the FeedId from the CampaignFeed.

There's a caveat to this: By definition, a Feed doesn't have an extension 
type associated with it, so you could in theory add columns for different 
extension types to a Feed, and then reuse the same feed for different 
extension types by mapping the right columns. Not that it's an efficient 
way to do things, but you might eventually come across such a case if you 
process lots of accounts.

Cheers,
Anash

On Tuesday, December 2, 2014 5:09:22 AM UTC-5, Visar wrote:

 Anash,

 Thanks for your response. If I modify the GetCampaignFeeds method to 
 return all the FeedIDs (i.e not filtering on FeedID) is there anyway to 
 know which FeedIDs correspond to sitelinks?

 Visar

 On Wednesday, November 26, 2014 11:23:50 AM UTC, Visar wrote:

 Hi,

 I'm having a little trouble using the API to retrieve structural data on 
 sitelinks within an account. What I'm looking to do is to construct a list 
 of which sitelinks belong to which campaigns (this is unavailable in the 
 reports due to the lack of Zero Impressions support).

 Ideally data which could be placed into a table of the form:

 CampaignID   SitelinkID
 01   1123412
 01   1232349
 02   2342342
 etc..

 Given that I have an exhaustive list of all the campaign IDs and sitelink 
 IDs (as placeholder feed item IDs), could someone please illustrate how 
 this could be done, i.e which services to use and how to actually use them. 
 Please be as detailed as possible. I'm currently using PHP but can work 
 with any language.

 Cheers



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7d8999f6-f1ec-4d63-b309-3c18ec95b464%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Retreiving structural data for sitelinks

2014-12-04 Thread Anash P. Oommen (AdWords API Team)
Hi Visar,

Since you are looking for feed ids only, the caveat I mentioned on the 
previous message shouldn't apply to you.

private CampaignFeed[] GetSitelinkFeeds(AdWordsUser user) {
  CampaignFeedService campaignFeedService = (CampaignFeedService) user.
GetService(
  AdWordsService.v201409.CampaignFeedService);
 
  CampaignFeedPage page = campaignFeedService.query(string.Format(
  SELECT CampaignId, FeedId, MatchingFunction where  + 
  Status='ENABLED'and FeedId = '{0}' and PlaceholderTypes=1, feed.id
));

  Listlong feedIds = new Listlong();
  foreach (CampaignFeed campaignFeed in page.entries) {
feedIds.Add(campaignFeed.feedId);
  }
  return feedIds.ToArray();;
}

Cheers,
Anash

On Thursday, December 4, 2014 9:46:13 AM UTC-5, Visar wrote:

 Hi Anash, 

 I don't really understand what you mean. How could I go about doing that?

 Visar

 On Wednesday, November 26, 2014 11:23:50 AM UTC, Visar wrote:

 Hi,

 I'm having a little trouble using the API to retrieve structural data on 
 sitelinks within an account. What I'm looking to do is to construct a list 
 of which sitelinks belong to which campaigns (this is unavailable in the 
 reports due to the lack of Zero Impressions support).

 Ideally data which could be placed into a table of the form:

 CampaignID   SitelinkID
 01   1123412
 01   1232349
 02   2342342
 etc..

 Given that I have an exhaustive list of all the campaign IDs and sitelink 
 IDs (as placeholder feed item IDs), could someone please illustrate how 
 this could be done, i.e which services to use and how to actually use them. 
 Please be as detailed as possible. I'm currently using PHP but can work 
 with any language.

 Cheers



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0fbade20-9888-4191-84c3-861729ed42a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Retreiving structural data for sitelinks

2014-12-01 Thread Anash P. Oommen (AdWords API Team)
Hi Visar,

1. Nope, The code snippet is to illustrate how the API call is to be made; 
you should be using paging in your production code.
2. Not from the report directly, but you could modify the GetCampaignFeeds 
method so as to not filter by FeedId and you'd get all the FeedIds of a 
specific type back.

Cheers,
Anash

On Monday, December 1, 2014 6:08:34 AM UTC-5, Visar wrote:

 Hi Anash, 

 I just have a couple more questions.

 1) Usually in the example API scripts, when entries in a get request are 
 cycled through they are done so with the use of the AdWords recommend page 
 size stuff. Is there a reason you left this out in your C# example, and 
 more importantly should I include this myself in my own code?

 2) As far as I can tell there's no way to get the FeedID for just 
 site-links because in the PLACEHOLDER_FEED_ITEM_REPORT report the ClickType 
 field does not support zero impressions. Is there any way to get the FeedID 
 for sitelinkes without the other FeedID values returned by the 
 PLACEHOLDER_FEED_ITEM_REPORT?

 Visar


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/854b6314-88b3-462c-96e8-4c9b449b41d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Retreiving structural data for sitelinks

2014-11-26 Thread Anash P. Oommen (AdWords API Team)
Hi Visar,

You need to use the CampaignFeedService to retrieve the MatchingFunction 
and then parse it to identify the FeedItems that are associated with a 
campaign. The C# code to do this looks :

private CampaignFeed[] GetCampaignFeeds(AdWordsUser user, Feed feed) {
  CampaignFeedService campaignFeedService = (CampaignFeedService) user.
GetService(
  AdWordsService.v201409.CampaignFeedService);
 
  CampaignFeedPage page = campaignFeedService.query(string.Format(
  SELECT CampaignId, MatchingFunction where  + 
  Status='ENABLED'and FeedId = '{0}' and PlaceholderTypes=1, feed.id
));
  return page.entries;
}

private Listlong GetFeedItemsForCampaign(CampaignFeed campaignFeed) {
  Listlong feedItems = new Listlong();
  if (campaignFeed.matchingFunction.lhsOperand.Length == 1 
  campaignFeed.matchingFunction.lhsOperand[0] is RequestContextOperand 

  (campaignFeed.matchingFunction.lhsOperand[0] as
   RequestContextOperand).contextType ==
   RequestContextOperandContextType.FEED_ITEM_ID 
  campaignFeed.matchingFunction.@operator == FunctionOperator.IN) {
foreach (ConstantOperand argument in campaignFeed.matchingFunction.
rhsOperand) {
  feedItems.Add(argument.longValue);
}
  }
  return feedItems;
}


GetFeedItemsForCampaign only handles the simplest of the cases (FEEDITEM_ID 
IN [id1, id2, id3]). In theory, the matchingfunction can be an arbitrary 
expression tree, but if you stick to what the UI can do, then it is 
restricted to (FEEDITEM_ID IN [id1, id2, id3]) and DEVICE_PLATFORM = 
'Mobile'

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Wednesday, November 26, 2014 6:23:50 AM UTC-5, Visar wrote:

 Hi,

 I'm having a little trouble using the API to retrieve structural data on 
 sitelinks within an account. What I'm looking to do is to construct a list 
 of which sitelinks belong to which campaigns (this is unavailable in the 
 reports due to the lack of Zero Impressions support).

 Ideally data which could be placed into a table of the form:

 CampaignID   SitelinkID
 01   1123412
 01   1232349
 02   2342342
 etc..

 Given that I have an exhaustive list of all the campaign IDs and sitelink 
 IDs (as placeholder feed item IDs), could someone please illustrate how 
 this could be done, i.e which services to use and how to actually use them. 
 Please be as detailed as possible. I'm currently using PHP but can work 
 with any language.

 Cheers


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/25f7707e-3b8d-41f5-99aa-b33f4520fa3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: java.lang.NullPointerException after trying to get traffic estimations

2014-11-26 Thread Anash P. Oommen (AdWords API Team)
Hi Jorge,

If you can capture a SOAP request and response XML and post it after 
removing the credentials and developerToken from the request XML, it would 
be most useful. See 
https://github.com/googleads/googleads-java-lib#how-do-i-enable-logging for 
details on how to capture SOAP logs using Java library.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Tuesday, November 25, 2014 10:48:05 AM UTC-5, Jorge Brasil wrote:

 Hi, 

 After following all the instructions and spending a lot of time reading 
 this forum I'm still getting that message when trying to get traffic 
 estimations.

 I had an application running on V201404 which has been discontinued so I 
 start my migration process. After running into to several issues I've 
 decide to use adwords examples to figure out what was going on.

 I've followed every step that is on your git hub rep, download Jar import 
 the project and then start to use it.

 what is strange is that some of the examples run without issues but the 
 traffic estimations don't, not for v201406 or for v201409 so I think that I 
 can assume that my credentials file is ok.

 I didn't make any changes, I'm using everything as it is is the website 
 but that error message keeps poping everytime that I try and get traffic 
 estimations.

 I really need some help and I've tried everything, even making the 
 requests using python(the outcome was the same null).

 Thanks in advance

 Jorge Brasil


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0dac468e-5a6c-4d07-9c50-5e0d7a6435ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: HourOfDay returns 400 on AdGroup

2014-11-26 Thread Anash P. Oommen (AdWords API Team)
Hi Jakub,

Can you please use the Reply to Author option to share with me the report 
definition you are using, and your customer ID? I can investigate this 
further.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Monday, November 24, 2014 12:18:19 PM UTC-5, Jakub Jirka wrote:

 Hello I have a problem with the AdGroup performance HourOfDay parameter 
 report.

 According to 
 https://developers.google.com/adwords/api/docs/appendix/reports#ad-group 
 I create a query that without the field HourOfDay returns metric values for 
 cost and impressions. But when I run the query on the same account with the 
 HourOfDay field request returns 400.

 Can you please help me or give me a hint of what might be wrong?

 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/02b7fd48-c469-4190-8e52-ffc4f66dfec1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Existing Google Service Account for DFP, can I use the same Service Account for Adwords?

2014-11-14 Thread Anash P. Oommen (AdWords API Team)
Hi,

1. Create a new email address under clickfuel.com.
2. Invite the new email address to manage the account that is currently 
managed by clickfue...@gmail.com.
3. When doing the service flow, use the impersonation email as the new 
email you created in clickfuel.com domain.

There is no need to get a new API token and such, the existing developer 
token should work fine.

Cheers,
Anash

On Thursday, November 13, 2014 11:42:02 AM UTC-5, ClickFuel wrote:

 For some reason, my response isn't showing up here - so here's an 
 extension question.  I see we need impersonation and for that we need to 
 have a domain that we own.

 This email address is clickfue...@gmail.com.  This account has been 
 approved for an Adwords API Token, and I have that piece of information.  
 However, the domain that we own is 'clickfuel.com'.

 It doesn't seem like I can add the gmail account into my set of domain 
 users.  So, do I need to create a new email address under the '
 clickfuel.com' domain?  With that, will I need to go through the Token 
 approval process again, or is there a way to move the approved token over 
 to a new account with a clickfuel.com domain?

 Thank so much, Anash!
  

 On Friday, November 7, 2014 10:08:22 AM UTC-5, Anash P. Oommen (AdWords 
 API Team) wrote:

 Hi,

 Yes, you can make calls using the same service account to both DFP and 
 AdWords. The main difference is that AdWords require impersonation (the sub 
 parameter in service account flow, see 
 https://developers.google.com/accounts/docs/OAuth2ServiceAccount#creatingjwt),
  
 so you'd have to follow the AdWords API documentation to setup your OAuth2 
 client for impersonation first. 

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Thursday, November 6, 2014 1:01:41 PM UTC-5, ClickFuel wrote:


 Hi There!

 I've been looking through the oAuth service account documentation both 
 for Adwords and DFP and a couple of questions came to mind:

 1. Can I use the same service account that I have connected to my 
 partners' DFP data to connect to Adwords data?
 2. Is the Adwords Service Account documentation up to date?  It seems 
 like it rather different approach than the DFP documentation, and it hasn't 
 been updated since July.  Just want to be sure before our developers get 
 too far into development.

 I tried following the Adwords Service Account documentation and it seems 
 like it hasn't been updated for the new UI.
 Our system is not an installed application, therefore the alternative 
 suggested in the documentation doesn't seem to be an option.

 Any suggestions would be more than appreciated.

 https://developers.google.com/adwords/api/docs/guides/service-accounts

 https://developers.google.com/doubleclick-publishers/docs/service_accounts



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4b5ad63e-8e08-4b41-abc9-896e7652b9bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Existing Google Service Account for DFP, can I use the same Service Account for Adwords?

2014-11-07 Thread Anash P. Oommen (AdWords API Team)
Hi,

Yes, you can make calls using the same service account to both DFP and 
AdWords. The main difference is that AdWords require impersonation (the sub 
parameter in service account flow, see 
https://developers.google.com/accounts/docs/OAuth2ServiceAccount#creatingjwt), 
so you'd have to follow the AdWords API documentation to setup your OAuth2 
client for impersonation first. 

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Thursday, November 6, 2014 1:01:41 PM UTC-5, ClickFuel wrote:


 Hi There!

 I've been looking through the oAuth service account documentation both for 
 Adwords and DFP and a couple of questions came to mind:

 1. Can I use the same service account that I have connected to my 
 partners' DFP data to connect to Adwords data?
 2. Is the Adwords Service Account documentation up to date?  It seems like 
 it rather different approach than the DFP documentation, and it hasn't been 
 updated since July.  Just want to be sure before our developers get too far 
 into development.

 I tried following the Adwords Service Account documentation and it seems 
 like it hasn't been updated for the new UI.
 Our system is not an installed application, therefore the alternative 
 suggested in the documentation doesn't seem to be an option.

 Any suggestions would be more than appreciated.

 https://developers.google.com/adwords/api/docs/guides/service-accounts
 https://developers.google.com/doubleclick-publishers/docs/service_accounts


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/17e8bc6a-e52b-4951-a5fa-e81d95e4fef6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Traffic Estimator Service returning DistinctError.DUPLICATE_ELEMENT

2014-11-07 Thread Anash P. Oommen (AdWords API Team)
Hi Christian,

I apologize, the original link should 
be 
https://github.com/googleads/googleads-dotnet-lib/blob/master/examples/AdWords/CSharp/v201409/Optimization/EstimateKeywordTraffic.cs

That said, we don't support sending duplicate keywords in a single request, 
even though the bids being requested are separate. I'm afraid you can't 
optimize the requests by packing both estimates into a single API call.

Cheers
Anash P. Oommen,
AdWords API Advisor.

On Friday, November 7, 2014 4:11:48 AM UTC-5, Christian Borck wrote:

 Hi Anash,
 Thanks for your quick reply. Unfortunately your link doesn't work properly.

 I know, in fact we are sending multiple keywords per request already.
 The issue is getting estimates for a distinct keyword, but for different 
 maxCpc's within a single request, eg. estimates for:
 buy shoes with maxCpc 0.5$
 buy shoes with maxCpc 1.0$

 Best regards,
 Christian

 Am Donnerstag, 6. November 2014 21:39:40 UTC+1 schrieb Anash P. Oommen 
 (AdWords API Team):

 Hi Christian,

 You can send multiple keywords per request, see 
 https://groups.google.com/d/msgid/adwords-api/bec89d9c-9720-4ed3-9ed7-fa0cd3644732%40googlegroups.com?utm_medium=emailutm_source=footer
  
 for an example.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Thursday, November 6, 2014 11:31:15 AM UTC-5, Christian Borck wrote:

 This question is related to the traffic estimator. We like to get 
 several estimates for a keyword (i.e. estimates for three different 
 max-cpcs). Currently we’re doing three separate requests, one for each 
 max-cpc. In an attempt to optimize this, we combined the three requests 
 into one. As a result, we get duplicate-element errors 
 (DistinctError.DUPLICATE_ELEMENT). Does this mean, that we can only have 
 one estimate per keyword per request? The API documentation for 
 AdGroupEstimateRequest states for the field keywordEstimateRequests: … This 
 field must contain distinct elements … However, we’re unsure what 
 „distinct“ means in this context; is only the keyword-id relevant?

 The keywords we are estimating are existing keywords, thus the request
 contains a campaign-id, ad-group-ids and keyword-ids.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8667ab35-d172-4d15-9a59-3e19fadaf034%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: API creation of mobile specific ad

2014-11-07 Thread Anash P. Oommen (AdWords API Team)
Hi Jose,

You cannot set devicePreference for Tablets, since AdWords doesn't support 
that.

Cheers,
Anash

On Friday, November 7, 2014 10:20:17 AM UTC-5, Jose Luis Lopez Pino wrote:

 Hi Anash,

 I was trying to do the same for Tablet (30002) but it's not working . Do 
 you know why?

 Thanks for your help.

 On Thursday, 7 August 2014 15:08:43 UTC+2, Anash P. Oommen (AdWords API 
 Team) wrote:

 Hi Milo,

 You can create a normal text ad using AdGroupAdService, and set the ad's 
 devicePreference 
 https://developers.google.com/adwords/api/docs/reference/v201406/AdGroupAdService.TextAd#devicePreference
  
 to 30001.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Wednesday, August 6, 2014 2:28:54 PM UTC-4, Milo Hou wrote:

 How do I use the API service calls to create an ad with mobile 
 preference? I see that I can set campaign-wide criterion for mobile 
 targeting but am not sure how to create a MobileAd as opposed to any normal 
 text ad.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/068c7aab-8af2-46bf-b0e8-6f5548476a3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ADD keywords operations : Concurrent vs. sequential

2014-11-06 Thread Anash P. Oommen (AdWords API Team)
Hi,

You are using AdGroupCriterionService, right? What kind of responseTimes 
are you seeing in the SOAP response header of the API calls?

Cheers,
Anash

On Wednesday, November 5, 2014 12:42:40 PM UTC-5, GDZ wrote:

 Still unclear how to fix that...



 On Wednesday, October 29, 2014 5:32:42 PM UTC-4, GDZ wrote:

 Hello!

 Not really a question but an observation.

 Situation: 5 AdGroups, ~500 keywords each. Keywords ADD operations are 
 batched into one mutate job for each AdGroup. So naturally 5 mutate jobs 
 total ready for execution.

 Scenario 1. Mutate jobs are executed one after another, i.e. next job 
 starts only after the previous one was finished.
 Scenario 2. Mutate jobs are executed in parallel, 5 threads are running 
 at the same time, each modifying its own AdGroup to avoid 
 CONCURRENT_MODIFICATION error.

 Naturally, we expected Scenario 2 to be much faster than Scenario 1, 
 reality is its only ~6% faster. Now trying to figure out how to speed this 
 up a bit :)

 Thank you,
 GDZ



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7f9fafad-9dcc-4973-8a78-334ef795daf7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Traffic Estimator Service returning DistinctError.DUPLICATE_ELEMENT

2014-11-06 Thread Anash P. Oommen (AdWords API Team)
Hi Christian,

You can send multiple keywords per request, 
see 
https://groups.google.com/d/msgid/adwords-api/bec89d9c-9720-4ed3-9ed7-fa0cd3644732%40googlegroups.com?utm_medium=emailutm_source=footer
 
for an example.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Thursday, November 6, 2014 11:31:15 AM UTC-5, Christian Borck wrote:

 This question is related to the traffic estimator. We like to get several 
 estimates for a keyword (i.e. estimates for three different max-cpcs). 
 Currently we’re doing three separate requests, one for each max-cpc. In an 
 attempt to optimize this, we combined the three requests into one. As a 
 result, we get duplicate-element errors (DistinctError.DUPLICATE_ELEMENT). 
 Does this mean, that we can only have one estimate per keyword per request? 
 The API documentation for AdGroupEstimateRequest states for the field 
 keywordEstimateRequests: … This field must contain distinct elements … 
 However, we’re unsure what „distinct“ means in this context; is only the 
 keyword-id relevant?

 The keywords we are estimating are existing keywords, thus the request
 contains a campaign-id, ad-group-ids and keyword-ids.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/358786a3-689e-492e-895d-de5c0a9792f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: probably bug around Campaign advertisingChannelSubType DISPLAY_MOBILE_APP

2014-11-03 Thread Anash P. Oommen (AdWords API Team)
Hi Berry,

I'm not sure I understand the issue. Were your original mail missing a 
screenshot?

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Sunday, November 2, 2014 9:03:04 AM UTC-5, Berry Tsakala wrote:

 i'm trying to 'ADD'  new campaign with specific subtype.
 this feature was added to v201409, and is documented here 
 https://developers.google.com/adwords/api/docs/reference/v201409/CampaignService.Campaign?hl=de

 I want specifically:  DISPLAY_MOBILE_APP

 'operator': 'ADD',
 'operand': {
 'name': 'eshkolit',  
 'status': 'ENABLED',
 'advertisingChannelType': 'DISPLAY',  
 'advertisingChannelSubType': 'DISPLAY_MOBILE_APP',
 (... more settings...)
}

 The operation runs without an error.  
 Even when I select the campaign via API, I get good results:

 (Campaign){
id = 210402425
name = eshkolit
status = PAUSED
servingStatus = SERVING
settings[] = 
   (GeoTargetTypeSetting){
  Setting.Type = GeoTargetTypeSetting
  positiveGeoTargetType = DONT_CARE
  negativeGeoTargetType = DONT_CARE
   },
 *   advertisingChannelType = DISPLAY*
 *   advertisingChannelSubType = DISPLAY_MOBILE_APP*


 However, what I see in the UI is this 
 Left side:the output of the above code,  showing  campaign-id=210402425
 Right side:  a correctly configured (manual, not via API) campaign id = 
 210070745

 also, displaying these campaigns via an API selector doesn't return 
 subtype value --- but for the CORRECT campagin.  the INcorrect campaign 
 returns the value I previously entered from the API.


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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/9108d2f2-fb1d-4328-b45f-f932b54f0c2a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Issue regarding Invalid and/or missing SSL certificate for URL for an application

2014-11-03 Thread Anash P. Oommen (AdWords API Team)
Hi Kiran,

Invalid grant error means that the access token / refresh token you have is 
no longer valid, may be because the tokens were revoked. You need to do the 
OAuth2 flow again to regenerate the tokens.

Cheers,
Anash

On Saturday, November 1, 2014 12:54:17 AM UTC-4, Kiran Kumar wrote:

 Hi,
   
  Thanks for the reponse . I am using my php client library for 
 making my php calls . So there isn't any issue regarding the Invalid grant 
 for the application ?? Is it valid for any client library?

 On Friday, October 31, 2014 9:50:19 PM UTC+5:30, Anash P. Oommen (AdWords 
 API Team) wrote:

 Hi Kiran,

 What language are you using to make API calls? AdWords API doesn't 
 require you to install any special certificates, but depending on the 
 language and library you are using, you may require to install the 
 certificate for AdWords API site into your machine's trusted certificate 
 store. E.g. mono requires 
 http://www.mono-project.com/docs/faq/security/ you to run mozroots 
 command to import the default set of trusted certificates.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Wednesday, October 29, 2014 2:26:00 AM UTC-4, Kiran Kumar wrote:

 Hello,
  
   I have my mcc client id and got authorized with the developer 
 token . There by i am further processed to get the developer token and got 
 the access token for that. After this i want to integrate my api with the 
 application .On processing into that i am facing the issues as missing SSL 
 certificate for url and if i change it as HTTP other that HTTPS i am 
 redirecting to a code of the given product(what is mentioned in  url).Is it 
 necessary to have SSL certificate.Or else what might be the issue regarding 
 this error.

 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/2515db44-fa53-454c-b40a-97480cb562a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Help! AuthenticationError.OAUTH_TOKEN_INVALID

2014-11-03 Thread Anash P. Oommen (AdWords API Team)
Hi Alexey,

From your mail, it looks like the token is valid only for 2 scopes 

https://www.googleapis.com/auth/userinfo.email 
https://www.googleapis.com/auth/userinfo.profile;

To use AdWords API, you should also include 
https://www.googleapis.com/auth/adwords
as a scope. See 
https://developers.google.com/adwords/api/docs/guides/authentication for 
details.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Monday, November 3, 2014 2:44:02 AM UTC-5, Alexey Chapurin wrote:

 Hello, 

 I use a new token and I receive this error message at any token, expire or 
 new. In it all essence of a question. The token correct, it is confirmed by 
 https://www.googleapis.com/oauth2/v1/tokeninfo?access_token=MY_TOKEN .

 пятница, 31 октября 2014 г., 16:15:23 UTC+2 пользователь Michael Cloonan 
 (AdWords API Team) написал:

 Hello,

 For reference, the access token in the Authorization HTTP header allows 
 API access to your account, and should be kept private. Luckily, they 
 expire after only an hour, so exposing this one isn't a security threat, 
 but you should be more careful in the future.

 That is also likely the issue that is causing this error message. Since 
 access tokens are only valid for an hour, you need to make sure that you 
 get a new one before it expires if you want to continue making API calls.

 Regards,
 Mike, AdWords API Team

 On Friday, October 31, 2014 3:58:38 AM UTC-4, Alexey Chapurin wrote:

 Help to deal with a error AuthenticationError.OAUTH_TOKEN_INVALID
 I do inquiry by an example 
 https://developers.google.com/adwords/api/docs/guides/reporting

 __rdxml=reportDefinition
   id11/id
 selector
   fieldsCampaignId/fields
   fieldsId/fields
   fieldsImpressions/fields
   fieldsClicks/fields
   fieldsCost/fields
   predicates
 fieldStatus/field
 operatorIN/operator
 valuesENABLED/values
 valuesPAUSED/values
   /predicates
 /selector
 reportNameCustom Adgroup Performance Report/reportName
 reportTypeADGROUP_PERFORMANCE_REPORT/reportType
 dateRangeTypeLAST_7_DAYS/dateRangeType
 downloadFormatCSV/downloadFormat
   /reportDefinition

 with headers:

 Content-Length =  726

 Content-Type =   application/x-www-form-urlencoded

 Authorization =  Bearer 
 ya29.rgB3ZcocK-pwC7ksEClk9SU3W428m_Kw3BHwE7JJyN-sAKx84FUfO8gEh5

 developerToken =  XХХХ-Х_ХХ

 clientCustomerId = 111-111-


 token is correct that is visible from service:

 https://www.googleapis.com/oauth2/v1/tokeninfo?access_token=MY_TOKEN


  {

  issued_to: 
 -1095.apps.googleusercontent.com
 ,

  audience: 
 -1095.apps.googleusercontent.com
 ,

  user_id: 1,

  scope: https://www.googleapis.com/auth/userinfo.email 
 https://www.googleapis.com/auth/userinfo.profile;,

  expires_in: 1192,

  email: m...@email.ua,

  verified_email: true,

  access_type: offline

 }

  



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0c4375c2-547a-4b5c-87be-91e4407a1973%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Using API token of the root MCC account to link child MCC accounts to external MCC accounts.

2014-11-03 Thread Anash P. Oommen (AdWords API Team)
Hi Agnieszka,

Yes, you can. You can use the developer token of an account to make calls 
to ANY account, not just accounts linked under your API MCC.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Friday, October 31, 2014 5:38:44 PM UTC-4, Agnieszka Szefer wrote:

 I understand that I can authorize this only manually (from the account 
 being linked) or using the API (but in this case the account being linked 
 also needs to have an API token to do that)?

 I just want to automate the whole process without having to create any new 
 API tokens on the way (i.e. only root MCC account would have an API token). 
 Is that possible? Can I create a child MCC account using API token 
 belonging to a root MCC and then use the same API token to link that child 
 MCC account to an external MCC account? Or do I still need to have an API 
 token for the child account so it can authorize the request?

 Thanks!


 On Friday, October 31, 2014 9:36:34 AM UTC-7, Anash P. Oommen (AdWords API 
 Team) wrote:

 Hi Agnieszka,

 You would need only one developer token (i.e. the one at the root MCC 
 account level), but you'd need authorization from both the account being 
 linked (to send out the invite) and the account being linked to (to accept 
 the invite). See our guide on this topic for details. 
 https://developers.google.com/adwords/api/docs/guides/managing-accounts

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Thursday, October 30, 2014 8:18:46 PM UTC-4, Agnieszka Szefer wrote:

 Is it possible to use the Adwords API token of the root MCC account to 
 link its child MCC accounts (without any API tokens) with other MCC 
 accounts?

 The final goal is to given a root MCC account with Adwords API token 
 automatically create child MCC accounts and link them with external MCC 
 accounts. Is it possible with just one API token for the root MCC account, 
 or do I need to request API tokens for each child MCC account to link them 
 with other accounts (i.e. to let them request Standard access to other MCC 
 accounts)?




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/54b53a99-40f9-4351-b762-f5ff38f8b90e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: probably bug around Campaign advertisingChannelSubType DISPLAY_MOBILE_APP

2014-11-03 Thread Anash P. Oommen (AdWords API Team)
Hi Berry,

The campaign subtype field in AdWords API is not the same as campaign 
subtype in the UI. Currently, there is no way to set the campaign subtype 
as you see in the UI, through the API.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Monday, November 3, 2014 9:45:38 AM UTC-5, Berry wrote:


 https://lh5.googleusercontent.com/--WHTjNeXS4o/VFY520DXJII/AJw/TLb_ucCBPgU/s1600/bug.jpg
 i attached in the 2nd post, it's the google-group software hid it 
 accidentally

 i attache it again; here's the screenshot link:  
 https://lh5.googleusercontent.com/--WHTjNeXS4o/VFY520DXJII/AJw/TLb_ucCBPgU/s1600/bug.jpg

 to recreate the bug, 
 just try to set its subtype as i did,
 and then look in the web interface, at the campaign type  subtype area.







 On Monday, November 3, 2014 4:09:20 PM UTC+2, Anash P. Oommen (AdWords API 
 Team) wrote:

 Hi Berry,

 I'm not sure I understand the issue. Were your original mail missing a 
 screenshot?

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Sunday, November 2, 2014 9:03:04 AM UTC-5, Berry Tsakala wrote:

 i'm trying to 'ADD'  new campaign with specific subtype.
 this feature was added to v201409, and is documented here 
 https://developers.google.com/adwords/api/docs/reference/v201409/CampaignService.Campaign?hl=de

 I want specifically:  DISPLAY_MOBILE_APP

 'operator': 'ADD',
 'operand': {
 'name': 'eshkolit',  
 'status': 'ENABLED',
 'advertisingChannelType': 'DISPLAY',  
 'advertisingChannelSubType': 
 'DISPLAY_MOBILE_APP',
 (... more settings...)
}

 The operation runs without an error.  
 Even when I select the campaign via API, I get good results:

 (Campaign){
id = 210402425
name = eshkolit
status = PAUSED
servingStatus = SERVING
settings[] = 
   (GeoTargetTypeSetting){
  Setting.Type = GeoTargetTypeSetting
  positiveGeoTargetType = DONT_CARE
  negativeGeoTargetType = DONT_CARE
   },
 *   advertisingChannelType = DISPLAY*
 *   advertisingChannelSubType = DISPLAY_MOBILE_APP*


 However, what I see in the UI is this 
 Left side:the output of the above code,  showing  
 campaign-id=210402425
 Right side:  a correctly configured (manual, not via API) campaign id = 
 210070745

 also, displaying these campaigns via an API selector doesn't return 
 subtype value --- but for the CORRECT campagin.  the INcorrect campaign 
 returns the value I previously entered from the API.



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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/41d492d2-aa2f-47b5-b7c3-80d44669b9f9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY Bug?

2014-11-03 Thread Anash P. Oommen (AdWords API Team)
Hi Eric,

We are still looking into this, and we are aware of the upcoming 201402 
sunset. I'll update you once I hear from the team.

Cheers,
Anash

On Thursday, October 30, 2014 10:35:32 AM UTC-4, eric.ste...@gmail.com 
wrote:

 Hi Anash,

 Were you able to find out about the uniqueness behavior on adgroups? The 
 201402 version is sunsetting soon, so we need to know what we have to do.

 Thanks,
 Eric

 On Wed, Oct 22, 2014 at 4:06 PM, Eric Maas eric.stephen.m...@gmail.com 
 wrote:

 Thanks!

 On Tue, Oct 21, 2014 at 11:23 AM, Anash P. Oommen (AdWords API Team) 
 adwordsapiadvisor+an...@google.com wrote:

 Hi Eric,

 Campaigns don't enforce unique name in deleted items, I'll check with 
 the team if the same behaviour can be extended to adgroups.

 Cheers,
 Anash


 On Monday, October 20, 2014 5:56:04 PM UTC-4, eric.ste...@gmail.com 
 wrote:

 Hi Anash,

 Can you find out if the unique constraint is still going to be enforced 
 going forward for removed items?  If AdWords is no longer going to allow 
 you to unremove an item, it seems strange that removed items would still 
 be 
 part of the uniqueness check.  As we've described in this thread, it 
 presents problems for API users, but I would also see it creating problems 
 for UI users as well.  The user would try to create a new Ad Group, the UI 
 would tell them they can't because the name is already used - but when the 
 user goes to look for it they can't find it, or they think to look at the 
 removed Ad Groups and find it there, only to find they can't change it.

 Thanks,
 Eric

 On Tue, Oct 14, 2014 at 3:54 PM, Anash P. Oommen (AdWords API Team) 
 adwordsapiadvisor+an...@google.com wrote:

 Hi David,

 The team got back to me telling that this change is not feasible, so 
 you need to rename and then delete if you need to maintain unique name.

 Cheers,
 Anash


 On Friday, October 10, 2014 6:23:34 AM UTC-4, David Midgley wrote:

 Hi Anash/API Team

 Now that v201409 is released the countdown has started on the 
 sunsetting of v201402 which basically means we need a workaround to this 
 problem soon as v201402 is the only live version that allows the 
 renaming 
 of deleted adgroups!

 Anash, you mentioned:

 
 I've asked the team to investigate whether it is feasible to allow 
 deleted adgroups and campaigns to be renamed. I'll update the thread as 
 I 
 hear from them
 

 Have you heard from the team?

 Cheers

 David

 On Thursday, 18 September 2014 14:51:46 UTC+1, Anash P. Oommen 
 (AdWords API Team) wrote:

 Hi Mariusz,

 I've asked the team to investigate whether it is feasible to allow 
 deleted adgroups and campaigns to be renamed. I'll update the thread as 
 I 
 hear from them,

 Cheers,
 Anash

 On Thursday, September 18, 2014 5:43:41 AM UTC-4, Mariusz wrote:

 One more thing to bear in mind is that you probably should version 
 deleted adgroups. Imagine:

- user creates adgroup “test” 
- then deletes it, so the system first renames it to “test_del” 
and then marks as deleted 
- user creates again adgroup named “test” 
- user tries to delete it 

 The system will fail in step 4, because it will try to rename 
 adgroup to “test_del”, but that name already exists. So what you may 
 do in 
 that case is to detect the error, and try to rename it to “test_del1”.

 Cheers,

 Mariusz

 On Thursday, 18 September 2014 08:24:33 UTC+1, Oliver wrote:

 Just thinking loud here, if the adgroups are deleted via your 
 software, what if you rename the adgroup *before *you delete it?  
 We used to use a similar approach where we appended the text _del 
 to all 
 adgroup names that are about to be deleted.

 Obviously, if the adgroup is deleted via the adwords interface 
 rather than your software, then the above won't help.

 Oliver


 On Wednesday, September 17, 2014 2:33:22 PM UTC+1, David Midgley 
 wrote:

 Hi Anash/API Team

 I responded to your question. Is there anything else you need to 
 know?

 It would be great to get an answer on this please!

 Cheers

 David

 On Monday, 15 September 2014 16:04:31 UTC+1, Anash P. Oommen 
 (AdWords API Team) wrote:

 Hi David,

 If I remember correctly, the name needs to be unique in only 
 active + paused items, not globally (with the new change). So if 
 the user 
 deletes an adgroup with the same name, you could create one with 
 the same 
 name again. Let me know if you are seeing a different behaviour, 
 and I'll 
 ask the team to investigate this further.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Monday, September 8, 2014 2:29:07 PM UTC-4, David Midgley 
 wrote:

 Thanks for the quick response Anash!

 Let me explain my use case and maybe you can find a workaround?

 We are working on an optimisation application that uses a 
 strict naming convention for campaign and adgroup names. If a user 
 accidentally deletes an adgroup, my software can't correct the 
 error by 
 recreating the adgroup because if we create a new adgroup with the 
 same 
 name in the same campaign

Re: Error when calling getReportFields

2014-10-31 Thread Anash P. Oommen (AdWords API Team)
Hi Chris,

From the logs, it looks like you are sending clientCustomerId in the HTTP 
header.

content-type=[text/xml; charset=utf-8]
connection=[Keep-Alive]
Host=[adwords.google.com]
Content-Length=[704]
developerToken=[**],
Authorization=[Bearer **]
clientCustomerId=[]

?xml version='1.0' encoding='utf-8'?
soap:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'
   xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
   xmlns:xsd='http://www.w3.org/2001/XMLSchema'
   xmlns:cm='https://adwords.google.com/api/adwords/cm/v201409'
   soap:Header
  cm:RequestHeader
 cm:developerToken**/cm:developerToken
 cm:userAgent**/cm:userAgent
  /cm:RequestHeader
   /soap:Header
   soap:Body
 cm:getReportFields
   cm:reportTypeACCOUNT_PERFORMANCE_REPORT/cm:reportType
 /cm:getReportFields
   /soap:Body
/soap:Envelope

This should be in the SOAP headers instead:

  cm:RequestHeader
 cm:developerToken**/cm:developerToken
 cm:userAgent**/cm:userAgent
 cm:clientCustomerId**/cm:clientCustomerId
  /cm:RequestHeader

Cheers,
Anash

On Tuesday, October 28, 2014 11:12:03 AM UTC-4, chris h wrote:

 Hi Anash,
 Here is the full response:

 soap:Envelope 
 xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;soap:HeaderResponseHeader
  
 xmlns=https://adwords.google.com/api/adwords/cm/v201409;requestId0005067d03ec49e80aecc881b00042ac/requestIdserviceNameReportDefinitionService/serviceNamemethodNamegetReportFields/methodNameoperations0/operationsresponseTime47/responseTime/ResponseHeader/soap:Headersoap:Bodysoap:Faultfaultcodesoap:Server/faultcodefaultstring[AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED
  
 @ ; trigger:'lt;nullgt;']/faultstringdetailApiExceptionFault xmlns=
 https://adwords.google.com/api/adwords/cm/v201409;message[AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED
  
 @ ; 
 trigger:'lt;nullgt;']/messageApplicationException.TypeApiException/ApplicationException.Typeerrors
  
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
 xsi:type=AuthenticationErrorfieldPath/fieldPathtriggerlt;nullgt;/triggererrorStringAuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED/errorStringApiError.TypeAuthenticationError/ApiError.TypereasonCLIENT_CUSTOMER_ID_IS_REQUIRED/reason/errors/ApiExceptionFault/detail/soap:Fault/soap:Body/soap:Envelope

 On Tuesday, October 28, 2014 8:39:37 AM UTC-4, Anash P. Oommen (AdWords 
 API Team) wrote:

 Hi Chris,

 Could you post a request id for a failed request, so I can investigate 
 this further? It is part of the SOAP response header.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Monday, October 27, 2014 8:22:09 PM UTC-4, chris h wrote:

 Hi Anash,
 Yes, I did add it to the request header. Can you think of anything else 
 which could be causing it not to work?

 On Monday, October 27, 2014 2:55:40 PM UTC-4, Anash P. Oommen (AdWords 
 API Team) wrote:

 Hi Chris,

 ReportDefinitionService is a SOAP service, so clientCustomerId goes in 
 the SOAP RequestHeader header.

 Cheers,
 Anash

 On Monday, October 27, 2014 1:33:57 PM UTC-4, chris h wrote:

 Hi Anash,
 I did add the clientCustomerId to the header (was mentioned in my 
 original post) but I still get this error.  Does it matter which 
 clientCustomerId is used?

 On Monday, October 27, 2014 1:26:46 PM UTC-4, Anash P. Oommen (AdWords 
 API Team) wrote:

 Hi Chris,

 in v201409, we made client customer id a required field in all the 
 services. We have asked the team to relax this requirement for 
 ReportDefinitionService. Meanwhile, you can work around the issue by 
 setting the clientCustomerId header in the API calls to 
 ReportDefinitionService. Using your MCC CID should work fine.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Monday, October 27, 2014 1:22:58 PM UTC-4, chris h wrote:

 Thanks, but I'm not using Python. I need to know what has changed 
 with the protocol handshake that is causing my existing application to 
 stop 
 working.

 On Monday, October 27, 2014 6:52:11 AM UTC-4, Сергей Козловский 
 wrote:

 Look here how get all fields by report name 
 https://github.com/googleads/googleads-python-lib/blob/master/examples/adwords/v201409/reporting/get_report_fields.py

 and here how correctly authorizing 
 https://github.com/googleads/googleads-python-lib/blob/master/examples/adwords/authentication/create_adwords_client_without_yaml.py

 понедельник, 27 октября 2014 г., 5:11:18 UTC+2 пользователь chris h 
 написал:

 Am migrating to v201409

 Getting error:

 AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED
 when calling getReportFields

 Reading this:

 https://developers.google.com/adwords/api/docs/reference/v201409/ReportDefinitionService

 I find in errors section:

 CLIENT_CUSTOMER_ID_IS_REQUIRED Client Customer Id is required if 
 CustomerIdMode is set to CLIENT_EXTERNAL_CUSTOMER_ID. Starting 
 version 
 V201409 ClientCustomerId will be required for all

Re: Required Minimum Functionality field conflicts

2014-10-31 Thread Anash P. Oommen (AdWords API Team)
Hi Peter,

Our team doesn't deal with RMF compliance, so I cannot answer this 
question. Could you please reach out to the token review team by email? You 
should have an email they sent you during the token review or RMF 
compliance review process.

Cheers
Anash P. Oommen,
AdWords API Advisor.

On Tuesday, October 28, 2014 11:42:47 AM UTC-4, Peter Kingswell wrote:

 Hi,

 I'm updating our app to follow the AdWords RMF (
 https://developers.google.com/adwords/api/docs/requirements).  RMF R.20 
 states that ClickType must be shown.  This isn't possible for us since we 
 have ReportDefinition.includeZeroImpressions set to true (which conflicts 
 with ClickType).  Another conflict is that we download 
 SearchBudgetLostImpressionShare and SearchRankLostImpressionShare, which 
 also cannot be downloaded along with ClickType.  Here's the error message 
 for the latter conflict:

 Cannot select a combination of ClickType and 
 AdvertiserExperimentId,AssistClicks,AssistClicksOverLastClicks,AssistImpressions,AssistImpressionsOverLastClicks,AverageFrequency,AveragePageviews,AverageTimeOnSite,AvgCallDurationSecs,BounceRate,Bounces,BudgetLostImpressionShare,CallDurationSecs,ClickAssistedConversionValue,ClickAssistedConversionValueLong,ClickAssistedConversionValueNonMoney,ClickAssistedConversions,ClickAssistedConversionsOverLastClickConversions,ClickReach,ContentBudgetLostImpressionShare,ContentImpressionShare,ContentLocalBidLostImpressions,ContentLocalShownImpressions,ContentLocalThrottledImpressions,ContentRankLostImpressionShare,CostPerEstimatedTotalConversion,EstimatedCrossDeviceConversions,EstimatedTotalConversionRate,EstimatedTotalConversionValue,EstimatedTotalConversionValuePerClick,EstimatedTotalConversionValuePerCost,EstimatedTotalConversions,EstimatedTotalConversionsManyPerClick,ExactMatchImpressionShare,ExternalAdChanges,ExternalBidChanges,ExternalBudgetChanges,ExternalChanges,ExternalKeywordChanges,ExternalNetworkChanges,ExternalStatusChanges,ExternalTargetingChanges,ImpressionAssistedConversionValue,ImpressionAssistedConversionValueLong,ImpressionAssistedConversionValueNonMoney,ImpressionAssistedConversions,ImpressionAssistedConversionsOverLastClickConversions,ImpressionReach,ImpressionShare,InternalAdChanges,InternalBidChanges,InternalBudgetChanges,InternalChanges,InternalKeywordChanges,InternalNetworkChanges,InternalStatusChanges,InternalTargetingChanges,LastClickConversions,LastClicks,NewVisitors,NumCalls,NumMissedCalls,NumReceivedCalls,Pageviews,PercentNewVisitors,QualityLostImpressionShare,ReachBucket,RelativeCtr,SearchBudgetLostImpressionShare,SearchExactMatchImpressionShare,SearchImpressionShare,SearchLocalBidLostImpressions,SearchLocalShownImpressions,SearchLocalThrottledImpressions,SearchRankLostImpressionShare,ValuePerEstimatedTotalConversion,VisitDuration,Visits

 So it would seem to me that our options are:
 - not download ClickType - and thus not entirely conform to the RMF
 - not download the conflicting fields (e.g. SearchRankLostImpressionShare) 
 - this would break important features in our app
 - download the data twice - once for SearchRankLostImpressionShare and 
 once for ClickType - obviously we want to avoid this (how would you merge 
 the data?  sounds difficult)

 Any advice appreciated!
 Peter


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b4697553-0d01-4d81-85e6-5451f97e1c19%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Issue regarding Invalid and/or missing SSL certificate for URL for an application

2014-10-31 Thread Anash P. Oommen (AdWords API Team)
Hi Kiran,

What language are you using to make API calls? AdWords API doesn't require 
you to install any special certificates, but depending on the language and 
library you are using, you may require to install the certificate for 
AdWords API site into your machine's trusted certificate store. E.g. mono 
requires http://www.mono-project.com/docs/faq/security/ you to run 
mozroots command to import the default set of trusted certificates.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Wednesday, October 29, 2014 2:26:00 AM UTC-4, Kiran Kumar wrote:

 Hello,
  
   I have my mcc client id and got authorized with the developer 
 token . There by i am further processed to get the developer token and got 
 the access token for that. After this i want to integrate my api with the 
 application .On processing into that i am facing the issues as missing SSL 
 certificate for url and if i change it as HTTP other that HTTPS i am 
 redirecting to a code of the given product(what is mentioned in  url).Is it 
 necessary to have SSL certificate.Or else what might be the issue regarding 
 this error.

 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/277785ca-37a0-4477-8cc3-04b6edae57a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Report Summary is missing

2014-10-31 Thread Anash P. Oommen (AdWords API Team)
Hi David,

skipReportHeader and skipReportSummary headers work only for csv/tsv 
reports, they don't apply to XML reports. If I remember correctly, XML 
reports don't have summary footer at all.

About the math: it depends on how you have setup conversion counting in 
AdWords UI. See https://support.google.com/adwords/answer/3438531 for more 
details. I'd also recommend asking this question on the product forum: 
https://www.en.*adwords*-community.com/

Cheers,
Anash P. Oommen,
AdWords API Advisor. 

On Wednesday, October 29, 2014 10:47:31 AM UTC-4, David wrote:

 I should add that I've just tried outputting a report to CSV and the total 
 row is there. It's just when outputting to XML that it is missing.

 I've also discovered that the column I need for the Cost / conv data is 
 CostPerConversionManyPerClick but I can't find the maths needed to arrive 
 at the total.

 What's wrong with XML and totals?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d7d490b8-ef7f-40ea-8f85-ab39422ea6c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Errors while trying to update criterion labels

2014-10-31 Thread Anash P. Oommen (AdWords API Team)
Hi Kamil,

Could you please post a SOAP request and response xml for a failed request? 
See 
https://github.com/googleads/googleads-php-lib/blob/master/README.md#how-do-i-enable-logging
 
for instructions on how to setup logging in PHP library.

Cheers
Anash P. Oommen,
AdWords API Advisor.

On Wednesday, October 29, 2014 9:34:06 AM UTC-4, Kamil wrote:

 Hey,

 I can't update criterion labels data using the soap request. I am using 
 your newest version of php-lib and anytime I try to send something with 
 'SET' operator I get the Soap Fault error:

 SoapFault exception: [soap:Server] Fault occurred while processing.

 I also tried to first remove all labels and the add one I needed but, when 
 I try to remove non exsiting label or add the exisitng ones, I get the 
 AdGroupCritetionError (this is obvious, however I was looking for a 
 workaround).
 Another thing is that most of this updates are sent as is (without 
 checking is there something to update in labels part) and sometimes do not 
 change anything at all. Can it be a problem?

 Looking forward for your reply,
 Kamil K


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/49272f1a-e72e-4508-a0ca-741f655f7622%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: EntityCountLimitExceeded: Shared Budget

2014-10-31 Thread Anash P. Oommen (AdWords API Team)
Hi Aaron,

You can either use BudgetService.mutate (REMOVE operation) or the AdWords 
UI (https://support.google.com/adwords/answer/2517512?hl=en) to remove the 
budgets you don't need.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Thursday, October 30, 2014 6:53:58 PM UTC-4, asi...@jumpstartauto.com 
wrote:

 Dear AdWords API SUpport: 

 In one of my apps, I receive the following error in my log:

 [EntityCountLimitExceeded.ACCOUNT_LIMIT @ operations[0] 
 (enclosingId=6206530280, limit=2, 
 accountLimitType=IMPLICITLY_SHARED_BUDGETS_PER_ACCOUNT, 
 existingCount=24275)]

 Now the API tool is completely broken and all API update methods fail.

 Please indicate, from both UI and API perspectives, what I need to remove 
 in order to resolve this error.  
 What API methods, and which screens in the UI, would allow me to remove 
 the budgets so I am under the 20K limit? 

 Thanks, 
 Aaron


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b92a27db-0aee-4fde-9240-9fe7590dc636%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Using API token of the root MCC account to link child MCC accounts to external MCC accounts.

2014-10-31 Thread Anash P. Oommen (AdWords API Team)
Hi Agnieszka,

You would need only one developer token (i.e. the one at the root MCC 
account level), but you'd need authorization from both the account being 
linked (to send out the invite) and the account being linked to (to accept 
the invite). See our guide on this topic for 
details. https://developers.google.com/adwords/api/docs/guides/managing-accounts

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Thursday, October 30, 2014 8:18:46 PM UTC-4, Agnieszka Szefer wrote:

 Is it possible to use the Adwords API token of the root MCC account to 
 link its child MCC accounts (without any API tokens) with other MCC 
 accounts?

 The final goal is to given a root MCC account with Adwords API token 
 automatically create child MCC accounts and link them with external MCC 
 accounts. Is it possible with just one API token for the root MCC account, 
 or do I need to request API tokens for each child MCC account to link them 
 with other accounts (i.e. to let them request Standard access to other MCC 
 accounts)?




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/145a1e31-a98b-42cc-b37b-3349369ee576%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: One adword API developer token for multiple account

2014-10-31 Thread Anash P. Oommen (AdWords API Team)
Hi Shijo,

I think the best approach would be for you to implement OAuth2 web flow in 
your application. Your users need to login to your site, and grant your 
application the necessary permissions to access their account. Then you can 
use the access token to make calls to the relevant accounts.

Cheers,
Anash 

On Friday, October 31, 2014 1:06:42 AM UTC-4, Shijo k j wrote:

 Do please check this link, give some more suggections:

 http://stackoverflow.com/questions/23847981/one-adwords-api-developer-token-for-multiple-accounts

 On Wednesday, October 29, 2014 7:03:22 PM UTC+5:30, Michael Cloonan 
 (AdWords API Team) wrote:

 Hello,

 Currently, the only way to do this is to link the accounts under the same 
 MCC hierarchy. You should be able to link them this way without disrupting 
 other means of accessing the accounts.

 Regards,
 Mike, AdWords API Team

 On Wednesday, October 29, 2014 3:24:55 AM UTC-4, Shijo k j wrote:

 I have to download report from multiple Adwords accounts, they are not 
 linked under the same MCC hierarchy. I have registered with one of them and 
 have a developer token for that account. Now I want to use this developer 
 token with all other accounts if it is possible to download report?. Can I 
 use one developer token for multiple Adwords account? These accounts are 
 independent and they are not linked under the same MCC hierarchy?



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/645fb0d4-76e5-45e9-a1ee-f3b4a6449a12%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Youtube right-side banner required settings

2014-10-31 Thread Anash P. Oommen (AdWords API Team)
Hi,

Since this is a product question, could you please ask the question on our 
product forum instead? https://www.en.adwords-community.com/

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Friday, October 31, 2014 10:09:10 AM UTC-4, LamareDev wrote:

 I am looking for confirmation if the following steps are sufficient to 
 target the right-side banner adspace above the video suggestions on a 
 youtube movie page. For now we don't want static image templates with 
 companion banners, but just an image ad banner:

 1) Created a campaign and choose display-network
 2) Added an adgroup and under display-network tab created a placement for 
 youtube.com
 3) Under interests an appropriate interest category was chosen
 4) Uploaded a banner (jpeg) of 300x250 dimension with less than 150kB file 
 size
 5) Banner got approved

 Is there anything that might have been overlooked?

 Thank you for your help


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/087c16eb-f817-47c6-b3f4-ea30f430b28b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Upload offline conversion to Adwords, Cannot see the value in the adwords

2014-10-31 Thread Anash P. Oommen (AdWords API Team)
Hi Joey,

If the API call succeeded, then that's a sign that the data got imported.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Wednesday, October 22, 2014 10:12:34 PM UTC-4, Joey Belarmino wrote:

 Hi Ray Tsang,

 Can you please help me as well. 

 I tried last night running the script, but I cannot find anything on the 
 adwords site where to look for the status. 

 Response from API ddidn't contain any error message so I assume that post 
 was successful, but would like a confirmation. 

 Anyway to see logs just like when you upload conversions in CSV format 
 manually?

 I attached the xml logs here. 

 Thanks


 On Friday, January 17, 2014 11:27:53 PM UTC+8, Ray Tsang (AdWords API 
 Team) wrote:

 Mellon,

 According to the document, it takes about 3 hours for your imported 
 conversions statistics to show up in your AdWords account.
 Also, Offline conversions uploaded more than 90 days after the 
 associated last click won’t be imported into AdWords.  Please make sure 
 this is not the case.

 Otherwise, could I trouble you to send the logged SOAP request/response 
 (stripping out sensitive information such as Developer Token, Auth Token, 
 etc) by using the Reply to Author feature?

 Are you able to see the upload status in the UI?

 Thanks!

 --
 Ray Tsang (AdWords API Advisor)


 On Monday, January 13, 2014 9:44:48 AM UTC-5, Mellon M wrote:

 Hi,

 I was trying to using Adwords API upload some gclids to Google Adwords 
 to do the offline tracking conversion. I use soap method to connect to 
 the server, and use the sample code UploadOfflineConversions.php (modified 
 a little bit, changed the setting up new conversion code). 

 I have succeed connected to the API. ( Use the example show all ad 
 campaigns under my account). 

 And also succeed upload the gclid to the Adwords account.

 Example showed here:

 https://lh5.googleusercontent.com/-2-wQS0zOjBU/UtP3nDTZl3I/AGw/jjUfQG7puA0/s1600/Capture.PNG


 I also noticed the successful upload to Adwords console. :


 https://lh3.googleusercontent.com/--fcPSrB_XP8/UtP4K8xg3cI/AG4/pa722ay6q5c/s1600/Capture.PNG
 2 Clicks and one conversion. But the value somehow is 0. 

 The conversion value is set at 10. I did all these process last Thursday 
 and Friday. But I still didn't see any update on this. 

 Could some one help me what's maybe wrong in the process?

 I also have another 2 questions if somebody could help:

 1) Should I wait 4-6 hours after the conversion is completed, then 
 upload the gclid to the Adwords?
 2) How long should I expect the conversion show up in the Adwords 
 console?

 I find these information on the page: 
 https://support.google.com/adwords/answer/2998031?hl=en

 Not sure if my understanding is right or not. 



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/80f909f3-93b7-4f79-b84c-aaa1a45faa7b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Removal of returnMoneyInMIcros flag in API version v201409 and workaround for it

2014-10-31 Thread Anash P. Oommen (AdWords API Team)
Hi Shobha,

There's no workaround to the issue you mentioned other than dividing the 
value by 100.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Friday, October 31, 2014 10:50:50 AM UTC-4, Shobha Thorve wrote:

 Hi Google team,

 We just wanted to know what is the reason why the money is being sent in 
 micros now and the  returnMoneyInMIcros flag has been completely removed as 
 it has been mentioned in 
 https://developers.google.com/adwords/api/docs/guides/reporting-concepts#money

 As we are using money related fields in our tools quite extensively, can 
 you please let us know if there is a quick fix solution rather than 
 dividing the values by 100 everywhere.

 Thanks,
 Shobha



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0feb0d3a-ac35-4da5-abe4-153fe3f9a210%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Connection has been shutdown: javax.net.ssl.SSLException

2014-10-31 Thread Anash P. Oommen (AdWords API Team)
Hi Rafal,

Apologies for the delay, could you kindly open an issue 
at https://github.com/googleads/googleads-java-lib?

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Friday, October 24, 2014 2:15:58 AM UTC-4, Rafał Gorzkowski wrote:

 Hy I'm using the Google Adwords API (v1.27.0 ). Sometimes when I'm 
 invoking method get(com.google.api.ads.adwords.axis.v201402.cm.JobSelector 
 selector) on  MutateJobServiceInterface) to query the status of the 
 existing job I receive below exception.
 Does anyone have a similar problem ?

 Any help or suggestions will be really appreciated.

 Here is stacktrace.

 Error org.apache.axis.AxisFault in GoogleDataProviderImpl::performAdJob.
 AxisFault
  faultCode: {
 http://schemas.xmlsoap.org/soap/envelope/}Server.userException
  faultSubcode: 
  faultString: javax.net.ssl.SSLException: Connection has been shutdown: 
 javax.net.ssl.SSLException: java.net.SocketException: Connection reset by 
 peer: socket write error
  faultActor: 
  faultNode: 
  faultDetail: 
 {http://xml.apache.org/axis/}stackTrace:javax.net.ssl.SSLException: 
 Connection has been shutdown: javax.net.ssl.SSLException: 
 java.net.SocketException: Connection reset by peer: socket write error
 at sun.security.ssl.SSLSocketImpl.checkEOF(Unknown Source)
 at sun.security.ssl.AppInputStream.read(Unknown Source)
 at java.io.BufferedInputStream.fill(Unknown Source)
 at java.io.BufferedInputStream.read(Unknown Source)
 at 
 org.apache.axis.transport.http.HTTPSender.readHeadersFromSocket(HTTPSender.java:583)
 at 
 org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
 at 
 org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
 at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
 at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
 at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
 at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
 at org.apache.axis.client.Call.invoke(Call.java:2767)
 at org.apache.axis.client.Call.invoke(Call.java:2443)
 at org.apache.axis.client.Call.invoke(Call.java:2366)
 at org.apache.axis.client.Call.invoke(Call.java:1812)
 at 
 com.google.api.ads.adwords.axis.v201402.cm.MutateJobServiceSoapBindingStub.mutate(MutateJobServiceSoapBindingStub.java:2928)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at 
 com.google.api.ads.common.lib.soap.SoapClientHandler.invoke(SoapClientHandler.java:109)
 at 
 com.google.api.ads.common.lib.soap.axis.AxisHandler.invokeSoapCall(AxisHandler.java:201)
 at 
 com.google.api.ads.common.lib.soap.SoapServiceClient.callSoapClient(SoapServiceClient.java:64)
 at 
 com.google.api.ads.common.lib.soap.SoapServiceClient.invoke(SoapServiceClient.java:93)
 at com.sun.proxy.$Proxy83.mutate(Unknown Source)
 at 
 xxx.GoogleDataProviderImpl.performAdJobPart(GoogleDataProviderImpl.java:1193)
 at 
 xxx.GoogleDataProviderImpl.updateGoogleTextAds(GoogleDataProviderImpl.java:518)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at 
 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
 at 
 org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
 at 
 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
 at 
 org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
 at 
 org.perf4j.aop.AbstractTimingAspect$1.proceed(AbstractTimingAspect.java:47)
 at 
 org.perf4j.aop.AgnosticTimingAspect.runProfiledMethod(AgnosticTimingAspect.java:53)
 at 
 org.perf4j.aop.AbstractTimingAspect.doPerfLogging(AbstractTimingAspect.java:45)
 at sun.reflect.GeneratedMethodAccessor795.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at 
 org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
 at 
 org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
 at 
 org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
 at 
 org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
 at 
 

Re: ADD keywords operations : Concurrent vs. sequential

2014-10-30 Thread Anash P. Oommen (AdWords API Team)
Hi GDZ,

Are you sure your machine is not blocking on outgoing connections? .NET, 
for instance, limits the number of simultaneous Web connections to 2.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Wednesday, October 29, 2014 5:32:42 PM UTC-4, GDZ wrote:

 Hello!

 Not really a question but an observation.

 Situation: 5 AdGroups, ~500 keywords each. Keywords ADD operations are 
 batched into one mutate job for each AdGroup. So naturally 5 mutate jobs 
 total ready for execution.

 Scenario 1. Mutate jobs are executed one after another, i.e. next job 
 starts only after the previous one was finished.
 Scenario 2. Mutate jobs are executed in parallel, 5 threads are running at 
 the same time, each modifying its own AdGroup to avoid 
 CONCURRENT_MODIFICATION error.

 Naturally, we expected Scenario 2 to be much faster than Scenario 1, 
 reality is its only ~6% faster. Now trying to figure out how to speed this 
 up a bit :)

 Thank you,
 GDZ


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/bf49a217-839b-4007-afc0-0cfaf287e157%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ERROR_GETTING_RESPONSE_FROM_BACKEND

2014-10-28 Thread Anash P. Oommen (AdWords API Team)
Hi Mark,

I can't find this error code in our logs, could you please provide a failed 
request id?

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Thursday, October 23, 2014 7:40:41 AM UTC-4, Mark wrote:

 Hello Anash,

 I am facing same issue since two days! 
 Please let me know how I can figure this out?



 On Friday, January 3, 2014 8:06:04 PM UTC+5:30, Anash P. Oommen (AdWords 
 API Team) wrote:

 Hi Mesut,

 Let me know if the issue persists, I'll ask the reports team to 
 investigate this further.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Monday, December 30, 2013 1:02:24 PM UTC-5, Mesut Eyrice wrote:

 I'm having the same problem.

 17 Eylül 2013 Salı 19:50:02 UTC+3 tarihinde Alex yazdı:

 We get the error ERROR_GETTING_RESPONSE_FROM_BACKEND very often today. 
 Is there a problem? Will it be fixed soon?



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/93b4d2e1-a03c-4cc7-a65c-96b49ea0099a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error when calling getReportFields

2014-10-28 Thread Anash P. Oommen (AdWords API Team)
Hi Chris,

Could you post a request id for a failed request, so I can investigate this 
further? It is part of the SOAP response header.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Monday, October 27, 2014 8:22:09 PM UTC-4, chris h wrote:

 Hi Anash,
 Yes, I did add it to the request header. Can you think of anything else 
 which could be causing it not to work?

 On Monday, October 27, 2014 2:55:40 PM UTC-4, Anash P. Oommen (AdWords API 
 Team) wrote:

 Hi Chris,

 ReportDefinitionService is a SOAP service, so clientCustomerId goes in 
 the SOAP RequestHeader header.

 Cheers,
 Anash

 On Monday, October 27, 2014 1:33:57 PM UTC-4, chris h wrote:

 Hi Anash,
 I did add the clientCustomerId to the header (was mentioned in my 
 original post) but I still get this error.  Does it matter which 
 clientCustomerId is used?

 On Monday, October 27, 2014 1:26:46 PM UTC-4, Anash P. Oommen (AdWords 
 API Team) wrote:

 Hi Chris,

 in v201409, we made client customer id a required field in all the 
 services. We have asked the team to relax this requirement for 
 ReportDefinitionService. Meanwhile, you can work around the issue by 
 setting the clientCustomerId header in the API calls to 
 ReportDefinitionService. Using your MCC CID should work fine.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Monday, October 27, 2014 1:22:58 PM UTC-4, chris h wrote:

 Thanks, but I'm not using Python. I need to know what has changed with 
 the protocol handshake that is causing my existing application to stop 
 working.

 On Monday, October 27, 2014 6:52:11 AM UTC-4, Сергей Козловский wrote:

 Look here how get all fields by report name 
 https://github.com/googleads/googleads-python-lib/blob/master/examples/adwords/v201409/reporting/get_report_fields.py

 and here how correctly authorizing 
 https://github.com/googleads/googleads-python-lib/blob/master/examples/adwords/authentication/create_adwords_client_without_yaml.py

 понедельник, 27 октября 2014 г., 5:11:18 UTC+2 пользователь chris h 
 написал:

 Am migrating to v201409

 Getting error:

 AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED
 when calling getReportFields

 Reading this:

 https://developers.google.com/adwords/api/docs/reference/v201409/ReportDefinitionService

 I find in errors section:

 CLIENT_CUSTOMER_ID_IS_REQUIRED Client Customer Id is required if 
 CustomerIdMode is set to CLIENT_EXTERNAL_CUSTOMER_ID. Starting version 
 V201409 ClientCustomerId will be required for all requests except for 
 CustomerService.get 
 https://developers.google.com/adwords/api/docs/reference/v201409/CustomerService.html#get
 I can't find anything in the docs about setting CustomerIdMode. And 
 anyway, I added the clientCustomerId header to the HTTP POST just like 
 with 
 other calls, but I still get the error. And finally, why does this 
 methods 
 require a Client Customer Id? Might the fields returned be different 
 for 
 different customers?



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3bdc37db-508d-41f8-881f-2f9e2511bc85%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.NOT_ADS_USER with service account

2014-10-27 Thread Anash P. Oommen (AdWords API Team)
Hi,

You should also set oauth2_prn to identify the OAuth2 user. This should be 
the login email of your AdWords account, or your AdWords MCC account. If 
you are setting the email address of your AdWords account, 
then client_customer_id should contain your AdWords account's CID. If you 
are setting the email address of your AdWords MCC account, then 
client_customer_id 
should be beneath the MCC.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Friday, October 24, 2014 8:01:18 AM UTC-4, Ismary Cruz wrote:

 I have a services account , I been trying to get adwords data without 
 success. I have a MCC account.

 I followed, step by step, the user guide.

 I created the project, then I created new credentials. I selected 
 'services account' and generated public/secret key.

 I followed the guide to delegating domain-wide authority to the service 
 account (I used https://www.googleapis.com/auth/adwords as scope).

 I got the authorization token without any problem. But when I try to call 
 any service of Adwords, I got the same error: 


 AdwordsApi::V201409::CampaignService::ApiException at ...
 [AuthenticationError.NOT_ADS_USER @ ; trigger:'null']

 This is my adwords_api.yml configuration:

 :authentication:
   :method: OAuth2_JWT
   :oauth2_client_id: service_account_client_id
   :oauth2_issuer: service_account_email
   :oauth2_keyfile: service_account_keyfile
   :oauth2_secret: password_to_keyfile
   :developer_token: developer_token
   :client_customer_id: adwords_account_client_customer_id

 :service:
   :environment: 'PRODUCTION'
 :connection:
   :enable_gzip: false
 :library:
   :log_level: DEBUG


 Other informations: 
 gem google-adwords-api (0.13.2)
 gem oauth2 (1.0.0)
 API versio v:201409

 For some reason my service account doesn't have permission for Adwords, 
 although I had defined them as indicated it in the user guide.

 If you have any ideas, I will be very grateful you.

 Thanks in advanced,




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/436739b2-5849-412f-b475-339a777249ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ReportsException Deprecated with no Clear Replacement

2014-10-27 Thread Anash P. Oommen (AdWords API Team)
Hi,

I'll fix the wiki guide to cover this case. You have to use 
AdWordsReportsException 
https://github.com/googleads/googleads-dotnet-lib/blob/master/src/AdWords/Util/Reports/New/AdWordsReportsException.cs
 instead 
of ReportsException, and the code works pretty much the same way otherwise.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Friday, October 24, 2014 12:55:45 PM UTC-4, apiapi wrote:


 I am using 18.5 of the .NET Library, using the latest ReportUtilities bits 
 in v201409.

 I have code that retries report downloads when Exceptions occur. My catch 
 block looks like this:

 catch( Exception aaa )
 {
 var asrep = xxx as ReportsException;
 if ( null != asrep )
 {
  // check length of asrep.Errors.Length and string value of 
 asrep.Errors[0] and log that issue 
 }


 However, ReportsException is now marked as Deprecated, and the reference 
 URI at 
 https://github.com/googleads/googleads-dotnet-lib/wiki/Migrating-to-the-new-version-of-ReportUtilities
  
 does not say how to catch errors and Exceptions. How should this code be 
 handled now?

 Thanks.


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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/233965c1-ceed-442a-bdd4-6c4ff8586c20%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error when calling getReportFields

2014-10-27 Thread Anash P. Oommen (AdWords API Team)
Hi Chris,

in v201409, we made client customer id a required field in all the 
services. We have asked the team to relax this requirement for 
ReportDefinitionService. Meanwhile, you can work around the issue by 
setting the clientCustomerId header in the API calls to 
ReportDefinitionService. Using your MCC CID should work fine.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Monday, October 27, 2014 1:22:58 PM UTC-4, chris h wrote:

 Thanks, but I'm not using Python. I need to know what has changed with the 
 protocol handshake that is causing my existing application to stop working.

 On Monday, October 27, 2014 6:52:11 AM UTC-4, Сергей Козловский wrote:

 Look here how get all fields by report name 
 https://github.com/googleads/googleads-python-lib/blob/master/examples/adwords/v201409/reporting/get_report_fields.py

 and here how correctly authorizing 
 https://github.com/googleads/googleads-python-lib/blob/master/examples/adwords/authentication/create_adwords_client_without_yaml.py

 понедельник, 27 октября 2014 г., 5:11:18 UTC+2 пользователь chris h 
 написал:

 Am migrating to v201409

 Getting error:

 AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED
 when calling getReportFields

 Reading this:

 https://developers.google.com/adwords/api/docs/reference/v201409/ReportDefinitionService

 I find in errors section:

 CLIENT_CUSTOMER_ID_IS_REQUIRED Client Customer Id is required if 
 CustomerIdMode is set to CLIENT_EXTERNAL_CUSTOMER_ID. Starting version 
 V201409 ClientCustomerId will be required for all requests except for 
 CustomerService.get 
 https://developers.google.com/adwords/api/docs/reference/v201409/CustomerService.html#get
 I can't find anything in the docs about setting CustomerIdMode. And 
 anyway, I added the clientCustomerId header to the HTTP POST just like with 
 other calls, but I still get the error. And finally, why does this methods 
 require a Client Customer Id? Might the fields returned be different for 
 different customers?



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c346cace-0e87-47b0-85f8-fc9ba3a8ecc4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Service Account NOT_ADS_USER error

2014-10-27 Thread Anash P. Oommen (AdWords API Team)
Hi,

Did you set the prn email when getting the access token in service account 
flow? This field is required, since AdWords API doesn't allow anonymous 
OAuth2 access.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Friday, October 24, 2014 3:31:15 PM UTC-4, IMM Boulder wrote:

 I have verified that clientCustomerId is in the header and that the user 
 is an adwords user.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/63290b30-ea09-4d8c-b094-afb6300fa235%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Value Tracks parameters not substituted

2014-10-27 Thread Anash P. Oommen (AdWords API Team)
Hi Sergey,

Since this is a product question and not specific to API, could you kindly 
post it on https://www.en.adwords-community.com/ ?

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Friday, October 24, 2014 10:41:02 AM UTC-4, rocs...@gmail.com wrote:

 Hi,

 After few days using of 'Value Track' AdWords feature we have got strange 
 behavior of system while parameters substituting:
 some of them have values while some not.

 Example:

 Source url looks like:

 http://dentessa.lead-or-call.ru?utm_campaign=protezutm_source=adwordsutm_group=15210342304utm_medium={network}-{placement}utm_content={creative}-{adposition}utm_keyword={keyword}-{matchtype}utm_device={device}


 Landing urls lloks like:
 
 http://dentessa.lead-or-call.ru/?utm_campaign=protezutm_source=adwordsutm_group=15210342304utm_medium=g-utm_content=51711733384-noneutm_keyword=%D1%81%D0%BA%D0%BE%D0%BB%D1%8C%D0%BA%D0%BE%20%D1%81%D1%82%D0%BE%D1%8F%D1%82%20%D0%B2%D0%B8%D0%BD%D0%B8%D1%80%D1%8B%20%D0%BD%D0%B0%20%D0%B7%D1%83%D0%B1%D1%8B-utm_device=m
 

 We have:

 {network} - g
 {placement} - ''
 {adposition} - none
 {matchtype} - ''

 The question is: As network is 'g' (Google Search results) why is 
 {placement} is empty ?
 In what position the click took place ?
 The same question about {matchtype}. 

 One note: this happens from time to time with the same ad- sometimes we 
 have all parameters, but sometimes we have above situation.  

 Help us please to understand the reason of this behavior.

 Thanks in advance,
 Sergey. 




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fe4d2c54-53eb-427b-a1d2-c168e49e608e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error when calling getReportFields

2014-10-27 Thread Anash P. Oommen (AdWords API Team)
Hi Chris,

ReportDefinitionService is a SOAP service, so clientCustomerId goes in the 
SOAP RequestHeader header.

Cheers,
Anash

On Monday, October 27, 2014 1:33:57 PM UTC-4, chris h wrote:

 Hi Anash,
 I did add the clientCustomerId to the header (was mentioned in my original 
 post) but I still get this error.  Does it matter which clientCustomerId is 
 used?

 On Monday, October 27, 2014 1:26:46 PM UTC-4, Anash P. Oommen (AdWords API 
 Team) wrote:

 Hi Chris,

 in v201409, we made client customer id a required field in all the 
 services. We have asked the team to relax this requirement for 
 ReportDefinitionService. Meanwhile, you can work around the issue by 
 setting the clientCustomerId header in the API calls to 
 ReportDefinitionService. Using your MCC CID should work fine.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Monday, October 27, 2014 1:22:58 PM UTC-4, chris h wrote:

 Thanks, but I'm not using Python. I need to know what has changed with 
 the protocol handshake that is causing my existing application to stop 
 working.

 On Monday, October 27, 2014 6:52:11 AM UTC-4, Сергей Козловский wrote:

 Look here how get all fields by report name 
 https://github.com/googleads/googleads-python-lib/blob/master/examples/adwords/v201409/reporting/get_report_fields.py

 and here how correctly authorizing 
 https://github.com/googleads/googleads-python-lib/blob/master/examples/adwords/authentication/create_adwords_client_without_yaml.py

 понедельник, 27 октября 2014 г., 5:11:18 UTC+2 пользователь chris h 
 написал:

 Am migrating to v201409

 Getting error:

 AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED
 when calling getReportFields

 Reading this:

 https://developers.google.com/adwords/api/docs/reference/v201409/ReportDefinitionService

 I find in errors section:

 CLIENT_CUSTOMER_ID_IS_REQUIRED Client Customer Id is required if 
 CustomerIdMode is set to CLIENT_EXTERNAL_CUSTOMER_ID. Starting version 
 V201409 ClientCustomerId will be required for all requests except for 
 CustomerService.get 
 https://developers.google.com/adwords/api/docs/reference/v201409/CustomerService.html#get
 I can't find anything in the docs about setting CustomerIdMode. And 
 anyway, I added the clientCustomerId header to the HTTP POST just like 
 with 
 other calls, but I still get the error. And finally, why does this 
 methods 
 require a Client Customer Id? Might the fields returned be different for 
 different customers?



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ffa0ff4c-9c3f-4f7b-b0ae-041666850451%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY Bug?

2014-10-21 Thread Anash P. Oommen (AdWords API Team)
Hi Eric,

Campaigns don't enforce unique name in deleted items, I'll check with the 
team if the same behaviour can be extended to adgroups.

Cheers,
Anash

On Monday, October 20, 2014 5:56:04 PM UTC-4, eric.ste...@gmail.com wrote:

 Hi Anash,

 Can you find out if the unique constraint is still going to be enforced 
 going forward for removed items?  If AdWords is no longer going to allow 
 you to unremove an item, it seems strange that removed items would still be 
 part of the uniqueness check.  As we've described in this thread, it 
 presents problems for API users, but I would also see it creating problems 
 for UI users as well.  The user would try to create a new Ad Group, the UI 
 would tell them they can't because the name is already used - but when the 
 user goes to look for it they can't find it, or they think to look at the 
 removed Ad Groups and find it there, only to find they can't change it.

 Thanks,
 Eric

 On Tue, Oct 14, 2014 at 3:54 PM, Anash P. Oommen (AdWords API Team) 
 adwordsapiadvisor+an...@google.com wrote:

 Hi David,

 The team got back to me telling that this change is not feasible, so you 
 need to rename and then delete if you need to maintain unique name.

 Cheers,
 Anash


 On Friday, October 10, 2014 6:23:34 AM UTC-4, David Midgley wrote:

 Hi Anash/API Team

 Now that v201409 is released the countdown has started on the sunsetting 
 of v201402 which basically means we need a workaround to this problem soon 
 as v201402 is the only live version that allows the renaming of deleted 
 adgroups!

 Anash, you mentioned:

 
 I've asked the team to investigate whether it is feasible to allow 
 deleted adgroups and campaigns to be renamed. I'll update the thread as I 
 hear from them
 

 Have you heard from the team?

 Cheers

 David

 On Thursday, 18 September 2014 14:51:46 UTC+1, Anash P. Oommen (AdWords 
 API Team) wrote:

 Hi Mariusz,

 I've asked the team to investigate whether it is feasible to allow 
 deleted adgroups and campaigns to be renamed. I'll update the thread as I 
 hear from them,

 Cheers,
 Anash

 On Thursday, September 18, 2014 5:43:41 AM UTC-4, Mariusz wrote:

 One more thing to bear in mind is that you probably should version 
 deleted adgroups. Imagine:

- user creates adgroup “test” 
- then deletes it, so the system first renames it to “test_del” 
and then marks as deleted 
- user creates again adgroup named “test” 
- user tries to delete it 

 The system will fail in step 4, because it will try to rename adgroup 
 to “test_del”, but that name already exists. So what you may do in that 
 case is to detect the error, and try to rename it to “test_del1”.

 Cheers,

 Mariusz

 On Thursday, 18 September 2014 08:24:33 UTC+1, Oliver wrote:

 Just thinking loud here, if the adgroups are deleted via your 
 software, what if you rename the adgroup *before *you delete it?  We 
 used to use a similar approach where we appended the text _del to all 
 adgroup names that are about to be deleted.

 Obviously, if the adgroup is deleted via the adwords interface rather 
 than your software, then the above won't help.

 Oliver


 On Wednesday, September 17, 2014 2:33:22 PM UTC+1, David Midgley 
 wrote:

 Hi Anash/API Team

 I responded to your question. Is there anything else you need to 
 know?

 It would be great to get an answer on this please!

 Cheers

 David

 On Monday, 15 September 2014 16:04:31 UTC+1, Anash P. Oommen 
 (AdWords API Team) wrote:

 Hi David,

 If I remember correctly, the name needs to be unique in only active 
 + paused items, not globally (with the new change). So if the user 
 deletes 
 an adgroup with the same name, you could create one with the same name 
 again. Let me know if you are seeing a different behaviour, and I'll 
 ask 
 the team to investigate this further.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Monday, September 8, 2014 2:29:07 PM UTC-4, David Midgley wrote:

 Thanks for the quick response Anash!

 Let me explain my use case and maybe you can find a workaround?

 We are working on an optimisation application that uses a strict 
 naming convention for campaign and adgroup names. If a user 
 accidentally 
 deletes an adgroup, my software can't correct the error by recreating 
 the 
 adgroup because if we create a new adgroup with the same name in the 
 same 
 campaign we'll get a duplicate adgroup name error. Our solution to 
 this 
 problem was to rename the deleted adgroup which enabled us to create 
 the 
 new adgroup.

 Now that we can't rename the deleted adgroup and we can't create a 
 new adgroup with the same name, how can we enforce our strict naming 
 convention? This naming convention links adgroups between campaigns 
 and is 
 critical to our operations.

 We could version adgroup names, but this seems pretty untidy. We 
 could use labels, but this could create thousands of labels and more 
 (potentially error-prone) manual work.

 Can you think of a workaround?

 Cheers

 David

Re: Concurrent Modification on Ad Group Error.

2014-10-14 Thread Anash P. Oommen (AdWords API Team)
Hi Brett,

You need to catch and retry the error after say, 30 seconds. Or, 
synchronize your API calls such that no two threads update the same adgroup 
at the same time.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Monday, October 13, 2014 3:20:45 PM UTC-4, Brett Koenig wrote:

  Hey,

  

 We have multiple services and threads that can be updating product group 
 destination URLs at the same time. Each one is updating a different product 
 group destination URL but sometimes the product groups are under the same 
 Ad Group.  When doing this we get a CONCURRENT_MODIFICATION error because 
 we are calling the AdGroupCriterionService with the same Ad Group Id but 
 different criterion at the same time.  What is the best way to get around 
 this error since we know that they aren’t conflicting updates?

  

 Thank you,

  

 *Brett Koenig *| Software Engineer
 *IgnitionOne - *Marketing Technology.  Simplified.
 Office:   1545 Peachtree St.  Suite 500 | Atlanta, GA | 30309
 Direct:   404.665.1711

 Twitter:@ignitionone 

 See Gartner’s “First Take” review of how IgnitionOne is igniting the 
 DMS/Hub space: https://www.gartner.com/doc/2687220

  This e-mail and attachments, if any, may contain confidential and/or 
 proprietary information. Please be advised that the unauthorized use or 
 disclosure of the information is strictly prohibited. If you are not the 
 intended recipient, please notify the sender immediately by reply e-mail 
 and delete all copies of this email.

  

  
  

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2b4991c2-83b5-41da-9a70-ae8234218c7d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Applying labels on adgroup

2014-10-14 Thread Anash P. Oommen (AdWords API Team)
Hi Ashish,

AdWords API calls are usually atomic in nature - either all the operations 
succeed, or they fail. If you have a failing operation, you should remove 
the failing operation, and make the API call again.

There's a partialFailure soapHeader you could use to get the behaviour you 
want, but I'm not sure if it applies to adding labels. 

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Monday, October 13, 2014 12:36:23 PM UTC-4, Ashish Pathak wrote:

 Hi,

 I'm trying to apply labels on adgroups

 using code -perations.append({
   'operator': 'ADD',
   'operand': {
   'adGroupId': adGroupID,
   'labelId':  labelId
  }
  })

 if label is already associated with adgroup it returns error 
 : AdGroupServiceError.ADGROUP_LABEL_ALREADY_EXISTS @ 
 operations[104].operand 

 which is fine but label should be applied to some of the operation to 
 which label is missing.

 Example : if label for operation 0-103 is missing in account I'm not get 
 above error but when I checked in account label was not applied adgroup for 
 which label was missing.

 how to handle this case? 

 Thanks in advance!
 Ashish




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4c75205e-73d4-4efd-a2f3-aed6798b2370%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY Bug?

2014-10-14 Thread Anash P. Oommen (AdWords API Team)
Hi David,

The team got back to me telling that this change is not feasible, so you 
need to rename and then delete if you need to maintain unique name.

Cheers,
Anash

On Friday, October 10, 2014 6:23:34 AM UTC-4, David Midgley wrote:

 Hi Anash/API Team

 Now that v201409 is released the countdown has started on the sunsetting 
 of v201402 which basically means we need a workaround to this problem soon 
 as v201402 is the only live version that allows the renaming of deleted 
 adgroups!

 Anash, you mentioned:

 
 I've asked the team to investigate whether it is feasible to allow deleted 
 adgroups and campaigns to be renamed. I'll update the thread as I hear from 
 them
 

 Have you heard from the team?

 Cheers

 David

 On Thursday, 18 September 2014 14:51:46 UTC+1, Anash P. Oommen (AdWords 
 API Team) wrote:

 Hi Mariusz,

 I've asked the team to investigate whether it is feasible to allow 
 deleted adgroups and campaigns to be renamed. I'll update the thread as I 
 hear from them,

 Cheers,
 Anash

 On Thursday, September 18, 2014 5:43:41 AM UTC-4, Mariusz wrote:

 One more thing to bear in mind is that you probably should version 
 deleted adgroups. Imagine:

- user creates adgroup “test” 
- then deletes it, so the system first renames it to “test_del” and 
then marks as deleted 
- user creates again adgroup named “test” 
- user tries to delete it 

 The system will fail in step 4, because it will try to rename adgroup to 
 “test_del”, but that name already exists. So what you may do in that case 
 is to detect the error, and try to rename it to “test_del1”.

 Cheers,

 Mariusz

 On Thursday, 18 September 2014 08:24:33 UTC+1, Oliver wrote:

 Just thinking loud here, if the adgroups are deleted via your software, 
 what if you rename the adgroup *before *you delete it?  We used to use 
 a similar approach where we appended the text _del to all adgroup names 
 that are about to be deleted.

 Obviously, if the adgroup is deleted via the adwords interface rather 
 than your software, then the above won't help.

 Oliver


 On Wednesday, September 17, 2014 2:33:22 PM UTC+1, David Midgley wrote:

 Hi Anash/API Team

 I responded to your question. Is there anything else you need to know?

 It would be great to get an answer on this please!

 Cheers

 David

 On Monday, 15 September 2014 16:04:31 UTC+1, Anash P. Oommen (AdWords 
 API Team) wrote:

 Hi David,

 If I remember correctly, the name needs to be unique in only active + 
 paused items, not globally (with the new change). So if the user deletes 
 an 
 adgroup with the same name, you could create one with the same name 
 again. 
 Let me know if you are seeing a different behaviour, and I'll ask the 
 team 
 to investigate this further.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Monday, September 8, 2014 2:29:07 PM UTC-4, David Midgley wrote:

 Thanks for the quick response Anash!

 Let me explain my use case and maybe you can find a workaround?

 We are working on an optimisation application that uses a strict 
 naming convention for campaign and adgroup names. If a user 
 accidentally 
 deletes an adgroup, my software can't correct the error by recreating 
 the 
 adgroup because if we create a new adgroup with the same name in the 
 same 
 campaign we'll get a duplicate adgroup name error. Our solution to this 
 problem was to rename the deleted adgroup which enabled us to create 
 the 
 new adgroup.

 Now that we can't rename the deleted adgroup and we can't create a 
 new adgroup with the same name, how can we enforce our strict naming 
 convention? This naming convention links adgroups between campaigns and 
 is 
 critical to our operations.

 We could version adgroup names, but this seems pretty untidy. We 
 could use labels, but this could create thousands of labels and more 
 (potentially error-prone) manual work.

 Can you think of a workaround?

 Cheers

 David

 On Monday, 8 September 2014 19:15:49 UTC+1, Anash P. Oommen (AdWords 
 API Team) wrote:

 Hi David,

 AdWords API v201406 no longer allows you to undelete campaigns, 
 adgroups, etc. The UI and older API versions allows this behaviour for 
 now, 
 but they will eventually start working like the way v201406 works 
 today.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Monday, September 8, 2014 11:19:45 AM UTC-4, David Midgley wrote:

 Hi

 I'm having problems with a new 
 OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY error.

 It appears that you can't undelete an adgroup (ie set any 
 properties of a removed adgroup, including Status) or even add a 
 keyword to 
 an existing adgroup where that keyword was previously deleted. This 
 seems 
 to be a change between the v201402 and v201406 versions of the API. 
 Obviously these are things that you can do via the UI.

 There is mention of this in another post:

 https://groups.google.com/forum/#!searchin/adwords-api/OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY%7Csort:relevance/adwords-api/uLdWDk7dMgs

Re: SOAP Logs with Google AdWords

2014-10-08 Thread Anash P. Oommen (AdWords API Team)
Hi Conor,

Try setting the value to Information.

Anash



On Friday, October 3, 2014 10:24:51 AM UTC-4, testa...@geeks.ltd.uk wrote:

 Still can't get it to work, and I have tried Verbose and Info.

 Are there any additional downloads that are needed? If I have the standard 
 AdWords API, should that be enough?

 Thanks,
 Conor

 On Friday, 3 October 2014 14:54:28 UTC+1, Anash P. Oommen (AdWords API 
 Team) wrote:

 Hi Conor,

 I guess the documentation can be improved in that wiki. Here's the MSDN 
 document that shows what the values should be. 
 http://msdn.microsoft.com/en-us/library/system.diagnostics.tracelevel(v=vs.110).aspx

 Let me know if it works, and open a bug at 
 https://github.com/googleads/googleads-dotnet-lib/issues to improve the 
 documentation.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Friday, October 3, 2014 9:47:50 AM UTC-4, testa...@geeks.ltd.uk wrote:

 Hi Anash,

 Thanks for your message.

 I have put the following into my web.config but still don't get any logs.

   system.diagnostics
 trace autoflush=true/
 sources
   source name=AdsClientLibs.SoapXmlLogs
 switchName=AdsClientLibs.SoapXmlLogs
 switchType=System.Diagnostics.SourceSwitch
 listeners
   !--Modify the initializeData attribute below to control the
   path to the SOAP XML log file.--
   add name=soapXmlLogListener
 type=System.Diagnostics.TextWriterTraceListener
 initializeData=soap_xml.log /
   remove name=Default /
 /listeners
   /source
   source name=AdsClientLibs.RequestInfoLogs
 switchName=AdsClientLibs.RequestInfoLogs
 switchType=System.Diagnostics.SourceSwitch
 listeners
   !--Modify the initializeData attribute below to control the
   path to the request info log file.--
   add name=requestInfoLogListener
 type=System.Diagnostics.TextWriterTraceListener
 initializeData=request_info.log /
   remove name=Default /
 /listeners
   /source
 /sources
 switches

   add name=AdsClientLibs.SoapXmlLogs value=Information level/

   add name=AdsClientLibs.RequestInfoLogs value=Information 
 level/
 /switches
   /system.diagnostics

 This is from the link you emailed to me a couple of days ago, except I 
 changed the two values of the switches from 'Off' to 'Information Level'.

 Do you have any other suggestions?

 Did you get the raw SOAP data I sent you earlier from another method of 
 logging? Was that any help? Have you had time to look at the other details 
 I sent you that you asked for?

 Thanks again for your help with all this. I really appreciate it.

 Best wishes,
 Conor

 On Friday, 3 October 2014 14:32:41 UTC+1, Anash P. Oommen (AdWords API 
 Team) wrote:

 Hi Conor,

 Did you update add name=AdsClientLibs.SoapXmlLogs value=Off/ to 
 Information level?

 Thx,
 Anash

 On Friday, October 3, 2014 8:41:05 AM UTC-4, testa...@geeks.ltd.uk 
 wrote:


 Hi Alan,

 Thanks for your message.

 I'm using C# but can't see an option anywhere in the ad words user 
 object I'm using to log all. Do you know how it's accessed? Is that all I 
 need in this case?

 Thank you for your help.

 Best wishes,
 Conor

  
 On Friday, 3 October 2014 11:54:48 UTC+1, Alan Coleman wrote:

 Hello,

 This may not be the answer to your problem but when using PHP the log 
 options can be set in the user object:

 $user = new AdWordsUser();
 $user-LogAll();

 So your config may be correctly set but your user object may not.

 Are you using .NET? If so VB or C# ?

 Thanks

 On Thursday, October 2, 2014 4:24:40 PM UTC+1, testa...@geeks.ltd.uk 
 wrote:

 I am trying to use SOAP Logs with Google AdWords to troubleshoot 
 something. 

 I am able to connect with the server from my local machine and make 
 changes via Visual Studio that will be immediately present in the UI, 
 so, 
 in that sense at least, there is not a connection problem (though there 
 could be others that just aren't seen at the moment).

 I am using the instructions in Option 1 (ie, using the web.config) 
 to record the logs, and have copied and pasted the relevant code into 
 my 
 web.config. I have manually created the relevant directories, as well 
 as 
 the files. 
 https://github.com/googleads/googleads-dotnet-lib/wiki/How-to-capture-SOAP-messages

 Despite all of the above, no logs are produced. Is there something 
 else I should be doing? Is there a setting that I am not enabling / 
 disabling?

 Any help on this would be much appreciated.

 Thanks,
 Conor



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

Re: Image Ad Upload

2014-10-08 Thread Anash P. Oommen (AdWords API Team)
Hi Conor,

That's odd, are you sure you don't have a proxy in between that doesn't 
know how to handle Expect 100 continue headers? Not that it matters for the 
API server, just curious.

Cheers,
Anash

On Tuesday, October 7, 2014 7:04:09 AM UTC-4, testa...@geeks.ltd.uk wrote:

 For posterity, this was resolved by a combination of adding the following 
 code to the web.config, as well as trying to upload fewer as in one go.

   system.net
 settings
   servicePointManager expect100Continue=false/
 /settings
   /system.net

 Thanks,
 Conor

 On Thursday, 2 October 2014 17:20:40 UTC+1, testa...@geeks.ltd.uk wrote:

 Just as a note, on some occasions, the inner exception changes to 'Unable 
 to write data to the transport connection: An established connection was 
 aborted by the software in your host machine.' rather than 'Unable to write 
 data to the transport connection: An existing connection was forcibly 
 closed by the remote host.'.

 No pattern is immediately obvious to explain this.

 Thanks,
 Conor

 On Thursday, 2 October 2014 13:49:54 UTC+1, testa...@geeks.ltd.uk wrote:

 Hi Anash,

 Has there been any progress?

 Thanks again for your help.

 Best wishes,
 Conor

 On Monday, 29 September 2014 20:37:00 UTC+1, Anash P. Oommen (AdWords 
 API Team) wrote:

 Hi Conor,

 I'd need some additional details, please share them by using the *Reply 
 to Author* option. DO NOT post any of these details online.

 1. Your customer ids (client and API MCC accounts).
 2. When was this call made? (timestamp)
 3. Outgoing and incoming http request body. You can capture one using 
 Fiddler (
 http://docs.telerik.com/fiddler/Configure-Fiddler/Tasks/FirefoxHTTPS)
 4. Can you actually access the wsdl url from a browser? e.g. 
 https://adwords.google.com/api/adwords/cm/v201406/CampaignService?wsdl
 5. Provide the output when you do a tracert from your server to AdWords 
 server. tracert adwords.google.com
 6. What is your machine's IP? (output of ipconfig /all). Another option 
 is to visit these urls and provide the output

 https://ipv4.google.com/search?q=what+is+my+ip 
 https://ipv6.google.com/search?q=what+is+my+ip

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Monday, September 29, 2014 9:36:23 AM UTC-4, testa...@geeks.ltd.uk 
 wrote:

 Hi Anash,

 I have managed to replicate this error several times now. Same 
 exception and inner exception each time. What should I do?

 Thanks,
 Conor


 On Monday, 29 September 2014 14:20:47 UTC+1, Anash P. Oommen (AdWords 
 API Team) wrote:

 Hi Conor,

 See if you can replicate this one - connection getting closed is 
 sometimes related to a bad ISP connection, sometimes it happens due to 
 your 
 calls happening when a server update is happening.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Monday, September 29, 2014 5:53:10 AM UTC-4, testa...@geeks.ltd.uk 
 wrote:

 Hi Anash,

 Thank you for your reply. I made a couple of changes to my code, so 
 it now looks like this:

 var operations = new ListAdGroupAdOperation();

 foreach (var generatedAd in generatedAds)
 {
 // create a new image to put in the imageAd
 var image = new Image
 {
 data = generatedAd.Image.FileData,
 type = MediaMediaType.IMAGE
 };

 // create a new image ad
 var imageAd = new ImageAd
 {
 image = image,
 name = generatedAd.Image.FileName,
 displayUrl = Config.Get(DisplayURL),
 url = generatedAd.Ad.Url
 };

 var imageAdGroupAd = new AdGroupAd
 {
 ad = imageAd,
 adGroupId = (long)generatedAd.Ad.AdwordsAdGroupId,
 
 };

 // prepare to add the new image ad to the ad words group
 var operation = new AdGroupAdOperation
 {
 @operator = Operator.ADD,
 operand = imageAdGroupAd
 };

 operations.Add(operation);
 }

 try
 {
 
 ((AdGroupAdService)user.GetService(AdWordsService.v201406.AdGroupAdService))
 .mutate(operations.ToArray());
 }

 However, running this code now results in an exception being thrown. 
 The main exception message is 'The underlying connection was closed: An 
 unexpected error occurred on a send.', and the inner exception message 
 is 
 'An existing connection was forcibly closed by the remote host.'. Have 
 these errors come up before in AdWords? Is there a particular way to 
 handle 
 them?

 Thanks,
 Conor


 On Friday, 26 September 2014 21:01:48 UTC+1, Anash P. Oommen 
 (AdWords API Team) wrote:

 Hi Conor,

 This is a code example from an old version of the client library. 
 Let me know if it works for you.

   // Create your image ad.  ImageAd imageAd = new ImageAd();   
imageAd.name = My Image Ad

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

2014-10-08 Thread Anash P. Oommen (AdWords API Team)
Hi Greg,

I've been told that this will work from the next API version onwards, since 
we had to expose new exception types for this change, and that would 
require us to break the wsdls already published for previous versions.

Cheers,
Anash

On Tuesday, October 7, 2014 7:07:18 PM UTC-4, GregT wrote:

 Hi again, Anash.

 It's been another couple weeks, and still the exact same error trying to 
 send mobile bid modifiers on ad groups in shopping campaigns.  A request id 
 from today is 000504dd2f1afa710aecde062c00771c.  Any word on this?

 Thanks again,
 Greg

 On Wednesday, September 24, 2014 3:07:48 PM UTC-5, GregT wrote:

 Hi, Anash.

 Just tried again right now, and still failing with the exact same error. 
  Here's the SOAP log:

 ?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 (AwApi-Java, AdWords-Axis/1.30.0, 
 Common-Java/1.30.0, Axis/1.4, Java/1.7.0_67, 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/v201406
 
 operations
 operatorADD/operator
 operand
 adGroupId18951418870/adGroupId
 criterion
 id30001/id
 /criterion
 bidModifier0.24997/bidModifier
 /operand
 /operations
 operations
 operatorADD/operator
 operand
 adGroupId18951418990/adGroupId
 criterion
 id30001/id
 /criterion
 bidModifier0.48616/bidModifier
 /operand
 /operations
 operations
 operatorADD/operator
 operand
 adGroupId18951419230/adGroupId
 criterion
 id30001/id
 /criterion
 bidModifier2.5/bidModifier
 /operand
 /operations
 operations
 operatorADD/operator
 operand
 adGroupId18951419110/adGroupId
 criterion
 id30001/id
 /criterion
 bidModifier0.48616/bidModifier
 /operand
 /operations
 operations
 operatorADD/operator
 operand
 adGroupId18951419350/adGroupId
 criterion
 id30001/id
 /criterion
 bidModifier0.548885077186964/bidModifier
 /operand
 /operations
 /mutate
 /soapenv:Body
 /soapenv:Envelope
 09-24-14 15:01:25,935  [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;
 requestId000503d525f5ea810ac400a1c5002081/requestId
 serviceNameAdGroupBidModifierService/serviceName
 methodNamemutate/methodName
 operations5/operations
 responseTime77/responseTime
 /ResponseHeader
 /soap:Header
 soap:Body
 soap:Fault
 faultcodesoap:Server/faultcode
 faultstringFault occurred while processing./faultstring
 /soap:Fault
 /soap:Body
 /soap:Envelope

 This is against a test AdWords account, if that makes any difference.

 Thanks,
 Greg

 On Wednesday, September 24, 2014 8:55:10 AM UTC-5, Anash P. Oommen 
 (AdWords API Team) wrote:

 Hi Greg,

 The team told me that the fix is live, so you should be able to set bid 
 modifiers on shopping adgroups now. Let me know if the request is still 
 failing for you, and please provide a requestId from a failed request if 
 possible.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Tuesday, September 23, 2014 12:10:44 PM UTC-4, GregT wrote:

 Hi again, Anash.

 It's been another week (so, two weeks after you said to let you know if 
 the issue still happens after a few days), and nothing appears to have 
 changed -- we are still getting the same error as originally.  Any update 
 on this?

 Thanks,
 Greg

 On Monday, September

Re: SOAP Logs with Google AdWords

2014-10-03 Thread Anash P. Oommen (AdWords API Team)
Hi Conor,

Did you update add name=AdsClientLibs.SoapXmlLogs value=Off/ to 
Information level?

Thx,
Anash

On Friday, October 3, 2014 8:41:05 AM UTC-4, testa...@geeks.ltd.uk wrote:


 Hi Alan,

 Thanks for your message.

 I'm using C# but can't see an option anywhere in the ad words user object 
 I'm using to log all. Do you know how it's accessed? Is that all I need in 
 this case?

 Thank you for your help.

 Best wishes,
 Conor

  
 On Friday, 3 October 2014 11:54:48 UTC+1, Alan Coleman wrote:

 Hello,

 This may not be the answer to your problem but when using PHP the log 
 options can be set in the user object:

 $user = new AdWordsUser();
 $user-LogAll();

 So your config may be correctly set but your user object may not.

 Are you using .NET? If so VB or C# ?

 Thanks

 On Thursday, October 2, 2014 4:24:40 PM UTC+1, testa...@geeks.ltd.uk 
 wrote:

 I am trying to use SOAP Logs with Google AdWords to troubleshoot 
 something. 

 I am able to connect with the server from my local machine and make 
 changes via Visual Studio that will be immediately present in the UI, so, 
 in that sense at least, there is not a connection problem (though there 
 could be others that just aren't seen at the moment).

 I am using the instructions in Option 1 (ie, using the web.config) to 
 record the logs, and have copied and pasted the relevant code into my 
 web.config. I have manually created the relevant directories, as well as 
 the files. 
 https://github.com/googleads/googleads-dotnet-lib/wiki/How-to-capture-SOAP-messages

 Despite all of the above, no logs are produced. Is there something else 
 I should be doing? Is there a setting that I am not enabling / disabling?

 Any help on this would be much appreciated.

 Thanks,
 Conor



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9d51d75f-75dc-402b-9ae9-e4890ec9da6e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: SOAP Logs with Google AdWords

2014-10-03 Thread Anash P. Oommen (AdWords API Team)
Hi Conor,

I guess the documentation can be improved in that wiki. Here's the MSDN 
document that shows what the values should be. 
http://msdn.microsoft.com/en-us/library/system.diagnostics.tracelevel(v=vs.110).aspx

Let me know if it works, and open a bug 
at https://github.com/googleads/googleads-dotnet-lib/issues to improve the 
documentation.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Friday, October 3, 2014 9:47:50 AM UTC-4, testa...@geeks.ltd.uk wrote:

 Hi Anash,

 Thanks for your message.

 I have put the following into my web.config but still don't get any logs.

   system.diagnostics
 trace autoflush=true/
 sources
   source name=AdsClientLibs.SoapXmlLogs
 switchName=AdsClientLibs.SoapXmlLogs
 switchType=System.Diagnostics.SourceSwitch
 listeners
   !--Modify the initializeData attribute below to control the
   path to the SOAP XML log file.--
   add name=soapXmlLogListener
 type=System.Diagnostics.TextWriterTraceListener
 initializeData=soap_xml.log /
   remove name=Default /
 /listeners
   /source
   source name=AdsClientLibs.RequestInfoLogs
 switchName=AdsClientLibs.RequestInfoLogs
 switchType=System.Diagnostics.SourceSwitch
 listeners
   !--Modify the initializeData attribute below to control the
   path to the request info log file.--
   add name=requestInfoLogListener
 type=System.Diagnostics.TextWriterTraceListener
 initializeData=request_info.log /
   remove name=Default /
 /listeners
   /source
 /sources
 switches

   add name=AdsClientLibs.SoapXmlLogs value=Information level/

   add name=AdsClientLibs.RequestInfoLogs value=Information level/
 /switches
   /system.diagnostics

 This is from the link you emailed to me a couple of days ago, except I 
 changed the two values of the switches from 'Off' to 'Information Level'.

 Do you have any other suggestions?

 Did you get the raw SOAP data I sent you earlier from another method of 
 logging? Was that any help? Have you had time to look at the other details 
 I sent you that you asked for?

 Thanks again for your help with all this. I really appreciate it.

 Best wishes,
 Conor

 On Friday, 3 October 2014 14:32:41 UTC+1, Anash P. Oommen (AdWords API 
 Team) wrote:

 Hi Conor,

 Did you update add name=AdsClientLibs.SoapXmlLogs value=Off/ to 
 Information level?

 Thx,
 Anash

 On Friday, October 3, 2014 8:41:05 AM UTC-4, testa...@geeks.ltd.uk wrote:


 Hi Alan,

 Thanks for your message.

 I'm using C# but can't see an option anywhere in the ad words user 
 object I'm using to log all. Do you know how it's accessed? Is that all I 
 need in this case?

 Thank you for your help.

 Best wishes,
 Conor

  
 On Friday, 3 October 2014 11:54:48 UTC+1, Alan Coleman wrote:

 Hello,

 This may not be the answer to your problem but when using PHP the log 
 options can be set in the user object:

 $user = new AdWordsUser();
 $user-LogAll();

 So your config may be correctly set but your user object may not.

 Are you using .NET? If so VB or C# ?

 Thanks

 On Thursday, October 2, 2014 4:24:40 PM UTC+1, testa...@geeks.ltd.uk 
 wrote:

 I am trying to use SOAP Logs with Google AdWords to troubleshoot 
 something. 

 I am able to connect with the server from my local machine and make 
 changes via Visual Studio that will be immediately present in the UI, so, 
 in that sense at least, there is not a connection problem (though there 
 could be others that just aren't seen at the moment).

 I am using the instructions in Option 1 (ie, using the web.config) to 
 record the logs, and have copied and pasted the relevant code into my 
 web.config. I have manually created the relevant directories, as well as 
 the files. 
 https://github.com/googleads/googleads-dotnet-lib/wiki/How-to-capture-SOAP-messages

 Despite all of the above, no logs are produced. Is there something 
 else I should be doing? Is there a setting that I am not enabling / 
 disabling?

 Any help on this would be much appreciated.

 Thanks,
 Conor



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

Re: How to download the reports for multiple clients in v201406 in Java

2014-10-01 Thread Anash P. Oommen (AdWords API Team)
Hi Amit,

1. Use the credentials of your MCC account when obtaining the OAuth2 token. 
This gives you access to all the accounts that you want to download report 
for.
2. Use ManagedCustomerService.get to retrieve the list of all customer ids. 
See code example here 
https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201406/accountmanagement/GetAccountHierarchy.java
.
3. Use Threads (start at 10 threads, it is fine to increase if you don't 
get rateexceeded errors). Download report for the customers in parallel. 
See code example here 
https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201406/reporting/DownloadCriteriaReportWithAwql.java.
 
List of supported reports and their fields are here 
https://developers.google.com/adwords/api/docs/appendix/reports.
4. Join the reports locally, if applicable.

Cheers,
Anash P.Oommen,
AdWords API Advisor.

On Wednesday, October 1, 2014 2:51:53 AM UTC-4, Amit Pawar wrote:

 Any updates on this please.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8ce95237-2537-40d5-b8df-5c3bac92b197%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: FYI - Upgraded URLs supported in test accounts, but ...

2014-10-01 Thread Anash P. Oommen (AdWords API Team)
Hi,

Could you share your test account's client customer id by using the Reply 
to Author option? I can take a look.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Tuesday, September 30, 2014 12:22:56 PM UTC-4, BDCoder wrote:

 Hi Guys,

 Just realized that once whitelisted, I can see the upgraded URL options in 
 the UI of any whitelisted PRODUCTION account; which is great...

 BUT, in TEST accounts, the upgraded URL options are NOT present in the UI 
 -- even though the API supports the upgraded URLs in test accounts...

 Can someone please flip a switch so that the upgraded URL UI options work 
 in the test accounts?

 Currently, I can create ads in my test account via the API -- but I cannot 
 view the final URLs in the test account via the UI.

 Thanks!




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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/f902eac3-7d79-431a-b302-0135bccf812a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: InternalApiError.UNEXPECTED_INTERNAL_API_ERROR with getBulkKeywordIdeas

2014-10-01 Thread Anash P. Oommen (AdWords API Team)
Hi Ari,

Can you share the request id from a failed request? It is part of the SOAP 
response headers.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Tuesday, September 30, 2014 1:32:51 PM UTC-4, Ari wrote:

 Hi,

 I'm using the getBulkKeywordIdeas function from the TargetingIdeaService 
 and I'm constantly getting an 
 InternalApiError.UNEXPECTED_INTERNAL_API_ERROR.

 I even tried removing required fields from the selector to see if I'd get 
 a new error but I don't.

 Here's the code I've been testing on and I've highlighted where the error 
 has been occuring:

  {
 setClient(1234567); // Dummy Account Number

 string[] Seed = new string[1];
 Seed[0] = blue suede shoes;

 string[] urls = new string[1];
 urls[0] = www.payless.com;
  
 TargetingIdeaService.TargetingIdeaSelector selector = new 
 TargetingIdeaSelector();
 TargetingIdeaService.TargetingIdeaPage tip;

 // URL
 RelatedToUrlSearchParameter relatedtoUrlSearchParameter = new 
 RelatedToUrlSearchParameter();
 relatedtoUrlSearchParameter.urls = urls;

 // Keywords
 RelatedToQuerySearchParameter relatedToQuerySearchParameter = 
 new RelatedToQuerySearchParameter();
 relatedToQuerySearchParameter.queries = Seed;

 // selector
 selector.requestType = RequestType.IDEAS;
 selector.ideaType = IdeaType.KEYWORD;
 selector.requestedAttributeTypes = new AttributeType[] { 
 AttributeType.KEYWORD_TEXT, AttributeType.SEARCH_VOLUME, 
 AttributeType.AVERAGE_CPC, AttributeType.COMPETITION};
 selector.searchParameters = new SearchParameter[] { 
 relatedToQuerySearchParameter, relatedtoUrlSearchParameter };

 // Paging
 TargetingIdeaService.Paging paging = new 
 TargetingIdeaService.Paging();
 paging.startIndex = 0;
 paging.numberResults = Seed.Length; // Max 800
 selector.paging = paging;
 
 try
 {
 using (ocs(wsrTargetingIdeaItem.InnerChannel)) 
 wsrTargetingIdeaItem.getBulkKeywordIdeas(shTargetingIdeaItem, selector, out 
 tip); // shTargetingIdeaItem is the Soap Header

 if (tip.entries != null  tip.entries.Length  0)
 {
 //foreach (TargetingIdeaService.Type_AttributeMapEntry 
 tap in tip.entries)
 //{

 //}
 }
 }
 catch (Exception e)
 { DoException(e, Google - Suggested Keywords, Account:  + 
 iAccount.ToString()); }

 }

 Do you have any idea what's causing 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/05cad542-52b4-4d5c-abe0-8b21af93065c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Sitelinks Feed Limit (EntityCountLimitExceeded.ACCOUNT_LIMIT)

2014-10-01 Thread Anash P. Oommen (AdWords API Team)
Hi Danny,

You should be using a single feed, and associating the right set of 
FeedItems with the campaigns using a MatchingFunction. The usual practice 
is to keep one feed per extension type (e.g. one for sitelinks, one for 
call extensions, 
etc.). 
https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201406/AdvancedOperations/AddSitelinks.php#L214
 
shows how to associate individual FeedItems with a campaign.

If you have exceeded the 20 feed limit, then you can delete the feeds using 
FeedItem.mutate, REMOVE operator.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Tuesday, September 30, 2014 11:28:29 AM UTC-4, Danny wrote:

 Hi

 I am relatively new to the AdWords API, having been using it for the past 
 2 months or so. I am using v201406 and the PHP client library. 

 Everything has been working well except for a new update I just deployed 
 that would automatically create unique sitelinks for each campaign. I 
 integrated this feature by following the sample code in the library 
 examples, and all worked fine while testing. Once live however, I seem to 
 have hit an account limit of 20 feeds per account which is problematic 
 since I have 73 campaigns and was trying to allocate a feed to each 
 campaign.

 I found this link here which seems to deal with a similar issue, but I 
 found the answer to be rather vague: 
 https://groups.google.com/forum/#!searchin/adwords-api/EntityCountLimitExceeded.ACCOUNT_LIMIT$20sitelinks/adwords-api/rrmQ3PgongE/2fOsxX6D8V0J
  

 I specifically need the correct sitelinks to link to the relevant 
 campaigns, but I do not need to go down to adgroup level. Is there a better 
 way of doing this than following the php client example? Please could you 
 kindly assist.

 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/f45a88b7-541f-4258-9910-15ec46234748%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Intermittent server timeout when accessing API

2014-10-01 Thread Anash P. Oommen (AdWords API Team)
Hi Danilo,

Could you share your API MCC customer id by using the Reply to Author 
option?

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Wednesday, October 1, 2014 8:48:26 AM UTC-4, Danilo B. wrote:

 The Adwords API appears to be behind some load balancer. Using netstat, I 
 could trace back the hanging to a specific IP. This is the output during 
 a successful request:

 Proto Recv-Q Send-Q Local Address   Foreign Address 
 State   PID/Program name
 tcp0  0 172.31.42.112:49312 74.125.24.101:443   
 ESTABLISHED 3939/python 
 tcp6   0  0 ::1:37156   ::1:5432   
  ESTABLISHED 3939/python 

 And this is the hanging request:

 Proto Recv-Q Send-Q Local Address   Foreign Address 
 State   PID/Program name
 tcp0   1543 172.31.42.112:57350 74.125.24.113:443   
 ESTABLISHED 3939/python 
 tcp6   0  0 ::1:37156   ::1:5432   
  ESTABLISHED 3939/python 

 So it appears that the server at 74.125.24.113 is having problems.

 Could anyone confirm this?

 Best regards,
 Danilo


 On Wednesday, October 1, 2014 2:16:08 PM UTC+2, Danilo B. wrote:

 I work on a project where we have a lot of outgoing HTTP requests to the 
 Adwords API. The system worked good until last week, where a lot of the 
 outgoing calls to Adwords started getting timeouts without any response 
 from the Server.

 I managed to find a request to the reporting URL that seemed to trigger 
 the problem every 5-10 requests (using the python-requests library):

 requests.post('
 https://adwords.google.com/api/adwords/reportdownload/v201406',
 data='__rdxml=XXX',
 headers={
 'clientCustomerID': 1234,
 'developerToken': 'XXX',
 'Accept-Encoding': 'gzip',
 'User-Agent': 'XXX',
 'Content-Type': 'application/x-www-form-urlencoded',
 'Authorization': u'Bearer XXX'
 },
 stream=False)

 With this, every few requests the following exception occured:

  ConnectionError: HTTPSConnectionPool(host='adwords.google.com', 
 port=443): Max retries exceeded with url: 
 /api/adwords/reportdownload/v201406 (Caused by class 
 'httplib.BadStatusLine': '')

 This only happens on our Amazon EC2 instance though. If I try to do the 
 request from my local host, everything runs fine for hundreds of requests.

 The problem not only occurs when querying the reports, but also when 
 using the SOAP API via the googleads library / suds.

 Unauthenticated GET requests on the same resource are not affected:

  for i in range(500):
 ... url = '
 https://adwords.google.com/api/adwords/reportdownload/v201406'
 ... requests.get(url)
 ...
 Response [400]
 Response [400]
 (...)

 I tried to debug the call using strace. The file descriptor is created, 
 then a connection is established:

 fcntl(8, F_GETFL)   = 0x2 (flags O_RDWR)
 fcntl(8, F_SETFL, O_RDWR)   = 0
 connect(8, {sa_family=AF_INET, sin_port=htons(443), 
 sin_addr=inet_addr(74.125.24.113)}, 16) = 0
 setsockopt(8, SOL_TCP, TCP_NODELAY, [1], 4) = 0
 getpeername(8, {sa_family=AF_INET, sin_port=htons(443), 
 sin_addr=inet_addr(74.125.24.113)}, [16]) = 0
   
   
 open(/var/venv/radar/local/lib/python2.7/site-packages/requests/cacert.pem,
  
 O_RDONLY) = 9
 read(9, XXX..., 4096) = 4096
 (...)
 read(9, XXX..., 4096) = 1234
 read(9, , 4096)   = 0
 close(9)= 0
 munmap(0x7f63311fe000, 4096)= 0

 Then the TLS handshake takes place and the request is sent. But a 
 response is never returned.

 write(8, 
 \26\3\1\1\37\1\0\1\33\3\3T+\343\2175\21\361\221X\224P\371uf\362\313O\272\353;\21...,
  
 292) = 292
 read(8, \26\3\3\0=\2\0, 7)= 7
 read(8, 
 \0009\3\3T+\343\217\277\377`\370\220\177\350\nh\214\10\305W\247\37\267e\252\200\235\32\331g\276...,
  
 59) = 59
 read(8, \26\3\3\16\366, 5)= 5
 read(8, 
 \v\0\16\362\0\16\357\0\7q0\202\7m0\202\6U\240\3\2\1\2\2\10%\323H%\200`\276...,
  
 3830) = 3830
 read(8, \26\3\3\1M, 5)= 5
 read(8, 
 \f\0\1I\3\0\27A\4]\255\356\356\35F\340UW/w\361\323\334\244\212\242k\223\244\377\2167...,
  
 333) = 333
 read(8, \26\3\3\0\4, 5)   = 5
 read(8, \16\0\0\0, 4) = 4
 write(8, 
 \26\3\3\0F\20\0\0BA\4\325\306k,\300\244*\246\34\32\232\322/,\21F\337\230\254\270\332...,
  
 126) = 126
 read(8, \26\3\3\0\256, 5) = 5
 read(8, 
 \4\0\0\252\0\1\211\300\0\244\03003\177/St\230G\250ov\210P\376 
 uI?k\306..., 174) = 174
 read(8, \24\3\3\0\1, 5)   = 5
 read(8, \1, 1)= 1
 read(8, \26\3\3\0(, 5)= 5
 read(8, 
 

Re: Resetting the developer token - would it preserve the OAuth grants?

2014-09-30 Thread Anash P. Oommen (AdWords API Team)
Hi MG,

Resetting the developer token every month doesn't give you any extra 
benefit from a security standpoint. The only situation in which it makes 
sense to reset a developer token is when it gets shared with someone, and 
you don't want to make the person making API calls using that token. On the 
other hand, resetting a developer token means that you have to redeploy 
your application with the new developer token (since the old token no 
longer works), and it becomes difficult for us to troubleshoot an issue you 
may have, since the issue might have happened a couple of months back, and 
tracking by token becomes difficult since you'd have reset the developer 
token couple of times by then. Developer token doesn't influence account 
ACLs.

You can reset the clientSecret as part of the security policy. When doing 
an offline flow, ClientSecret is the secret passphrase that proves to the 
authentication server that the client app is authorized to make a request 
on behalf of the user. See some discussion here 
http://salesforce.stackexchange.com/questions/14009/whats-the-benefit-of-the-client-secret-in-oauth2
.

IMO the best way to enforce a password policy would be to require that your 
AdWords account's password is reset AND your refresh token is revoked at 
regular intervals. 

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Monday, September 29, 2014 10:17:44 AM UTC-4, AdWordsApiUser wrote:

 Thanks for your reply Josh!

 We're putting in an internal security policy in place, and are deciding 
 what all should be reset every month (think of it as enforcing a periodic 
 password change policy). 

 There is also the client secret that can be reset in Google API console. 
 Should we reset that instead? Could you also confirm if resetting the 
 client secret would have any impact on existing OAuth2 grants?

 Out of curiosity, why does the API team recommends not resetting the 
 developer token?

 Cheers, and have a good week everyone!
 MG



 On Monday, September 29, 2014 7:31:09 PM UTC+5:30, Josh Radcliff (AdWords 
 API Team) wrote:

 Hi MG,

 No, the OAuth2 grants will not be lost. The developer token is not linked 
 to the OAuth2 credentials. However, if you take this approach you'll have 
 to ensure that any code using the previous developer token picks up the new 
 one. Per the *AdWords API Center*:

 Please note that we advise against resetting your developer token, except 
 in rare cases such as compromised or stolen token. When you reset it:
 Any code using your previous developer token will not function.
 This action is final and cannot be undone.


 What is the motivation behind resetting the developer token on a monthly 
 basis?

 Cheers,
 Josh, AdWords API Team

 On Sunday, September 28, 2014 7:16:01 AM UTC-4, AdWordsApiUser wrote:

 Hello,

 My boss wants me to reset the developer token every N days. Would the 
 OAuth2 grants be lost once I do that? 

 Thanks!
 MG



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/bd2ecd16-9f31-42f9-a4fc-0ca157940a82%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How can I know if my application has Standard Access Token for API or Basic Access Token?

2014-09-30 Thread Anash P. Oommen (AdWords API Team)
Hi,

Right now, there isn't any way for a user to know this directly. We are 
working to get this fixed. If you can share your API MCC customer id by 
using the Reply to Author option, I can look it up for your token.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Tuesday, September 30, 2014 4:57:44 AM UTC-4, nf7588 wrote:

 Hi,

 How can I know if my application has Standard Access Token  for API or 
 Basic Access Token?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0882f952-74dc-4f4f-852c-577da96233a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: What is the Ad Type for HTML ads, created by Google Web Designer in Ad Performance report?

2014-09-30 Thread Anash P. Oommen (AdWords API Team)
Hi,

I believe these are both Template Ads, and you can *probably* distinguish 
the ads by their template ids.

Cheers,
Anash

On Monday, September 29, 2014 2:37:20 AM UTC-4, nf7588 wrote:

 Hi,

 Is there a way to distinguish between ads that were created by Display Ad 
 Builder tool and ads that were created by Google Web Designer?

 I can see in the Ad Performance report that there're both under Display 
 Ad, is that correct? are there any other kinds of ads that shows under 
 Display Ad type?

 Is there any other way to determine if an ad is created from Google Web 
 Designer (in ad performance report)?

 Thanks


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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/53ac228f-7cbd-4b9d-8961-3162c51a5a33%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Send report format .html

2014-09-30 Thread Anash P. Oommen (AdWords API Team)
Hi Sage,

Feel free to ask on this thread if you have more questions.

Cheers,
Anash P. Oommen,
AdWords API Advisor

On Monday, September 29, 2014 4:38:59 PM UTC-4, Sage Lewis wrote:

 That's easy for you to say :)


 I'm still pretty new to parsing csv files. But I am getting closer.

 I'll keep working on that.

 Thanks for your help!


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0299eafd-0de6-4ffb-9d53-364f7c0aef00%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: URL clarification - url, finalUrls, finalMobileUrls, and finalUrls ...

2014-09-29 Thread Anash P. Oommen (AdWords API Team)
Hi,

Yes, upgraded URLs = all the final* urls and settings around it. By 
default, this works only for your test accounts. Once your account is 
whitelisted for the feature (through the signup form), your calls will 
start working against production accounts, and ads will function properly.

Cheers,
Anash

On Friday, September 26, 2014 9:23:07 PM UTC-4, BDCoder wrote:

 Anash,

 Yes -- makes perfect sense ... thank-you...

 Now -- a while back there was a form posted to signup to be white listed 
 so we could use the upgraded URLs (see form at: 
 https://services.google.com/fb/forms/upgradeurls/ )

 Does upgraded URL's mean the final* URL's??

 Or to put it another way, If I create ads with FinalUrl and 
 FinalMobileUrl, will those ads function property in a production 
 environment or are we restricted to the test environment until we we 
 receive an OK that we are white listed?

 Thanks again.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1c09c75f-fef8-408b-957d-a36a8df6aea7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Image Ad Upload

2014-09-29 Thread Anash P. Oommen (AdWords API Team)
Hi Conor,

See if you can replicate this one - connection getting closed is sometimes 
related to a bad ISP connection, sometimes it happens due to your calls 
happening when a server update is happening.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Monday, September 29, 2014 5:53:10 AM UTC-4, testa...@geeks.ltd.uk wrote:

 Hi Anash,

 Thank you for your reply. I made a couple of changes to my code, so it now 
 looks like this:

 var operations = new ListAdGroupAdOperation();

 foreach (var generatedAd in generatedAds)
 {
 // create a new image to put in the imageAd
 var image = new Image
 {
 data = generatedAd.Image.FileData,
 type = MediaMediaType.IMAGE
 };

 // create a new image ad
 var imageAd = new ImageAd
 {
 image = image,
 name = generatedAd.Image.FileName,
 displayUrl = Config.Get(DisplayURL),
 url = generatedAd.Ad.Url
 };

 var imageAdGroupAd = new AdGroupAd
 {
 ad = imageAd,
 adGroupId = (long)generatedAd.Ad.AdwordsAdGroupId,
 
 };

 // prepare to add the new image ad to the ad words group
 var operation = new AdGroupAdOperation
 {
 @operator = Operator.ADD,
 operand = imageAdGroupAd
 };

 operations.Add(operation);
 }

 try
 {
 
 ((AdGroupAdService)user.GetService(AdWordsService.v201406.AdGroupAdService))
 .mutate(operations.ToArray());
 }

 However, running this code now results in an exception being thrown. The 
 main exception message is 'The underlying connection was closed: An 
 unexpected error occurred on a send.', and the inner exception message is 
 'An existing connection was forcibly closed by the remote host.'. Have 
 these errors come up before in AdWords? Is there a particular way to handle 
 them?

 Thanks,
 Conor


 On Friday, 26 September 2014 21:01:48 UTC+1, Anash P. Oommen (AdWords API 
 Team) wrote:

 Hi Conor,

 This is a code example from an old version of the client library. Let me 
 know if it works for you.

   // Create your image ad.  ImageAd imageAd = new ImageAd();  
 imageAd.name = My Image Ad;  imageAd.displayUrl = www.example.com;   
imageAd.url = http://www.example.com 
 https://www.google.com/url?q=http://www.example.comusg=AFQjCNGH9WGZ0rgKFLCMkObqewQjm4Gotw;
   // Load your image into data field.  string imageUrl = 
 https://sandbox.google.com/sandboximages/image.jpg 
 https://www.google.com/url?q=https://sandbox.google.com/sandboximages/image.jpgusg=AFQjCNFzC3A1uAlzhaOkqVoOs3fzZ0lmaw;
   WebRequest request = HttpWebRequest.Create(imageUrl);  WebResponse 
 response = request.GetResponse();  MemoryStream memStream = new 
 MemoryStream();  using (Stream responseStream = 
 response.GetResponseStream()) {byte[] strmBuffer = new byte[4096];   
  int bytesRead = responseStream.Read(strmBuffer, 0, 4096);while 
 (bytesRead != 0) {  memStream.Write(strmBuffer, 0, bytesRead);   
bytesRead = responseStream.Read(strmBuffer, 0, 4096);}  } 
  imageAd.image = new Image();  imageAd.image.data = memStream.ToArray(); 
  // Set the AdGroup Id.  AdGroupAd imageAdGroupAd = new AdGroupAd(); 
  imageAdGroupAd.adGroupId = adGroupId;  
 imageAdGroupAd.adGroupIdSpecified = true;  imageAdGroupAd.ad = imageAd;


 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Thursday, September 25, 2014 10:26:52 AM UTC-4, testa...@geeks.ltd.uk 
 wrote:

 HI Anash,

 Thanks for your help. I am slightly lost though as to how to create an 
 ImageAd, from start to finish. So I upload the Image to AdWords, and get 
 the media id of that image. Then what do I do with it? I'm looking at the 
 API here 
 https://developers.google.com/adwords/api/docs/reference/v201406/AdGroupAdService.ImageAd
  
 and can't see where I should put the id. I also don't know what the 
 following steps are. 

 I have downloaded the AdWords examples for C# but there are no 
 references to ImageAd, so I can't see how it's done.

 Thanks,
 Conor

 On Thursday, 25 September 2014 14:19:46 UTC+1, Anash P. Oommen (AdWords 
 API Team) wrote:

 Hi,

 To create an imageAd, you'd need to upload the image first using 
 MediaService (see 
 https://github.com/googleads/googleads-dotnet-lib/blob/master/examples/AdWords/CSharp/v201406/Miscellaneous/UploadImage.cs),
  
 then use that media id to create an image Ad.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Thursday, September 25, 2014 7:21:24 AM UTC-4, testa...@geeks.ltd.uk 
 wrote:

 Hi All,

 I am trying to use the following code, in C#, to upload some ImageAds 
 to AdWords; however, it appears that I am using

Re: How to exclude Callouts from the Placeholder Feed Item Report?

2014-09-29 Thread Anash P. Oommen (AdWords API Team)
Hi,

You can filter by PlaceholderType column. The IDs for various placeholder 
types are available 
on https://developers.google.com/adwords/api/docs/appendix/placeholders

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Monday, September 29, 2014 1:26:03 AM UTC-4, nf7588 wrote:

 Hi,

 Wer're using the 
 Placeholder Feed Item Report for getting Sitelinks.
 Since last week we started to get Callouts it this report under the 
 ClckType Sitelink.

 Is this a normal behavior? is there a way to exclude them from regular 
 Sitelinks or identify them so we could ignore them in our code?

 Thanks


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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/c43e92bf-cc3b-42cd-b0ff-306685c2f31d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Going from Command Line to Creating Web-based tools

2014-09-29 Thread Anash P. Oommen (AdWords API Team)
Hi Sage,

It is not required in your case, since you copy-pasted your code into the 
main page.

Cheers,
Anash

On Saturday, September 27, 2014 10:01:43 AM UTC-4, Sage Lewis wrote:

 So I found that if I commented this out:
 // Don't run the example if the file is being included.
 //if (__FILE__ != realpath($_SERVER['PHP_SELF'])) {
 //  return;
 //}

 the script runs in the browser.

 My question now is: do I need this? 

 I'm running XAMPP on Windows 7. 

 Thanks!
 Sage



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/33e0452f-7354-4303-99ec-6b4937bfe501%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Can't create a test account without first getting access to the API?

2014-09-29 Thread Anash P. Oommen (AdWords API Team)
Hi,

You don't need an approved token to try the API against a test (sandbox) 
account. See https://developers.google.com/adwords/api/docs/test-accounts 
for instructions.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Monday, September 29, 2014 7:31:02 AM UTC-4, jem...@molekula.com wrote:

 I was trying to sign up for the Adwords API but apparently you need 
 approval. This is all good and well except it's asking me to fill out a 
 form, including things like design documentation and such before even 
 allowing me to create a test account? How am I supposed to build the 
 application, and therefore the design documentation and other information 
 I'm asked of if I can't create a test account to use the API against?

 Am I understanding something incorrectly?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d574db3c-8bf6-4ca5-abbe-fab8b4caa808%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Send report format .html

2014-09-29 Thread Anash P. Oommen (AdWords API Team)
Hi Sage,

You can divide the value by 100 before printing the html. Also, php has 
pretty good support http://php.net/manual/en/function.str-getcsv.php for 
parsing csv.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Sunday, September 28, 2014 12:58:25 PM UTC-4, Sage Lewis wrote:

 I'm successfully creating a csv file for my report and displaying it in 
 html format with this code:
 ?php
 echo table\n\n;
 $f = fopen(report.csv, r);
 while (($line = fgetcsv($f)) !== false) {
 echo tr;
 foreach ($line as $cell) {
 echo td . htmlspecialchars($cell) . /td;
 }
 echo /tr\n;
 }
 fclose($f);
 echo \n/table/body/html;
 ?

 The issue I'm running into is: 'returnMoneyInMicros'. 

 All my monetary data is displaying in microformats.

 Do you think there is any way I can solve this by simply converting my csv 
 file to html. Or do you think I'm going to need to pull the data into 
 something like mysql and parse it there?

 Thanks!


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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/3e8d4415-ee6d-4ed7-b80a-edd62d067c77%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Whitelisted for upgraded URLs?

2014-09-29 Thread Anash P. Oommen (AdWords API Team)
Hi,

I believe the account would have been whitelisted already, the emails 
haven't been sent out yet. If whitelisted, try creating an ad in the UI, 
and you should start seeing the final Url option on the UI also.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Sunday, September 28, 2014 11:34:19 PM UTC-4, BDCoder wrote:

 Hello!

 A while back there was a form posted at 
 https://services.google.com/fb/forms/upgradeurls/ to signup to be white 
 listed so we could use upgraded URLs in production as they are currently 
 only supported in the test environment as per the notice at:
 https://developers.google.com/adwords/api/docs/guides/upgraded-urls

 I've filled out the form twice, but have yet to receive any reply (or even 
 an acknowledgement of receipt)...  Any ETA on when we receive replies?   Or 
 does ( no reply === NO )?

 Thanks!



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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/d3f2f2ab-93cf-48c7-999a-53c32d73e609%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Image Ad Upload

2014-09-29 Thread Anash P. Oommen (AdWords API Team)
Hi Conor,

I'd need some additional details, please share them by using the *Reply to 
Author* option. DO NOT post any of these details online.

1. Your customer ids (client and API MCC accounts).
2. When was this call made? (timestamp)
3. Outgoing and incoming http request body. You can capture one using 
Fiddler 
(http://docs.telerik.com/fiddler/Configure-Fiddler/Tasks/FirefoxHTTPS)
4. Can you actually access the wsdl url from a browser? e.g. 
https://adwords.google.com/api/adwords/cm/v201406/CampaignService?wsdl
5. Provide the output when you do a tracert from your server to AdWords 
server. tracert adwords.google.com
6. What is your machine's IP? (output of ipconfig /all). Another option is 
to visit these urls and provide the output

https://ipv4.google.com/search?q=what+is+my+ip 
https://ipv6.google.com/search?q=what+is+my+ip

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Monday, September 29, 2014 9:36:23 AM UTC-4, testa...@geeks.ltd.uk wrote:

 Hi Anash,

 I have managed to replicate this error several times now. Same exception 
 and inner exception each time. What should I do?

 Thanks,
 Conor


 On Monday, 29 September 2014 14:20:47 UTC+1, Anash P. Oommen (AdWords API 
 Team) wrote:

 Hi Conor,

 See if you can replicate this one - connection getting closed is 
 sometimes related to a bad ISP connection, sometimes it happens due to your 
 calls happening when a server update is happening.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Monday, September 29, 2014 5:53:10 AM UTC-4, testa...@geeks.ltd.uk 
 wrote:

 Hi Anash,

 Thank you for your reply. I made a couple of changes to my code, so it 
 now looks like this:

 var operations = new ListAdGroupAdOperation();

 foreach (var generatedAd in generatedAds)
 {
 // create a new image to put in the imageAd
 var image = new Image
 {
 data = generatedAd.Image.FileData,
 type = MediaMediaType.IMAGE
 };

 // create a new image ad
 var imageAd = new ImageAd
 {
 image = image,
 name = generatedAd.Image.FileName,
 displayUrl = Config.Get(DisplayURL),
 url = generatedAd.Ad.Url
 };

 var imageAdGroupAd = new AdGroupAd
 {
 ad = imageAd,
 adGroupId = (long)generatedAd.Ad.AdwordsAdGroupId,
 
 };

 // prepare to add the new image ad to the ad words group
 var operation = new AdGroupAdOperation
 {
 @operator = Operator.ADD,
 operand = imageAdGroupAd
 };

 operations.Add(operation);
 }

 try
 {
 
 ((AdGroupAdService)user.GetService(AdWordsService.v201406.AdGroupAdService))
 .mutate(operations.ToArray());
 }

 However, running this code now results in an exception being thrown. The 
 main exception message is 'The underlying connection was closed: An 
 unexpected error occurred on a send.', and the inner exception message is 
 'An existing connection was forcibly closed by the remote host.'. Have 
 these errors come up before in AdWords? Is there a particular way to handle 
 them?

 Thanks,
 Conor


 On Friday, 26 September 2014 21:01:48 UTC+1, Anash P. Oommen (AdWords 
 API Team) wrote:

 Hi Conor,

 This is a code example from an old version of the client library. Let 
 me know if it works for you.

   // Create your image ad.  ImageAd imageAd = new ImageAd();  
 imageAd.name = My Image Ad;  imageAd.displayUrl = www.example.com; 
  imageAd.url = http://www.example.com 
 https://www.google.com/url?q=http://www.example.comusg=AFQjCNGH9WGZ0rgKFLCMkObqewQjm4Gotw;
   // Load your image into data field.  string imageUrl = 
 https://sandbox.google.com/sandboximages/image.jpg 
 https://www.google.com/url?q=https://sandbox.google.com/sandboximages/image.jpgusg=AFQjCNFzC3A1uAlzhaOkqVoOs3fzZ0lmaw;
   WebRequest request = HttpWebRequest.Create(imageUrl);  
 WebResponse response = request.GetResponse();  MemoryStream memStream 
 = new MemoryStream();  using (Stream responseStream = 
 response.GetResponseStream()) {byte[] strmBuffer = new byte[4096]; 
int bytesRead = responseStream.Read(strmBuffer, 0, 4096);
 while (bytesRead != 0) {  memStream.Write(strmBuffer, 0, 
 bytesRead);  bytesRead = responseStream.Read(strmBuffer, 0, 4096); 
}  }  imageAd.image = new Image();  imageAd.image.data 
 = memStream.ToArray();  // Set the AdGroup Id.  AdGroupAd 
 imageAdGroupAd = new AdGroupAd();  imageAdGroupAd.adGroupId = 
 adGroupId;  imageAdGroupAd.adGroupIdSpecified = true;  
 imageAdGroupAd.ad = imageAd;


 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Thursday, September 25, 2014 10:26:52 AM UTC-4

Re: Intermittent HTTP 404 errors on ad-hoc reports API

2014-09-29 Thread Anash P. Oommen (AdWords API Team)
Hi James,

Could you share the following details with me using the Reply to Author 
option? I can investigate this further.

I'd need some additional details, please share them by using the *Reply to 
Author* option. DO NOT post any of these details online.

1. Your customer ids (client and API MCC accounts).
2. When was this call made? (timestamp)
3. Outgoing and incoming http request body. You can capture one using 
Fiddler (
http://docs.telerik.com/fiddler/Configure-Fiddler/Tasks/FirefoxHTTPS)
4. Can you actually access the wsdl url from a browser? e.g. 
https://adwords.google.com/api/adwords/cm/v201406/CampaignService?wsdl
5. Provide the output when you do a tracert from your server to AdWords 
server. tracert adwords.google.com
6. What is your machine's IP? (output of ipconfig /all). Another option is 
to visit these urls and provide the output

https://ipv4.google.com/search?q=what+is+my+ip 
https://ipv6.google.com/search?q=what+is+my+ip

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Friday, September 26, 2014 6:14:55 PM UTC-4, James Carter wrote:

 I am encountering this problem. Its happening basically every time I click 
 save on a report. Here is the error in the Event Viewer:

 An unhandled exception occurred and the process was terminated.

 Application ID: /LM/W3SVC/1/ROOT/NorthshoreNet4_Dev

 Process ID: 968

 Exception: System.Net.WebException

 Message: The remote server returned an error: (404) Not Found.

 StackTrace:at System.Net.WebClient.OpenRead(Uri address)
at AdHoc.Reports.Thumbnails.RequestSender.SendWebRequest()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext 
 executionContext, ContextCallback callback, Object state, Boolean 
 preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext 
 executionContext, ContextCallback callback, Object state, Boolean 
 preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext 
 executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()

 On Monday, July 7, 2014 4:58:39 AM UTC-7, Florian Lherbette wrote:

 I've been getting HTTP 404 error responses for some report requests 
 (version v201309 of the reporting API, endpoint : 
 https://adwords.google.com/api/adwords/reportdownload/v201309)

 These errors occur very sporadically. The first errors I have detected 
 were on 2014-06-17. I cannot tell at the moment if the problem is specific 
 to v201309, as the migration of my code to v201402 is currently under way, 
 and I do not know any way to reproduce these errors.

 Did any other developers encounter this problem ?

 Thanks,

 -- 
 Florian Lherbette



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ae105114-820c-4570-8865-ad9f66305587%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: URL clarification - url, finalUrls, finalMobileUrls, and finalUrls ...

2014-09-26 Thread Anash P. Oommen (AdWords API Team)
Hi,

1. Yes, the user will be sent to the right version of the url depending on 
the detected device.
2. No, url needn't be set if you set finalUrl.

Url field will eventually go away, and will be replaced by the finalUrls 
fields
- FinalUrl is where you want your customer to land.
- FinalMobileUrls may be used if you have a separate landing page for 
mobile devices.
- trackingTemplate, if you want to set a tracker url for your site for 
analytics purposes
- customParameters, if you want to add custom parameters to your tracking 
url.

Today, users handle all these cases in the destination url itself - 
something like 
http://tracker.example.com/?myid=123continue={ifmobile:mysite.com/foo}{ifnotmobile:mobile.mysite.com/foo}.
 
With the new set of fields, you can set this like

finalUrl: mysite.com/foo
finalMobileUrl: mobile.mysite.com/foo
customParameters: {_myid: 123}
trackingTempate: http://tracker.example.com/?myid={_myid}continue={lpurl}

Does that make sense?

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Friday, September 26, 2014 1:53:09 PM UTC-4, BDCoder wrote:

 Found this -- but am still looking for a full description of the fields I 
 mentioned...

 https://developers.google.com/adwords/api/docs/guides/upgraded-urls



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/523a68a0-4b43-4303-97dd-bea1dffbde89%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Cannot generate Adword Summery Report.

2014-09-26 Thread Anash P. Oommen (AdWords API Team)
Hi Purvish,

Could you please post this 
on 
https://groups.google.com/forum/?utm_medium=emailutm_source=footer#!forum/adwords-scripts?

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Thursday, September 25, 2014 3:13:08 AM UTC-4, Purvish Patel wrote:

 I follow the step to get Adwords Summery Report  as per bellow url:


 https://developers.google.com/adwords/scripts/docs/solutions/account-summary

 But getting error *Invalid reporting query. (line 143)*
 And account summery report is not getting generate automatically







-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/992de279-db96-4d07-96d6-33a3c954f075%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Image Ad Upload

2014-09-26 Thread Anash P. Oommen (AdWords API Team)
Hi Conor,

This is a code example from an old version of the client library. Let me 
know if it works for you.

  // Create your image ad.  ImageAd imageAd = new ImageAd();  
imageAd.name = My Image Ad;  imageAd.displayUrl = www.example.com;  
imageAd.url = http://www.example.com 
https://www.google.com/url?q=http://www.example.comusg=AFQjCNGH9WGZ0rgKFLCMkObqewQjm4Gotw;
  // Load your image into data field.  string imageUrl = 
https://sandbox.google.com/sandboximages/image.jpg 
https://www.google.com/url?q=https://sandbox.google.com/sandboximages/image.jpgusg=AFQjCNFzC3A1uAlzhaOkqVoOs3fzZ0lmaw;
  WebRequest request = HttpWebRequest.Create(imageUrl);  WebResponse 
response = request.GetResponse();  MemoryStream memStream = new 
MemoryStream();  using (Stream responseStream = 
response.GetResponseStream()) {byte[] strmBuffer = new byte[4096];  
  int bytesRead = responseStream.Read(strmBuffer, 0, 4096);while 
(bytesRead != 0) {  memStream.Write(strmBuffer, 0, bytesRead);  
bytesRead = responseStream.Read(strmBuffer, 0, 4096);}  }  
imageAd.image = new Image();  imageAd.image.data = memStream.ToArray(); 
 // Set the AdGroup Id.  AdGroupAd imageAdGroupAd = new AdGroupAd();  
imageAdGroupAd.adGroupId = adGroupId;  imageAdGroupAd.adGroupIdSpecified = 
true;  imageAdGroupAd.ad = imageAd;


Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Thursday, September 25, 2014 10:26:52 AM UTC-4, testa...@geeks.ltd.uk 
wrote:

 HI Anash,

 Thanks for your help. I am slightly lost though as to how to create an 
 ImageAd, from start to finish. So I upload the Image to AdWords, and get 
 the media id of that image. Then what do I do with it? I'm looking at the 
 API here 
 https://developers.google.com/adwords/api/docs/reference/v201406/AdGroupAdService.ImageAd
  
 and can't see where I should put the id. I also don't know what the 
 following steps are. 

 I have downloaded the AdWords examples for C# but there are no references 
 to ImageAd, so I can't see how it's done.

 Thanks,
 Conor

 On Thursday, 25 September 2014 14:19:46 UTC+1, Anash P. Oommen (AdWords 
 API Team) wrote:

 Hi,

 To create an imageAd, you'd need to upload the image first using 
 MediaService (see 
 https://github.com/googleads/googleads-dotnet-lib/blob/master/examples/AdWords/CSharp/v201406/Miscellaneous/UploadImage.cs),
  
 then use that media id to create an image Ad.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Thursday, September 25, 2014 7:21:24 AM UTC-4, testa...@geeks.ltd.uk 
 wrote:

 Hi All,

 I am trying to use the following code, in C#, to upload some ImageAds to 
 AdWords; however, it appears that I am using the wrong service. However, 
 using a MediaService forces me to change method from mutate to upload, the 
 argument from ListAdGroupAdOperation to Media[], and then I have to 
 change the type from ImageAd to Image, otherwise I can't put it in the 
 array, and then I can't assign certain information, such as AdGroupId, 
 which I need to specify.

 Does anyone know where I'm going wrong or what I should be doing instead 
 to achieve my goal of putting certain ImageAds in a certain AdGroup?

 Thanks,
 Conor

 == Code == 
 var operations = new ListAdGroupAdOperation();

 foreach (var generatedAd in generatedAds)
 {
 // create a new image to put in the imageAd
 var image = new Image
 {
 data = generatedAd.Image.FileData,
 type = MediaMediaType.IMAGE
 };

 // create a new image ad
 var imageAd = new ImageAd
 {
 image = image,
 displayUrl = DisplayURL,
 url = generatedAd.Ad.Url
 };

 var imageAdGroupAd = new AdGroupAd
 {
 adGroupId = (long)generatedAd.Ad.AdwordsAdGroupId
 };

 // prepare to add the new image ad to the ad words group
 var operation = new AdGroupAdOperation
 {
 @operator = Operator.ADD,
 operand = imageAdGroupAd
 };

 operations.Add(operation);
 }

 try
 {
 
 ((AdGroupAdService)user.GetService(AdWordsService.v201406.AdGroupAdService))
 .mutate(operations.ToArray());
 }
 == Code == 



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

Re: Image Ad Upload

2014-09-25 Thread Anash P. Oommen (AdWords API Team)
Hi,

To create an imageAd, you'd need to upload the image first using 
MediaService (see 
https://github.com/googleads/googleads-dotnet-lib/blob/master/examples/AdWords/CSharp/v201406/Miscellaneous/UploadImage.cs),
 
then use that media id to create an image Ad.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Thursday, September 25, 2014 7:21:24 AM UTC-4, testa...@geeks.ltd.uk 
wrote:

 Hi All,

 I am trying to use the following code, in C#, to upload some ImageAds to 
 AdWords; however, it appears that I am using the wrong service. However, 
 using a MediaService forces me to change method from mutate to upload, the 
 argument from ListAdGroupAdOperation to Media[], and then I have to 
 change the type from ImageAd to Image, otherwise I can't put it in the 
 array, and then I can't assign certain information, such as AdGroupId, 
 which I need to specify.

 Does anyone know where I'm going wrong or what I should be doing instead 
 to achieve my goal of putting certain ImageAds in a certain AdGroup?

 Thanks,
 Conor

 == Code == 
 var operations = new ListAdGroupAdOperation();

 foreach (var generatedAd in generatedAds)
 {
 // create a new image to put in the imageAd
 var image = new Image
 {
 data = generatedAd.Image.FileData,
 type = MediaMediaType.IMAGE
 };

 // create a new image ad
 var imageAd = new ImageAd
 {
 image = image,
 displayUrl = DisplayURL,
 url = generatedAd.Ad.Url
 };

 var imageAdGroupAd = new AdGroupAd
 {
 adGroupId = (long)generatedAd.Ad.AdwordsAdGroupId
 };

 // prepare to add the new image ad to the ad words group
 var operation = new AdGroupAdOperation
 {
 @operator = Operator.ADD,
 operand = imageAdGroupAd
 };

 operations.Add(operation);
 }

 try
 {
 
 ((AdGroupAdService)user.GetService(AdWordsService.v201406.AdGroupAdService))
 .mutate(operations.ToArray());
 }
 == Code == 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/612d12c0-1887-4f4f-8882-9359d9fa0446%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ERROR_GETTING_RESPONSE_FROM_BACKEND

2014-09-25 Thread Anash P. Oommen (AdWords API Team)
Hi Jiri,

If you can share your account's customer id and API MCC customer ID by 
using the reply to author option, I can investigate this further. All the 
more better if you can share the HTTP request you are sending to the 
request server.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Thursday, September 25, 2014 8:16:36 AM UTC-4, Jiří Syrový wrote:

 Hi,

 I'm basically try to get ALL_TIME data by splitting intervals (longer 
 intervals in history, shorter for more recent dates) to reduce the amount 
 of data after getting 
 ReportDownloadError.ERROR_GETTING_RESPONSE_FROM_BACKEND, but the problem is 
 that even requests for a few months of data (e.g. Oct-Dec 2012) are 
 returning this error (not considering the fact that there shouldn't be any 
 data for that interval). Is there a better way how to get ALL_TIME data?

 Thanks,
 Jiri 

 Dne středa, 24. září 2014 21:15:51 UTC+2 Anash P. Oommen (AdWords API 
 Team) napsal(a):

 Hi,

 You should be reducing the date range significantly - preferably, keep it 
 to a couple of recent months. Right now, you are requesting data worth 12 
 years. For one, you are requesting data from 1 Jan 2000, but AdWords 
 launched 
 http://en.wikipedia.org/wiki/AdWordsonly on October 23, 2000.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Wednesday, September 24, 2014 10:29:03 AM UTC-4, Jiří Syrový wrote:

 Hi,

 could the error in ${SUBJ} be caused by some general issue occurring 
 recently? Getting it pretty often for SEARCH_QUERY_PERFORMANCE_REPORT even 
 for shorter time intervals that shouldn't contain so much date e.g.
 start=2000-01-01T00:00:00.000Z end=2012-01-01T00:00:00.000Z 
 type=CUSTOM_DATE

 
 Caused by: HTTP Response Code: 500, Trigger: Unable to read report data, 
 Type: ReportDownloadError.ERROR_GETTING_RESPONSE_FROM_BACKEND
 at 
 com.google.api.ads.adwords.lib.utils.v201402.ReportDownloader.handleResponse(ReportDownloader.java:119)
 at 
 com.google.api.ads.adwords.lib.utils.v201402.ReportDownloader.downloadReport(ReportDownloader.java:93)

 Best,
 Jiri Syrovy



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/32d52821-b2e8-42c7-851c-cff37d82b284%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Going from Command Line to Creating Web-based tools

2014-09-25 Thread Anash P. Oommen (AdWords API Team)
Hi Sage,

I think that's pretty straightforward; you just need to copy-paste the code 
from 
https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201406/Reporting/GetReportFields.php
 
into your index.php and modify the printf calls such that they print out 
html tags instead of plain text.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Wednesday, September 24, 2014 8:31:18 PM UTC-4, Sage Lewis wrote:

 First, I want to thank you all for your contributions here. Because of you 
 all I now have successfully run GetRefreshToken.php and GetReportFields.php 
 both from the command line. If you knew me you would think that's a miracle 
 in and of itself.

 But now I'm curious about going to the next stage. 

 As an example, I'd like to take GetReportFields.php and run it from the 
 web. 

 I'm currently running XAMPP on a pc at  home to do this work. .But 
 eventually I'd like to post this stuff to a web host somewhere.

 Any tips you can give would be GREATLY appreciated.

 Thank you!
 Sage


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/48a077e9-88ba-47e0-b9a3-923682f70fbe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: PHP Client Library : Problem to use API Adsword

2014-09-25 Thread Anash P. Oommen (AdWords API Team)
Hi Sage,

Have you explored AdWords scripts 
https://developers.google.com/adwords/scripts/? It is much simpler to use 
than AdWords API, and may be the right product for you.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Wednesday, September 24, 2014 8:00:08 PM UTC-4, Sage Lewis wrote:

 As a person who is VERY new to this world this was definitely a hurdle for 
 me. 

 I set up XAMPP on my pc at home. It installed php and all the necessary 
 stuff right out of the box. But what I didn't realize was just what was 
 said below. You must run these examples all from the command line. So it's 
 not like you can just upload these libraries to Godaddy and get them to 
 run. 

 Running them on your local machine is probably the easiest approach.

 But figuring out how to get php to run on command line was still a 
 challenge. This post was key in getting me to be able to run a php script 
 from command line:

 http://www.blog.highub.com/php/running-php-using-windows-command-line-with-xampp/

 Now I can get other examples to run as well. Hopefully you will too.

 :)

 On Monday, June 16, 2014 6:00:56 PM UTC-4, 
 f.de...@webmarketing-booster.com wrote:

 Hello,

 I'm currently trying to use the Adwords API PHP but I have trouble 
 connecting. I downloaded the Seller GoogleAds-php-lib

 I followed the guide for authentication via OAuth 2.0. I modified the 
 file auth.ini indicating my developerToken my userAgent my client_id and my 
 client_secret

 When I execute the GetRefreshToken.php file via my browser with the 
 following URL: 
 http://localhost/site_web/googleads/examples/AdWords/Auth/GetRefreshToken.php

 I have the following return:
 Log in to your AdWords account and open the Following URL: 
 https://accounts.google.com/o/oauth2/auth?response_type=codeclient_id=XX-fn3lphn8rmm7uksvdrhjoimuc0j1bd9h.apps.googleusercontent.comredirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoobscope=https%3A%2F%2Fadwords.google.com%2Fapi%2Fadwords%2Faccess_type=offline
  
 After Approving the authorization token enter the code here: OAuth2 Your 
 Credentials are incorrect. Please see the example GetRefreshToken.php. 
 {Error: invalid_request, error_description: Missing required 
 parameter: code}

 Following the url above, I get the authorization code well. But then 
 where do you copy?

 Thanks in advance

 Florent



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0b2e7ca8-ef51-48d1-88af-765995309399%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Can You Use The AdWords API To Access The Ad Preview Diagnosis Tool?

2014-09-25 Thread Anash P. Oommen (AdWords API Team)
Hi Robert,

No, this feature is not available through AdWords API.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Wednesday, September 24, 2014 4:36:25 PM UTC-4, Robert O'Kruk wrote:

 Hello,

 I am wondering if you can use the AdWords API to access the data that is 
 provided from the AdWords Ad Preview  Diagnosis Tool?

 Any input is greatly appreciated.

 Thanks.


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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/1cf8d442-ef2f-4d62-b2ef-ab0aaa35aa93%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to create in API report some specific Keywords filters

2014-09-25 Thread Anash P. Oommen (AdWords API Team)
Hi Oscar,

Keyword performance report will give you all the rows if you set 
includeZeroImpressions: true in your requests. 
See 
https://developers.google.com/adwords/api/docs/guides/zero-impression-reports 
for more details.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Wednesday, September 24, 2014 2:40:44 PM UTC-4, Oscar Martinez wrote:

 Hi, 

 Seeing the data gotten from the API Keyword Report, I have a discrepancy 
 of Converted Click between Keywords Report gotten from the AdWords Website 
 Keywords Report and API Report. I think the problem is related with some 
 filters set in the Website. Those filters are:

 - Keywords Below first page bid
 - Good quality but low traffic keywords
 - All enabled keywords
 - All non active keywords

 The problem is that we don't find how to set them in API Report.

 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/b170dc85-fead-41cc-ad39-878e091e6b1e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Having trouble locating the validation error code information on the API docs

2014-09-25 Thread Anash P. Oommen (AdWords API Team)
Hi David,

Looks like these aren't documented externally yet, I'll check with our tech 
writer and let you know.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Wednesday, September 24, 2014 4:20:11 PM UTC-4, David Nunez wrote:


 Hi,
   I've added a FeedItem to an existing Feed through the FeedItemService, 
 and though the FeedItem shows a status of ACTIVE, it contains a validation 
 error. I'm having difficult locating a spot on the API docs that shows me 
 what these numeric validationerrorcode values mean. (see 
 validationErrorCode 
 https://developers.google.com/adwords/api/docs/reference/v201402/MutateJobService.FeedItemAttributeError?hl=cs#validationErrorCode).
  
 Has this information been published on the docs, and if so, can you let me 
 know which page?

 Thanks,
 - David 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9c1f7aa9-f2f6-4996-b412-cbecd20f38d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Issue with uploading large amounts of data using MutateJobService

2014-09-24 Thread Anash P. Oommen (AdWords API Team)
Hi Alan,

This fix should be live now, let me know if you are still facing issues.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Tuesday, September 23, 2014 4:37:00 AM UTC-4, Alan Coleman wrote:

 Hi Anash,

 Is there any update on this fix? Or a timescale in place?

 We'd really like to be able to make use of this aspect of the API.

 Many thanks.

 On Thursday, September 4, 2014 8:00:59 PM UTC+1, Anash P. Oommen (AdWords 
 API Team) wrote:

 Hi Brian,

 A fix is being worked upon, it should hopefully be in place during the 
 next server update.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Tuesday, September 2, 2014 12:46:34 PM UTC-4, 360gam...@gmail.com 
 wrote:

 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

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

2014-09-24 Thread Anash P. Oommen (AdWords API Team)
Hi Greg,

The team told me that the fix is live, so you should be able to set bid 
modifiers on shopping adgroups now. Let me know if the request is still 
failing for you, and please provide a requestId from a failed request if 
possible.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Tuesday, September 23, 2014 12:10:44 PM UTC-4, GregT wrote:

 Hi again, Anash.

 It's been another week (so, two weeks after you said to let you know if 
 the issue still happens after a few days), and nothing appears to have 
 changed -- we are still getting the same error as originally.  Any update 
 on this?

 Thanks,
 Greg

 On Monday, September 15, 2014 12:07:10 PM UTC-5, GregT wrote:

 Hi, Anash.

 It's been a week since your post, and we are still getting the same error 
 as we originally did.  Has it just not gone live yet, or is it possible 
 that the intended fix did not actually fix it?

 Thanks,
 Greg

 On Monday, September 8, 2014 8:31:00 AM UTC-5, Anash P. Oommen (AdWords 
 API Team) wrote:

 Hi Greg,

 We have added a fix, and this should go live during the next server 
 push. If the issues persist after a few days, let me know.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Thursday, September 4, 2014 12:56:29 PM UTC-4, Anash P. Oommen 
 (AdWords API Team) wrote:

 Hi Greg,

 Not yet, I have pinged them again today for updates. I'll keep you 
 posted. Apologies for the delay in getting this resolved.

 Cheers,
 Anash

 On Tuesday, September 2, 2014 2:13:34 PM UTC-4, GregT wrote:

 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

Re: ERROR_GETTING_RESPONSE_FROM_BACKEND

2014-09-24 Thread Anash P. Oommen (AdWords API Team)
Hi,

You should be reducing the date range significantly - preferably, keep it 
to a couple of recent months. Right now, you are requesting data worth 12 
years. For one, you are requesting data from 1 Jan 2000, but AdWords launched 
http://en.wikipedia.org/wiki/AdWordsonly on October 23, 2000.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Wednesday, September 24, 2014 10:29:03 AM UTC-4, Jiří Syrový wrote:

 Hi,

 could the error in ${SUBJ} be caused by some general issue occurring 
 recently? Getting it pretty often for SEARCH_QUERY_PERFORMANCE_REPORT even 
 for shorter time intervals that shouldn't contain so much date e.g.
 start=2000-01-01T00:00:00.000Z end=2012-01-01T00:00:00.000Z 
 type=CUSTOM_DATE

 
 Caused by: HTTP Response Code: 500, Trigger: Unable to read report data, 
 Type: ReportDownloadError.ERROR_GETTING_RESPONSE_FROM_BACKEND
 at 
 com.google.api.ads.adwords.lib.utils.v201402.ReportDownloader.handleResponse(ReportDownloader.java:119)
 at 
 com.google.api.ads.adwords.lib.utils.v201402.ReportDownloader.downloadReport(ReportDownloader.java:93)

 Best,
 Jiri Syrovy



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/dcd8552b-709e-4af2-bf39-6452e3cfc374%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Can RateExceededError happen only for part of operations in case PartialFailure is true

2014-09-24 Thread Anash P. Oommen (AdWords API Team)
Hi Dzmitry,

I haven't seen that happen, though you wouldn't need a special handling for 
RateExceededError in this case. You just need to handle this case like any 
other:

try {
  Make API call
} catch (ex) {
  Pick the operations that failed. (this would be everything when 
partialfailure is not set)
  See if they can be retried. (can be rate exceeedederror, 
policyviolationerror, databaseerror, etc.)
  If yes, keep them. If not, remove them.
  If there is at least one retryable operation, then retry.
}

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Wednesday, September 24, 2014 10:33:33 AM UTC-4, Dzmitry Zahusta wrote:

 Hi all!

 Is it possible that part of operations are performed but the remaining are 
 failed with RateExceededError (in case PartialFailure is true)? I just 
 wondering if this situation should be handled in code.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7dc55df4-5ebb-4502-b2d0-024703bfd06b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Join multiple reports

2014-09-24 Thread Anash P. Oommen (AdWords API Team)
Hi Amit,

You need to join reports at your end, AWQL doesn't support joining reports.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Wednesday, September 24, 2014 3:35:32 AM UTC-4, Amit Pawar wrote:

 Hi Team,

 Can we join the multiple adwords reports ? Using AWQL ? I want to join 
 below reports:

 1. Ad Performance Report
 2. Click Performance Report
 3. Ad Group Performance

 Appreciate your inputs. w:LsdException Locked=false
 ...

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/439519d9-9b01-4415-9ffa-f90c25256c97%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to run auction insights reports using AdWords Script

2014-09-24 Thread Anash P. Oommen (AdWords API Team)
Hi Luis,

This report is not yet supported in AdWords API. 
See https://developers.google.com/adwords/api/docs/appendix/reports for the 
list of reports we support today.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Tuesday, September 23, 2014 8:01:16 PM UTC-4, Luis M. Castañeda wrote:

 I am using the AdWords Scripts to run my reports.

 I want to know how to generate an auction insights reports.

 Is it possible?

 Thanks,

  

 Luis


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5468df08-031f-4179-be64-3a373cda7ac1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: partial errors dosen't work with validate only

2014-09-24 Thread Anash P. Oommen (AdWords API Team)
Hi,

If you can post a request and response xml after removing the credentials, 
I can investigate this further. 

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Wednesday, September 24, 2014 4:02:46 AM UTC-4, anir...@deltax.com wrote:

 Hi,

 im making a call to campaignService mutate. I set partial errors to true 
 and validate only false. It works as expected, no issues. Partial errors 
 are returned, but when partial errors is true and validate only is also 
 true and there are any errors, Adwords returns an exception instead of the 
 response received previously with validate only set to false. Anyone else 
 faced this or is this how it is suppsed to work?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8366f659-d85d-4f73-838b-3e248384d66d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to run search terms report on selected keywords using AdWords Script

2014-09-24 Thread Anash P. Oommen (AdWords API Team)
Hi Luis,

You'd need to run the Search Query Performance report. 
See 
https://developers.google.com/adwords/api/docs/appendix/reports#search-query 
for details.

Cheers,
Anash P. Oommen
AdWords API Advisor.

P.S: Scripts has a separate forum, 
see https://groups.google.com/forum/#!forum/adwords-scripts

On Tuesday, September 23, 2014 8:02:30 PM UTC-4, Luis M. Castañeda wrote:

 I am using the AdWords Scripts to run my reports.

 I want to know how to generate a search terms report on selected keywords.

 Is it possible?

 Thanks,

  

 Luis


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/27551109-bc56-4eb4-bcea-531c275e7942%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: BulkMutateJob WORKFLOW_FAILURE

2014-09-24 Thread Anash P. Oommen (AdWords API Team)
Hi Kinsey,

Thanks for providing the ID, I'll investigate this further at my end. Also, 
a negative id has no special meaning, MJS ids can be in integer (positive 
or negative), that's all.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Monday, September 22, 2014 8:26:06 PM UTC-4, kinsey001 wrote:

 Hi,

 I submitted a few jobs with approx 5000 operations per job. The first job 
 with only 1000 operations worked, but each subsequent job(with 5000 
 ops/per) gives me the following API error:
 WORKFLOW_FAILURE Encountered a workflow system failure.
 I'm not sure how to troubleshoot this further since that is all the 
 information I have. The documentation does not mention anything specific 
 about this.

 Here is 1 of the failed jobIds:
 549690593571029017

 Also,

 What is the significance of a negative job Id? The documentation does not 
 mention anything about this either.

 Thanks,



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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/4619cf3a-2cd5-4e13-91fb-8f761ced81bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: BulkMutateJob WORKFLOW_FAILURE

2014-09-24 Thread Anash P. Oommen (AdWords API Team)
Hi Kinsey,

Your job failed because your developer token is on basic access mode, and 
can handle only 10K operations per day. MJS is meant to handle bulk 
operations, and hence fails the task if it cannot complete it due to a 
quota issue. You can upgrade to standard access 
https://www.google.com/appserve/fb/forms/standardaccess/ for your 
developer token to make sure this API call works.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Wednesday, September 24, 2014 3:43:11 PM UTC-4, Anash P. Oommen (AdWords 
API Team) wrote:

 Hi Kinsey,

 Thanks for providing the ID, I'll investigate this further at my end. 
 Also, a negative id has no special meaning, MJS ids can be in integer 
 (positive or negative), that's all.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Monday, September 22, 2014 8:26:06 PM UTC-4, kinsey001 wrote:

 Hi,

 I submitted a few jobs with approx 5000 operations per job. The first job 
 with only 1000 operations worked, but each subsequent job(with 5000 
 ops/per) gives me the following API error:
 WORKFLOW_FAILURE Encountered a workflow system failure.
 I'm not sure how to troubleshoot this further since that is all the 
 information I have. The documentation does not mention anything specific 
 about this.

 Here is 1 of the failed jobIds:
 549690593571029017

 Also,

 What is the significance of a negative job Id? The documentation does not 
 mention anything about this either.

 Thanks,



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

You received this message because you are subscribed to the Google
Groups AdWords API Forum group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/8d709d8d-36b9-40fc-9d23-dd73df538eec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Campaign Id

2014-09-22 Thread Anash P. Oommen (AdWords API Team)
Hi Conor,

You can also filter for a campaign by adding a predicate, and the field 
names to filter for are here 
https://developers.google.com/adwords/api/docs/appendix/selectorfields. 
E.g. to filter a campaign by its name, you could filter by CampaignName = 
'xxx'.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Monday, September 22, 2014 5:31:00 AM UTC-4, testa...@geeks.ltd.uk wrote:

 Hi All,

 I am new to the AdWords API and need to get my Campaign Id so that I can 
 connect with my account but am having difficulties getting hold of it. I 
 can't find the campaign id anywhere on the AdWords UI (I tried using the 
 number in the query string with key '__c' but no luck).

 How do I get hold of it? One way seems to be to use an AdWordsUser 
 instance to get all the campaigns they are associated with and then 
 filtering by name. The problem with this is that I don't know how to set 
 the instance up correctly; in the examples with the AdWords documentation, 
 they just instantiate a new instance and leave it at that.

 Can anyone help me? If there is more than one way to do this, I would be 
 very grateful for knowing all of them, as I would like to have a better 
 understanding of how AdWords works on the whole.

 Thanks,
 Conor


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/00f30e82-5dd1-46ee-a5db-b7e6e55d0a0a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to find out what changes were made in the past 90 days

2014-09-22 Thread Anash P. Oommen (AdWords API Team)
Hi,

CustomerSyncService is not meant to be used as a change history tracker; it 
is more meant to let you know what objects to sync when syncing between 
your local server and the AdWords server. If you get TOO_MANY_CHANGES 
error, you should either reduce the time period to see if you can get a 
valid response. If this doesn't work, then you should resync the whole 
object.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Sunday, September 21, 2014 3:56:54 PM UTC-4, ddofborg wrote:

 I'm trying to use CustomerSyncService 
 https://developers.google.com/adwords/api/docs/reference/v201406/CustomerSyncService
  
 to find out what was changes in the past 90 days. I don't get it to work, 
 because I aways get [CustomerSyncError.TOO_MANY_CHANGES @ selector]. I 
 mean even one hour on a small campaign.

 What should I do?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a22e7dcb-3ac3-459e-a35e-7b480801b3c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: XmlException / InvalidOperationException Issue

2014-09-22 Thread Anash P. Oommen (AdWords API Team)
Hi Conor,

One common reason for this error is that you don't have the 
maximumErrorResponseLength 
https://github.com/googleads/googleads-dotnet-lib/blob/master/src/AdWords/App.config#L119
 
key in your App.config. By default, .NET framework truncates an error 
response to 64K, which is bad, if the response is an xml - you'd end up 
with a malformed xml. Soap error responses  64K is common in AdWords API.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Friday, September 19, 2014 10:39:11 AM UTC-4, testa...@geeks.ltd.uk 
wrote:

  Hi All,

  

 I am trying to use the AdWords API to upload some images stored locally on 
 my computer to AdWords, but whenever I try, I keep on getting this same 
 error message:

  

 An exception of type 'System.Xml.XmlException' occurred in System.Xml.dll 
 but was not handled in user code

 Additional information: Data at the root level is invalid. Line 1, 
 position 1.

  

 It occurs at this line

  

 adGroupService.mutate(operations.ToArray());

  

 where

  

 operations = new ListAdGroupOperation();

  

 When this moves into the catch block though, which catches just a general 
 Exception, it says InvalidOperationException, response is not well formed 
 XML, as well as data at root level...

  

 I can't figure out what the issue is. I was originally working from a 
 web.config file, which was functioning fine for other purposes. I have run 
 this through an XML validator, and no errors have been found. I tried 
 adding an App.config file as well, as that was also mentioned on the 
 AdWords site, and I read that this error could come from not being able to 
 find the correct file, but I still had the same problem.

  

 Does anyone have any suggestions? It would be fantastic if it would tell 
 me what file this error is supposedly in but I don't know how to get that 
 information.

  

 Thanks,

 Conor
  

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/32e04b8c-a9de-4b67-8472-b4c15e65af8b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: I want to set the sub-type of CampaignService, which API should I use?

2014-09-22 Thread Anash P. Oommen (AdWords API Team)
Hi Zhou,

This feature is not yet available in AdWords API, we plan to make this 
available in a future version of AdWords API.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Friday, September 19, 2014 2:42:40 AM UTC-4, hr zhou wrote:

 It is mentioned that the CampaignService type is set by the 
 advertisingChannelType parameter. But if I want to set the sub-type of 
 CampaignService, which API should I use?


 https://lh3.googleusercontent.com/-PdAfgTDgzHQ/VBvQJycQsjI/ABM/Q0yPPzrU-14/s1600/q2.png
 Thanks,
 ZhouHr


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/20f87667-dd3f-463d-9c6e-851abb5574ef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Developers Token not received

2014-09-22 Thread Anash P. Oommen (AdWords API Team)
Hi Suma,

You would have received an email from AdWords API Token review team when 
you signed up for the token. Please follow up on that email to know the 
progress of your developer token review. While the token is pending, it 
will still work with test accounts.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Friday, September 19, 2014 1:43:10 AM UTC-4, Suma Reddy wrote:

 I have created a test account and linked an existing account.Its been 2 
 weeks but my developer token is still pending. How long will it take??


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b5a024d9-79e9-48a6-a730-753180efe696%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to Capture SOAP messages in.NET Visual Studio

2014-09-22 Thread Anash P. Oommen (AdWords API Team)
Hi Mariusz,

I think the report logs are not written to SOAP logs right now. You'd have 
to look at either the Errors field, or use Fiddler to capture the response. 
I've opened an enhancement request 
at https://github.com/googleads/googleads-dotnet-lib/issues/26 to make sure 
this is addressed in an upcoming release.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Thursday, September 18, 2014 8:50:12 AM UTC-4, Mariusz wrote:

 You can configure it. In the snipped I passed in, the log files are 
 configured to be: 

 C:\Logs\soap_xml.log

 C:\Logs\request_info.log



 Cheers,

 Mariusz

 On Thursday, 18 September 2014 12:05:15 UTC+1, Vandita Chhabaria wrote:

 Ok...And where will be my SOAP xml file ? 

 On Thursday, September 18, 2014 3:52:12 PM UTC+5:30, Mariusz wrote:

 Hi Vandita,

Unfortunately, it is impossible to say what the problem is from 
 attached screenshot. Details are burried in Errors property which you 
 haven't expanded. Can you post information from Errors collection?

If you want to trace SOAP communication, you can use Option 1: Use 
 SOAP logs 
 https://github.com/googleads/googleads-dotnet-lib/wiki/How-to-capture-SOAP-messages#option-1-use-soap-logs.
  
 You only need to change log level from Off to Information, so your 
 app.config will be:

   system.diagnosticssources  source 
 name=AdsClientLibs.SoapXmlLogs
 switchName=AdsClientLibs.SoapXmlLogs
 switchType=System.Diagnostics.SourceSwitchlisteners  
 !-- Modify the initializeData attribute below to control the  
 path to the SOAP XML log file. --  add name=soapXmlLogListener  
   type=System.Diagnostics.TextWriterTraceListener
 initializeData=C:\Logs\soap_xml.log /  remove name=Default / 
/listeners  /source  source 
 name=AdsClientLibs.RequestInfoLogs
 switchName=AdsClientLibs.RequestInfoLogs
 switchType=System.Diagnostics.SourceSwitchlisteners  
 !-- Modify the initializeData attribute below to control the  
 path to the request info log file. --  add 
 name=requestInfoLogListener
 type=System.Diagnostics.TextWriterTraceListener
 initializeData=C:\Logs\request_info.log /  remove 
 name=Default //listeners  /source/sources
 switches  !-- Use this trace switch to control the SOAP XML logs 
 written by Ads*.NET libraries. The default level is set to Off. 
 Logs are generated atboth the Error and Information levels. -- 
  add name=AdsClientLibs.SoapXmlLogs value=Information/  !-- Use 
 this trace switch to control the Request Info logs written byAds* 
 .NET libraries. The default level is set to Off. Logs aregenerated 
 at both the Error and Information levels. --  add 
 name=AdsClientLibs.RequestInfoLogs value=Information//switches  
 /system.diagnostics



 Cheers,

 Mariusz

 On Thursday, 18 September 2014 06:57:40 UTC+1, Vandita Chhabaria wrote:

 Hi Danial,

 All seems good when I am using Test Account and Examples.CSharp.v201406.
 I am able to get Campaigns, Add a campaign.

 But my Requirement is all related to download various Reports using 
 ReportDefinition Service or ReportDefinition.

 I am using Examples.CSharp.v201406.DownloadCriteriaReport to learn How 
 to download reports !

 But I always end up in getting Error :
 {Google.Api.Ads.AdWords.Util.Reports.ReportDownloadError[1]} 
 Inner Exception :
 {Report download errors occurred, see errors field for more details.}

 I have also attached the screenshot of the Exception!

 Please help me out.

 As you said, I also tried to capture SOAP messages for my Application. 
 For that I have downloaded Fiddler but I am not able to configure Fiddler 
 settings in my App.config file and basically how to use that tool to 
 capture SOAPs. I know this problem does not come under Adwords APi, but it 
 will be really a big help for me !

 Thanks !



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

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

Re: How to set mobile carrier to MobileAd ?

2014-09-22 Thread Anash P. Oommen (AdWords API Team)
Hi,

The error you were getting was due to an outdated documentation page, which 
we have updated now. Softbank@JP is no longer supported as a mobile carrier.

Cheers,
Anash

On Wednesday, September 10, 2014 11:17:27 AM UTC-4, Anash P. Oommen 
(AdWords API Team) wrote:

 Hi,

 Thanks for sharing the logs, I have asked the API team to investigate 
 further. I'll keep you updated.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Tuesday, September 9, 2014 10:18:06 PM UTC-4, 照沼領 wrote:

 Hi,

 Thank you for comment.

 This is soap request id.  
 requestId000502ac5deb2bc80a4301ef8f0001dc/requestId

 And I attach soap xml. (partial change)


 Request

 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 soapenv:mustUnderstand=0
 xmlns:ns1=https://adwords.google.com/api/adwords/cm/v201402
 
 ns1:clientCustomerId xxx /ns1:clientCustomerId
 ns1:developerToken x /ns1:developerToken
 ns1:userAgent  /ns1:userAgent
 ns1:validateOnlyfalse/ns1:validateOnly
 ns1:partialFailuretrue/ns1:partialFailure
 /ns1:RequestHeader
 /soapenv:Header
 soapenv:Body
 mutate
 xmlns=https://adwords.google.com/api/adwords/cm/v201402;
 operations
 operatorADD/operator
 operand
 adGroupId adgroup id /adGroupId
 ad xsi:type=ns2:MobileAd
 xmlns:ns2=
 https://adwords.google.com/api/adwords/cm/v201402;
 ns2:urlhttp://www.dummy.co.jp//ns2:url
 ns2:displayUrldummy.co.jp/ns2:displayUrl
 
 ns2:headline#x30BF;#x30A4;#x30C8;#x30EB;3/ns2:headline
 
 ns2:description#x8AAC;#x660E;#x5206;3/ns2:description
 ns2:markupLanguagesCHTML/ns2:markupLanguages
 ns2:mobileCarriersNTT 
 DoCoMo@JP/ns2:mobileCarriers
 
 ns2:mobileCarriersSoftBank@JP/ns2:mobileCarriers
 /ad
 statusPAUSED/status
 /operand
 /operations
 operations
 operatorADD/operator
 operand
 adGroupId adgroup id /adGroupId
 ad xsi:type=ns3:MobileAd
 xmlns:ns3=
 https://adwords.google.com/api/adwords/cm/v201402;
 ns3:urlhttp://www.dummy.co.jp//ns3:url
 ns3:displayUrldummy.co.jp/ns3:displayUrl
 
 ns3:headline#x30BF;#x30A4;#x30C8;#x30EB;2/ns3:headline
 
 ns3:description#x8AAC;#x660E;#x5206;3/ns3:description
 ns3:markupLanguagesCHTML/ns3:markupLanguages
 
 ns3:mobileCarriersSoftBank@JP/ns3:mobileCarriers
 /ad
 statusPAUSED/status
 /operand
 /operations
 operations
 operatorADD/operator
 operand
 adGroupId adgroup id /adGroupId
 ad xsi:type=ns4:MobileAd
 xmlns:ns4=
 https://adwords.google.com/api/adwords/cm/v201402;
 ns4:urlhttp://www.dummy.co.jp//ns4:url
 ns4:displayUrldummy.co.jp/ns4:displayUrl
 
 ns4:headline#x30BF;#x30A4;#x30C8;#x30EB;1/ns4:headline
 
 ns4:description#x8AAC;#x660E;#x5206;1/ns4:description
 ns4:markupLanguagesCHTML/ns4:markupLanguages
 ns4:mobileCarriersNTT 
 DoCoMo@JP/ns4:mobileCarriers
 
 ns4:mobileCarriersKDDI/au@JP/ns4:mobileCarriers
 /ad
 statusPAUSED/status
 /operand
 /operations
 /mutate
 /soapenv:Body
 /soapenv:Envelope

 Response

 soap:Envelope
 xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;
 soap:Header
 ResponseHeader
 xmlns=https://adwords.google.com/api/adwords/cm/v201402;
 requestId000502ac5deb2bc80a4301ef8f0001dc/requestId
 serviceNameAdGroupAdService/serviceName
 methodNamemutate/methodName
 operations0/operations
 responseTime1846/responseTime
 /ResponseHeader
 /soap:Header
 soap:Body
 mutateResponse
 xmlns=https://adwords.google.com/api/adwords/cm/v201402;
 rval
 
 ListReturnValue.TypeAdGroupAdReturnValue/ListReturnValue.Type
 value/
 value/
 value
 adGroupId adgroup id /adGroupId
 ad xsi:type

<    1   2   3   4   5   6   7   8   9   10   >