Re: Test Account and API Terms and Conditions

2015-04-09 Thread Guadalupe Estrada Flores
I created a MCC production account [717-493-2230] and requested a 
programmer token, and then created a MCC test account [571-682-5659], into 
this test account created 2 fake client adwords accounts [845-069-4504 and 
949-902-1481], however when I try to use API to get Campaigns from adwords 
client account [845-069-4504] with  it keeps throwing 
QuotaCheckError.TERMS_AND_CONDITIONS_NOT_SIGNED. I thought it was because I 
had not set billing information to that account, so I put it, thinking I 
wouldn't be charged, because it was a TESTING account, but to my surprise, 
I was charged right away, and sadly I still haven't found the problem yet, 
because adding the billing information and accepting the TOCs didn't help 
at all.
You really should make better documentation, because this is driving me 
crazy.



On Tuesday, April 7, 2015 at 4:23:32 PM UTC-5, Ram wrote:
>
> Hi, 
> I am trying to understand the Adwords API using the test account. From the 
> details mentioned at 
> https://developers.google.com/adwords/api/docs/test-accounts it appears 
> that I need to accept the terms and conditions (*Warning:* You *must* 
> accept the AdWords API Terms and Conditions in your production MCC account 
> in order to use the developer token to make requests. Failure to accept the 
> Terms and Condition will produce *INCOMPLETE_SIGNUP* 
> 
>  
> errors). However in the mail I received to the Prod MCC account it is 
> mentioned like "Please apply for a *test account* 
> . *DO NOT 
> fill out this form if you just want to use the API for testing*.") Both 
> the statements are contradicting. Can you please advice on this. 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/80c14bcd-5d79-481d-b82c-c6f5abe9ecb2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Retrieve campaign name and adgroup name for all keywords?

2015-04-09 Thread Aditya
Thanks so much, I completely missed the Reporting section! This definitely 
makes things easier.

On Thursday, April 9, 2015 at 1:57:32 PM UTC-7, Josh Radcliff (AdWords API 
Team) wrote:
>
> Hi,
>
> For your use case, I'd highly recommend looking into using Structure 
> Reports 
>  
> instead. 
> For example, you could run a KEYWORDS_PERFORMANCE_REPORT 
>  to 
> quickly pull all of the fields you mentioned in a single request.
>
> Cheers,
> Josh, AdWords API Team
>
> On Thursday, April 9, 2015 at 4:40:25 PM UTC-4, Aditya wrote:
>>
>> So if I understand the examples and documentation correctly, the 
>> following bit of code should be a pretty efficient way to retrieve all the 
>> keywords (criterion? as the technical term I guess) within a campaign:
>>
>> Selector selector = builder.fields("Id", "AdGroupId", "KeywordMatchType", 
>> "KeywordText").orderAscBy("AdGroupId").offset(offset).limit(PAGE_SIZE
>> ).in("CampaignId", campaignID.toString()).equals("CriteriaType", 
>> "KEYWORD").build();
>>
>> Note that I've passed in a Long campaignID. Then you have an 
>> adGroupCriterionService get the selector, and then use AdGroupCriterionPage 
>> to go through all the AdGroupCriterion results. My question is whether 
>> there is an efficient way to retrieve the campaign name and ad group name 
>> for each keyword (I want to build a large json object that looks like 
>> {"keyword":"text" , "adGroupName" : "name" , "campaignName":"name" } , { 
>> keyword ... } etc.)
>>
>> I current make one API call as shown above that gets all the keywords in 
>> a campaign. But then it seems that I have to make individual get requests 
>> for each keyword to get its adgroup name and its campaign name (this part 
>> is accomplished with an AdGroupService, that returns an AdGroup object when 
>> looking up an AdGroupId.) The problem is that doing the AdGroup lookup for 
>> each keyword (since the criterion result only lets you get an adgroupID, 
>> not an adGroupName), means that we'll be making an API call for each 
>> keyword. Obviously this is very expensive and it's causing us to hit our 
>> API usage limit (basic access).
>>
>> Please let me know if I've missed something. Essentially I want to 
>> retrieve campaign name, ad group name, and keyword text for all keywords in 
>> a campaign. It seems relatively easy to get the IDs for some of these, but 
>> my understanding is that it'll take thousands of API calls to get the names 
>> from IDs if the client has thousands of keywords.
>>
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b7063744-d50d-4151-a08c-81832993805f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AD_PERFORMANCE_REPORT vs Display Ads in "Ads in mobile apps" campaigns

2015-04-09 Thread Josh Radcliff (AdWords API Team)
Hi,

Have you tried using *ImageCreativeName* and/or *ImageAdUrl*? The *Headline* 
field 
corresponds to the headline attribute of TextAd 
,
 
so it won't be populated if the ad is not of type *TextAd*.

Regarding the blank *AdType* field, could you send over a sample ad group 
ID and ad ID I could investigate?

Thanks,
Josh, AdWords API Team

On Wednesday, April 8, 2015 at 7:37:41 PM UTC-4, Kristopher Windsor wrote:
>
> Hi,
>
> I have found that Display Ads -- the ads in campaigns with subtype "Ads in 
> mobile apps" -- do not appear correctly in this report.
>
> I am using the AD_PERFORMANCE_REPORT report via v201409, php, CSV format.
>
>- Text Display Ads -- the headline is:  
> *Display Ad created 9/15/14 - Play With Millions *Instead of just:
>*Play With Millions*
>- Image Display Ads -- the Ad type is blank (not "Image ad" or 
>"Display ad")
>
> Is this expected? How should I get the actual headline for text Display 
> ads, and figure out which ads are image Display ads?
>
> 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/6d613b97-0645-4ca0-b04f-afb6e9d6489f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Retrieve campaign name and adgroup name for all keywords?

2015-04-09 Thread Josh Radcliff (AdWords API Team)
Hi,

For your use case, I'd highly recommend looking into using Structure Reports 
 
instead. 
For example, you could run a KEYWORDS_PERFORMANCE_REPORT 
 to 
quickly pull all of the fields you mentioned in a single request.

Cheers,
Josh, AdWords API Team

On Thursday, April 9, 2015 at 4:40:25 PM UTC-4, Aditya wrote:
>
> So if I understand the examples and documentation correctly, the following 
> bit of code should be a pretty efficient way to retrieve all the keywords 
> (criterion? as the technical term I guess) within a campaign:
>
> Selector selector = builder.fields("Id", "AdGroupId", "KeywordMatchType", 
> "KeywordText").orderAscBy("AdGroupId").offset(offset).limit(PAGE_SIZE).in(
> "CampaignId", campaignID.toString()).equals("CriteriaType", "KEYWORD"
> ).build();
>
> Note that I've passed in a Long campaignID. Then you have an 
> adGroupCriterionService get the selector, and then use AdGroupCriterionPage 
> to go through all the AdGroupCriterion results. My question is whether 
> there is an efficient way to retrieve the campaign name and ad group name 
> for each keyword (I want to build a large json object that looks like 
> {"keyword":"text" , "adGroupName" : "name" , "campaignName":"name" } , { 
> keyword ... } etc.)
>
> I current make one API call as shown above that gets all the keywords in a 
> campaign. But then it seems that I have to make individual get requests for 
> each keyword to get its adgroup name and its campaign name (this part is 
> accomplished with an AdGroupService, that returns an AdGroup object when 
> looking up an AdGroupId.) The problem is that doing the AdGroup lookup for 
> each keyword (since the criterion result only lets you get an adgroupID, 
> not an adGroupName), means that we'll be making an API call for each 
> keyword. Obviously this is very expensive and it's causing us to hit our 
> API usage limit (basic access).
>
> Please let me know if I've missed something. Essentially I want to 
> retrieve campaign name, ad group name, and keyword text for all keywords in 
> a campaign. It seems relatively easy to get the IDs for some of these, but 
> my understanding is that it'll take thousands of API calls to get the names 
> from IDs if the client has thousands of keywords.
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/52c1e359-ef46-460b-a2c2-e59767a280b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Getting All Keyword Statistics

2015-04-09 Thread Josh Radcliff (AdWords API Team)
Hi,

For all performance statistics and metrics, you now must use the reporting 
features of the API. Stats are no longer part of the objects returned by 
the SOAP services.

Check out our Reporting Basics guide 
 for more 
details. Based on your use case, you'll probably want to use the 
KEYWORDS_PERFORMANCE_REPORT 
 
once you're ready to make your reporting requests.

Thanks,
Josh, AdWords API Team

On Thursday, April 9, 2015 at 12:41:20 PM UTC-4, Kurian George wrote:
>
> I am trying to get the the keyword statistics for all the keywords in a 
> campaign. I am trying to get for each keyword impressions, clicks and cost 
> from Ad words per campaign. In old API version we could 
> use AdGroupCriterionService for getting this information. But i was not 
> able to get how to retrieve this data using the new API. Can any one guide 
> me which service i have to use to get this data.
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a66d4d20-6964-4663-ae6f-95883f467be7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Finals URLs in structure reports

2015-04-09 Thread Josh Radcliff (AdWords API Team)
Hi,

First of all, thanks for attending the API Workshops!

Regarding final URLs (and final mobile and app URLs), I've got good news: 
we added these fields to several reports recently. Check out our Report 
Types page  
and 
look for reports that include *FinalUrls, FinalAppUrls,* *FinalMobileUrls, 
TrackingUrlTemplate, *and* UrlCustomParameters*. Note that on the 
AD_PERFORMANCE_REPORT, these fields are prefixed with *Creative*.

On each report, each *FinalXXXUrls* field is of type *List*, so you'll get 
back a semicolon (;) separated list of URLs for those fields. The 
*UrlCustomParameters* field will behave in a similar fashion. The 
*TrackingUrlTemplate* field is simply a *String*, since a given object can 
have only one tracking template.

Cheers,
Josh, AdWords API Team

On Thursday, April 9, 2015 at 11:41:26 AM UTC-4, Zweitze wrote:
>
> When I visited the AdWords API Workshop in Hamburg, the speaker mentioned 
> that ads, keywords etc. not have just one final URL for desktop, and just 
> one final URL for mobile, but they have in fact multiple URLs. Apparently 
> they can be used for A/B testing.
>
> According to the speaker, reports (like ad reports) do not support 
> multiple final URLs. That is, they only report one of the URLs. But this 
> will be fixed one day.
>
> My question is what the fix will look like. I see different 
> implementations, for instance:
> - Structure reports have multiple rows, one for each Final URL / ad 
> combination.
> - Structure reports have one row for every ad, the Final URL field may 
> contain multiple URLs, separated by a certain character.
> - Structure reports will not support final URLs, software must use 
> AdGroupAdService and others to retrieve all URLs for all ads and keywords.
>
> These implementations have big differences, so I prefer to know what the 
> solution will look like in advance.
>
> Note: I understand that plans may change etc.etc. But I am not looking for 
> a commitment from Google, I only want an idea how Google will deal with 
> this situation. Still, if Google does not want to disclose the plans 
> publicly, mail me personally and include any disclaimer you see fit.
>
>
> Thanks 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/d30deacb-1681-4b92-891e-f970ec842b18%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: using reports in v201502

2015-04-09 Thread Josh Radcliff (AdWords API Team)
Hi,

You can exclude various lines in the output by setting headers in your 
request. Please see our Reporting Basics guide 

 for 
the list of available headers and options.

Also, you may want to check out our aw-reporting project on github 
. It's designed specifically for 
the use case you described.

Cheers,
Josh, AdWords API Team

On Thursday, April 9, 2015 at 9:47:07 AM UTC-4, Marcin Gdak wrote:
>
> Hi,
>
> I would like to take data down from reports to my database.
> I'm download and I'm showing data in the CSV format and is converting on 
> String.
> How to get rid of the header and the footer?
> How to create the object from this data?
> I'm using API version 201502 
>
>
> http://googleadsdeveloper.blogspot.com/2014/10/new-to-adwords-api-excluding-headers.html
> https://developers.google.com/adwords/api/docs/guides/structure-reports
>
>
> I read that there is such possibility, but I don't know how to apply it in 
> practice.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6a4b8fdf-3e65-4b9e-b002-cc6b1849ae12%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: LocationExtensionOperand with GeoTargetOperand causing connection to hang up.

2015-04-09 Thread Josh Radcliff (AdWords API Team)
Hi,

The API does not support targeting a proximity around your location 
extensions *with an additional limitation on the location*. The only 
location extension-related targeting that's supported is to target a 
proximity around your location extensions with no additional limitations. 
See lines 133-145 of our AddCampaignTargetingCriteria example 

.

Thanks,
Josh, AdWords API Team

On Thursday, April 9, 2015 at 11:32:59 AM UTC-4, Edward Grave wrote:
>
> I am now getting this response having resolved the connection issue:
>
> Request:
>
> http://schemas.xmlsoap.org/soap/envelope/"; 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";>  
> https://adwords.google.com/api/adwords/cm/v201502";> 
>  MyCustID  
> MyDevToken  
> MyAgent
>  xmlns="https://adwords.google.com/api/adwords/cm/v201502";>
>   ADD  
> 293088684   xsi:type="LocationGroups">  
> AND   xsi:type="LocationExtensionOperand">  
> LONG  MILES  
> 20   
>  
> 2826  
> 
>   
>  
>
> Response: xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>  
> https://adwords.google.com/api/adwords/cm/v201502";>
>   0005134c51aac2c80ac45d8a42bb  
> CampaignCriterionService  
> mutate  0  
> 249
>   soap:Server  
> [FunctionError.INVALID_OPERATOR @ 
> operations[0].operand.criterion.matchingFunction, 
> FunctionError.INVALID_NUMBER_OF_OPERANDS @ 
> operations[0].operand.criterion.matchingFunction.rhsOperand]
>xmlns="https://adwords.google.com/api/adwords/cm/v201502";>  
> [FunctionError.INVALID_OPERATOR @ 
> operations[0].operand.criterion.matchingFunction, 
> FunctionError.INVALID_NUMBER_OF_OPERANDS @ 
> operations[0].operand.criterion.matchingFunction.rhsOperand]
>   ApiException 
>  http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="FunctionError">
> operations[0].operand.criterion.matchingFunction   
>  
> FunctionError.INVALID_OPERATOR
> FunctionError
> INVALID_OPERATOR xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="FunctionError">
> operations[0].operand.criterion.matchingFunction.rhsOperand
> 
> FunctionError.INVALID_NUMBER_OF_OPERANDS   
>  FunctionError
> INVALID_NUMBER_OF_OPERANDS  
> 
> 
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3b7cc51b-0a05-494a-b164-675699016bb5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Retrieve campaign name and adgroup name for all keywords?

2015-04-09 Thread Aditya
So if I understand the examples and documentation correctly, the following 
bit of code should be a pretty efficient way to retrieve all the keywords 
(criterion? as the technical term I guess) within a campaign:

Selector selector = builder.fields("Id", "AdGroupId", "KeywordMatchType", 
"KeywordText").orderAscBy("AdGroupId").offset(offset).limit(PAGE_SIZE).in(
"CampaignId", campaignID.toString()).equals("CriteriaType", "KEYWORD"
).build();

Note that I've passed in a Long campaignID. Then you have an 
adGroupCriterionService get the selector, and then use AdGroupCriterionPage 
to go through all the AdGroupCriterion results. My question is whether 
there is an efficient way to retrieve the campaign name and ad group name 
for each keyword (I want to build a large json object that looks like 
{"keyword":"text" , "adGroupName" : "name" , "campaignName":"name" } , { 
keyword ... } etc.)

I current make one API call as shown above that gets all the keywords in a 
campaign. But then it seems that I have to make individual get requests for 
each keyword to get its adgroup name and its campaign name (this part is 
accomplished with an AdGroupService, that returns an AdGroup object when 
looking up an AdGroupId.) The problem is that doing the AdGroup lookup for 
each keyword (since the criterion result only lets you get an adgroupID, 
not an adGroupName), means that we'll be making an API call for each 
keyword. Obviously this is very expensive and it's causing us to hit our 
API usage limit (basic access).

Please let me know if I've missed something. Essentially I want to retrieve 
campaign name, ad group name, and keyword text for all keywords in a 
campaign. It seems relatively easy to get the IDs for some of these, but my 
understanding is that it'll take thousands of API calls to get the names 
from IDs if the client has thousands of keywords.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/dbc1d142-1ecd-4d8f-9e41-7d4b456f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: INVALID_PROXIMITY_ADDRESS occurs for valid data episodically

2015-04-09 Thread Josh Radcliff (AdWords API Team)
Hi,

Thanks for sending over more examples. I've passed these along to the team 
that's looking into this issue.

Cheers,
Josh, AdWords API Team

On Tuesday, April 7, 2015 at 2:02:57 AM UTC-4, Dzmitry Zahusta wrote:
>
> Hi,
>
> This happen again for 
>
> 'Santa Rosa,California,United States'
> 'Blue Ridge,Georgia,United States'
> 'Villa Rica,Georgia,United States'
> 'Alcoa,Tennessee,United States'
>
> среда, 25 марта 2015 г., 19:01:52 UTC+3 пользователь Josh Radcliff 
> (AdWords API Team) написал:
>>
>> Hi,
>>
>> Thanks for sending over more examples. This time I was able to find the 
>> request IDs for your requests.
>>
>> I reported this issue to the engineering team and provided your request 
>> IDs. I'll post back here as soon as I have an update.
>>
>> Thanks,
>> Josh, AdWords API Team
>>
>> On Wednesday, March 25, 2015 at 2:44:04 AM UTC-4, Dzmitry Zahusta wrote:
>>>
>>> Hi,
>>>
>>> The same issue again with:
>>>
>>>
>>>- 98801,Washington,United States
>>>- San Leandro,California,United States
>>>- Post Falls,Idaho,United States
>>>- Knoxville,Tennessee,United States
>>>
>>> As always - if you resubmit these addresses again later, it will work 
>>> with no errors.
>>> Let's start investigating it...
>>>
>>> среда, 18 марта 2015 г., 0:40:37 UTC+3 пользователь Josh Radcliff 
>>> (AdWords API Team) написал:

 Hi,

 Thanks for sending over the new addresses where you saw this issue. 
 I'll see if I can track down more information on the requests that failed 
 and get back to you.

 Cheers,
 Josh, AdWords API Team

 On Tuesday, March 17, 2015 at 3:08:08 AM UTC-4, Dzmitry Zahusta wrote:
>
> The problem still persist. I reworked the code to get GeoPoint 
> byGeoLocationService 
>
> GeoLocationSelector selector = new GeoLocationSelector();
> selector.setAddresses(addresses.toArray(new Address[0]));
> GeoLocation[] geoLocationResult = geoLocationService.get(
> selector);
>
> And I see in logs that for the following addresses:
>
>- Augusta,Georgia,United States
>- 30909,Georgia,United States
>
> The code returns InvalidGeoLocation with geoPoint = null.
> After repeating code a bit later with the same data all is working in 
> a right way
>
> As I can not provide you request Ids because I'm submitting data by 
> Java API which information can help you to investigate the issue? 
>
> вторник, 10 марта 2015 г., 18:14:33 UTC+3 пользователь Josh Radcliff 
> (AdWords API Team) написал:
>>
>> Hi,
>>
>> At the moment, you would have to get them from your SOAP logs. We 
>> have an open issue for improving the capture of request IDs in the 
>> library .
>>
>> Thanks,
>> Josh, AdWords API Team
>>
>> On Tuesday, March 10, 2015 at 9:43:11 AM UTC-4, Dzmitry Zahusta wrote:
>>>
>>> Hi,
>>>
>>> I've already changed my logic to what you mentioned (set geoPoint 
>>> together with Address object). 
>>> but can you please clarify how I can get request IDs in Java code?
>>>
>>> вторник, 10 марта 2015 г., 16:10:33 UTC+3 пользователь Josh Radcliff 
>>> (AdWords API Team) написал:

 Hi,

 I've tried reproducing this behavior multiple times but in all 
 cases the address you provided is accepted.

 One thing you may want to do is use GeoLocationService 
 
  
 to first validate your *address*. This will give you back a 
 *GeoLocation* if the address is valid, whose geoPoint 
 
  
 you can then use in your Proximity object 
 
  instead 
 of the address. If the address is invalid, it will give you back an 
 InvalidGeoLocation 
 
  
 object.

 If you see this inconsistency again, please capture the request IDs 
 of the failed requests and send them over.

 Cheers,
 Josh, AdWords API Team

 On Monday, March 9, 2015 at 11:38:25 AM UTC-4, Dzmitry Zahusta 
 wrote:
>
> Yep, you are right but it's just typo in my example. In reality 
> all is set in a right way.
>
> понедельник, 9 марта 2015 г., 18:28:52 UTC+3 пользователь Josh 
> Radcliff (AdWords API Team) написал:
>>
>> Hi,
>>
>> I just noticed that in 

Re: CAMPAIGN_NEGATIVE_KEYWORDS_PERFORMANCE_REPORT returns error with campaign status predicate

2015-04-09 Thread John Pickard
Got a response, in case anyone else runs into this:

The *CampaignStatus* field is not available 
> in CAMPAIGN_NEGATIVE_KEYWORDS_PERFORMANCE_REPORT, which is why filtering by 
> that field on that report fails. Please see the list of report fields here 
> 
> .
>
> In contrast, the *CampaignStatus* field *is* available in 
> ADGROUP_PERFORMANCE_REPORT 
> ,
>  
> so that request succeeds.
>
> For a complete list of fields on all reports, see the Report Types page 
> .  
>

This appears to be something that was "fixed" in v201502. Before we 
upgraded, we could send CampaignStatus predicates for the 
CAMPAIGN_NEGATIVE_KEYWORDS_PERFORMANCE_REPORT 
and would get a report back. After the upgrade, these report requests would 
fail.

 

>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fc51eb0c-6800-472d-9512-c30be603a246%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Lifetime of a refresh token

2015-04-09 Thread Hao Li
Thanks for replying. The reason I asked this question is we met the error 
"AuthorizationError.USER_PERMISSION_DENIED" 
when using access tokens to pull reports from AW. It is weird, because it 
worked before. After we got and used a new refresh token, the error is 
gone. Hence, we suspect somehow the old refresh token is void. We want to 
know its root cause so that it can be avoided in future. Can you help us to 
find the root cause? 

BTW, can you explain how user revokes access? 

On Friday, April 3, 2015 at 12:38:04 PM UTC-7, Nadine Sundquist (AdWords 
API Team) wrote:
>
> Hi,
>
> Our OAuth 2.0 Authentication guide 
> 
>  provides 
> information on access and refresh tokens. An OAuth 2.0 refresh token does 
> not expire. Refresh tokens are valid until the user revokes access.
>
> Regards,
> Nadine, AdWords API Team
>
> On Friday, April 3, 2015 at 3:03:14 PM UTC-4, Hao Li wrote:
>>
>> Hello, 
>>
>> We are using OAuth2.0 to pull reports from Adwords. We wonder if a 
>> refresh token is always valid after it is granted. If not, in what kind of 
>> conditions a refresh token become invalid? 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/0b6e1641-a212-4175-9503-5012c95adf5b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Как установить отбор по группе объявлений для сервиса AdGroupFeedService?

2015-04-09 Thread Danial Klimkin
Добрый день,


Используйте предикат AdGroupId (case-sensitive), или селектор со страницами 
(paging).


-Даниил, команда AdWords API.


On Thursday, April 9, 2015 at 12:54:42 PM UTC+3, sneus...@treto.ru wrote:
>
> Добрый день!
> У меня стоит задача выбора данных из AdGroupFeedService, но т.к. выбрать 
> больше 1 записей нельзя, нужно тогда как-то ограничить условием запрос 
> на получение данных.
> Например можно получать по определенной группе объявлений, но как это 
> сделать?
>
> пробую так:
> 
> http://schemas.xmlsoap.org/soap/envelope/"; 
> xmlns:v20="https://adwords.google.com/api/adwords/cm/v201409";>
>
>   
>   ххх-ххх-
>   ххх
>   1cAdWords
>   false
>   false
>
>
>
>   
>  
> MatchingFunction
> 
> adGroupId
> EQUALS
> 10281078213
> 
>  
>   
>
> 
>
> получаю ошибку:
> [SelectorError.INVALID_PREDICATE_FIELD_NAME @ selector; 
> trigger:'adGroupId']
>
> Т.е. не верное имя 'adGroupId', как верноуказать имя или как сделать отбор 
> по группе объявлений?
> Спасибо!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/02f9461d-f800-4d2f-84be-3e2907c8f0bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Любые запросы к сервисам AdWords возвращают не более 10000 строк

2015-04-09 Thread Danial Klimkin
Дополню:

1 -- ограничение на одну страницу. Постранично, можно получить до 
11 элементов.


-Даниил.


On Thursday, April 9, 2015 at 7:46:44 PM UTC+3, Danial Klimkin wrote:
>
> Добрый день,
>
>
> Да, это ограничение описано здесь:
>
>   https://developers.google.com/adwords/api/docs/appendix/limits#general
>
> Оно не относится к отчетам, отчеты возвращают все подходящие строки.
>
>
> -Даниил, команда AdWords API.
>
>
> On Thursday, April 9, 2015 at 9:21:01 AM UTC+3, sneus...@treto.ru wrote:
>>
>> Добрый день!
>> Почему любые запросы к сервисам AdWords возвращают не более 1 записей 
>> тех или иных объектов.
>> Выходит, что у меня методом get() выбираются не все данные, обрезаются на 
>> 1 элементе.
>> Как быть? Это общее ограничение на запросы в AdWords ?
>> Спасибо!
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2018cbbd-7c00-4ba9-8a9d-8b84ae49cf90%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Любые запросы к сервисам AdWords возвращают не более 10000 строк

2015-04-09 Thread Danial Klimkin
Добрый день,


Да, это ограничение описано здесь:

  https://developers.google.com/adwords/api/docs/appendix/limits#general

Оно не относится к отчетам, отчеты возвращают все подходящие строки.


-Даниил, команда AdWords API.


On Thursday, April 9, 2015 at 9:21:01 AM UTC+3, sneus...@treto.ru wrote:
>
> Добрый день!
> Почему любые запросы к сервисам AdWords возвращают не более 1 записей 
> тех или иных объектов.
> Выходит, что у меня методом get() выбираются не все данные, обрезаются на 
> 1 элементе.
> Как быть? Это общее ограничение на запросы в AdWords ?
> Спасибо!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3d75b754-765f-4950-86f4-92653392d714%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


AdError.URL_NOT_EQUIVALENT

2015-04-09 Thread googleadwords2
Hi there, 

I have ads under adgroup having destination url something like this: 
http://www.example.com. I want to add value track parameters to each ads. 
so final url should be 
http://www.example.com?ad={creative}&keyword={keyword}. 

To accomplish it, i have Upgraded Url feature however its always giving me 
an error 
An API exception has occurred. See ApiException and InnerException fields 
for more details.System.Web.Services.Protocols.SoapException: 
[AdError.URL_NOT_EQUIVALENT @ operations[0]]

*Below C# code i am using:*
 foreach (AdGroupAd ad in ads) {
AdUrlUpgrade upgrade = new AdUrlUpgrade() {
adId = ad.ad.id,
finalUrl = "http://www.example.com";,
trackingUrlTemplate = 
"{lpurl}?ad={creative}&keyword={keyword}"
};
operations.Add(upgrade);
  }
   service.upgradeUrl(operations.ToArray());

However when i tried having same url "http://www.example.com"; into finalUrl 
and trackingUrlTemplate it went successfully but when i tried having 
"http://www.example.com?ad={creative}&keyword={keyword}"; to both, it 
failed. 

Please suggest.

Thanks,
Hiten

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5ed11cee-86ad-4d4c-a995-c2ed0320d344%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Error signing terms and conditions

2015-04-09 Thread admin
Good morning,

I have experienced an error while signing the terms and conditions through 
the Google MCC account settings area. I filled in the information correctly 
and used a company card however on completion an error message was 
displayed simply telling me that there was an issue and that it had been 
forwarded to the engineering team. The issue is that since I have exited 
this screen I cannot access the terms of agreement again and if I attempt 
to access the API with the "pending" status developer key with a test 
account I am given an error stating that I have not signed the terms of 
agreement.

Is there anything anybody can do to guide me? I have been given a developer 
key however the fact I cannot access the API with a test account makes me 
doubt that the application will ever be processed given there was an error 
and this is not an error the documentation said that I would encounter.

Thank you in advance,

Byron.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2fe5bcd3-1061-4cd4-8fee-85ea580f0f88%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Fetch all campaigns for all accounts w/o iterating thru accounts?

2015-04-09 Thread Danial Klimkin
Hello,


Yes, you can use CustomerService to find out the effective clientCustomerId 
and then ManagedCustomerService to retrieve the accounts list.

Please note this will pull data for the authenticated user, no the 
developer token MCC. You can't target an account with a dev token.


-Danial, AdWords API Team.


On Thursday, April 9, 2015 at 6:57:51 PM UTC+3, sa...@nmodal.com wrote:
>
> I just wanted to clarify. Is it possible to get a list of accounts without 
> including a customer ID..? Or rather get a list of customer IDs linked to a 
> developer token? 
>
> On Wednesday, April 23, 2014 at 2:23:05 AM UTC-4, Oliver wrote:
>>
>> It's not possible to do it how you want it. You need to iterate through 
>> each account. Here is a similar discussion (check last few posts):
>>
>> https://groups.google.com/forum/#!topic/adwords-api/6_se0m7g1v8
>>
>> Oliver
>>
>> On Tuesday, April 22, 2014 7:27:12 PM UTC+1, Jake Wilson wrote:
>>>
>>> We have multiple accounts in our MMC.  Right now, in order to fetch a 
>>> list of campaigns, it's on a per-account basis.  That is, we have to 
>>> specify which account we want to fetch campaigns for:
>>>
>>> $user = new AdWordsUser();
>>> $user->setClientCustomerId($accountId);
>>>
>>> $campaignService = $user->GetService('CampaignService', ADWORDS_VERSION);
>>>
>>> $selector = new Selector();
>>> $selector->fields = array(
>>> 'Id',
>>> 'Name',
>>> 'Status',
>>> etc...
>>>
>>> So this means, that if we want to get a list of ALL campaigns for our 
>>> MMC, we have to iterate through each account, and get the campaigns for 
>>> each account, thus requiring multiple calls to the API.
>>>
>>> Is it possible to fetch all campaigns at once?
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/bcd56297-3b3f-49f4-b524-c03fe547c882%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Getting All Keyword Statistics

2015-04-09 Thread Kurian George
I am trying to get the the keyword statistics for all the keywords in a 
campaign. I am trying to get for each keyword impressions, clicks and cost 
from Ad words per campaign. In old API version we could 
use AdGroupCriterionService for getting this information. But i was not 
able to get how to retrieve this data using the new API. Can any one guide 
me which service i have to use to get this data.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e15a163c-cd32-4c17-8626-0be26eb2e8b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Testing Upgraded URLs

2015-04-09 Thread HK
Hi, Anash

Getting your ads to serve with a live account isn't always that easy when 
you are developing. It means you need a live account with everything set up 
correctly and you have to pay Google for every click you make while 
testing. I really hope Google will consider building a test UI soon where 
developers can force ads to serve without going through all the before 
mentioned work. Especially now that the simplicity of destination URLs is 
gone and many more factors come into play in building the URL the user ends 
up triggering.

Thanks,
Hans

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

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


Re: Fetch all campaigns for all accounts w/o iterating thru accounts?

2015-04-09 Thread saif
I just wanted to clarify. Is it possible to get a list of accounts without 
including a customer ID..? Or rather get a list of customer IDs linked to a 
developer token? 

On Wednesday, April 23, 2014 at 2:23:05 AM UTC-4, Oliver wrote:
>
> It's not possible to do it how you want it. You need to iterate through 
> each account. Here is a similar discussion (check last few posts):
>
> https://groups.google.com/forum/#!topic/adwords-api/6_se0m7g1v8
>
> Oliver
>
> On Tuesday, April 22, 2014 7:27:12 PM UTC+1, Jake Wilson wrote:
>>
>> We have multiple accounts in our MMC.  Right now, in order to fetch a 
>> list of campaigns, it's on a per-account basis.  That is, we have to 
>> specify which account we want to fetch campaigns for:
>>
>> $user = new AdWordsUser();
>> $user->setClientCustomerId($accountId);
>>
>> $campaignService = $user->GetService('CampaignService', ADWORDS_VERSION);
>>
>> $selector = new Selector();
>> $selector->fields = array(
>> 'Id',
>> 'Name',
>> 'Status',
>> etc...
>>
>> So this means, that if we want to get a list of ALL campaigns for our 
>> MMC, we have to iterate through each account, and get the campaigns for 
>> each account, thus requiring multiple calls to the API.
>>
>> Is it possible to fetch all campaigns at once?
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/bfca8513-9b32-44c8-8139-6eda42817046%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AdWords Reports Predicates API

2015-04-09 Thread Saif Mahamood
That clears it up. Thank you very much.

On Thu, Apr 9, 2015 at 11:30 AM, Thanet Knack Praneenararat (AdWords API
Team)  wrote:

> Hi,
>
> What do you mean by "get the specific parameters of each report"?
> I cannot understand your meaning clearly.
>
> As for your more information, you can refer to the code example here
> 
> (Java) about how the getReportFields can be used.
>
> Cheers,
> Thanet
>
> On Thursday, April 9, 2015 at 4:06:29 PM UTC+1, Saif Mahamood wrote:
>>
>> This is useful. But is there a way to get the specific parameters of each
>> report?
>>
>> On Thu, Apr 9, 2015 at 6:51 AM, Thanet Knack Praneenararat (AdWords API
>> Team)  wrote:
>>
>>> Hi Saif,
>>>
>>> Is this ReportDefinitionService
>>> 
>>> what you want?
>>>
>>> You can call getReportFields
>>> 
>>> to get all relevant fields for a given report type.
>>>
>>> Cheers,
>>> Thanet
>>>
>>>
>>> On Wednesday, April 8, 2015 at 10:00:15 PM UTC+1, sa...@nmodal.com
>>> wrote:

 Hi,

 I'm creating an application which will help users to select reports and
 fields pertaining to reports. I was just wondering if there's any existing
 API which will allow us to query relevant fields for a report instead of
 hard coding it?

 Thanks,

 Saif

>>>  --
>>> --
>>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>>> 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 a topic in the
>>> Google Groups "AdWords API Forum" group.
>>> To unsubscribe from this topic, visit https://groups.google.com/d/
>>> topic/adwords-api/iFKA3Z_LuAM/unsubscribe.
>>> To unsubscribe from this group and all its topics, 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/8da72b8f-576e-40b4-9202-edc70da39212%
>>> 40googlegroups.com
>>> 
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  --
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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 a topic in the
> Google Groups "AdWords API Forum" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/adwords-api/iFKA3Z_LuAM/unsubscribe.
> To unsubscribe from this group and all its topics, 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/c4cebc14-2dce-4e3b-a9d1-59765780c065%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

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

Re: GetKeywords printing each result 3 times

2015-04-09 Thread Thanet Knack Praneenararat (AdWords API Team)
Hi,

Please try using *KeywordMatchType* instead of *MatchType *in line 80 of 
the example 

. 
I'll make a note to ensure we update our examples accordingly.

Cheers,
Thanet

On Wednesday, April 8, 2015 at 6:57:00 PM UTC+1, Aditya wrote:
>
> I'm running the standard GetKeywords.java from the library. I put in the 
> ID for a test ad group that I set up (with just a few keywords). This 
> program prints out the expected results, but each one is printed out 3 
> times in a row. I can't see anything obvious in the code that would cause 
> these to be printed out multiple times, so does anyone have an idea what 
> might be happening?
>
> Here's an example of what I see:
>
> Keyword ad group criterion with ad group id "19839877629", criterion id 
> "11744392", text "dynamics" and match type "BROAD" was found.
>
> Keyword ad group criterion with ad group id "19839877629", criterion id 
> "11744392", text "dynamics" and match type "BROAD" was found.
>
> Keyword ad group criterion with ad group id "19839877629", criterion id 
> "11744392", text "dynamics" and match type "BROAD" was found.
>
> Keyword ad group criterion with ad group id "19839877629", criterion id 
> "17359491", text "app" and match type "BROAD" was found.
>
> Keyword ad group criterion with ad group id "19839877629", criterion id 
> "17359491", text "app" and match type "BROAD" was found.
>
> Keyword ad group criterion with ad group id "19839877629", criterion id 
> "17359491", text "app" and match type "BROAD" was found.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/95761f24-9f1e-4ea3-b20a-ae22de2755cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Finals URLs in structure reports

2015-04-09 Thread Zweitze
When I visited the AdWords API Workshop in Hamburg, the speaker mentioned 
that ads, keywords etc. not have just one final URL for desktop, and just 
one final URL for mobile, but they have in fact multiple URLs. Apparently 
they can be used for A/B testing.

According to the speaker, reports (like ad reports) do not support multiple 
final URLs. That is, they only report one of the URLs. But this will be 
fixed one day.

My question is what the fix will look like. I see different 
implementations, for instance:
- Structure reports have multiple rows, one for each Final URL / ad 
combination.
- Structure reports have one row for every ad, the Final URL field may 
contain multiple URLs, separated by a certain character.
- Structure reports will not support final URLs, software must use 
AdGroupAdService and others to retrieve all URLs for all ads and keywords.

These implementations have big differences, so I prefer to know what the 
solution will look like in advance.

Note: I understand that plans may change etc.etc. But I am not looking for 
a commitment from Google, I only want an idea how Google will deal with 
this situation. Still, if Google does not want to disclose the plans 
publicly, mail me personally and include any disclaimer you see fit.


Thanks 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/7612b293-9bc4-483f-9e19-99d679b7cd47%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ManagedCustomerService gives An AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED Error

2015-04-09 Thread Thanet Knack Praneenararat (AdWords API Team)
Hi,

Sorry for my brief response. I did understand your situation but my 
response seemed not. :-)
Actually, I intended to ask if you have tried filling in the 
clientCustomerId of* your MCC account *in App.config?

If you do so and all child accounts are really linked to your MCC account, 
they should get populated.
You don't need to specify your child accounts' customer ID one by one.

Note that this will return a *ManagedCustomerLink* for the MCC itself, 
plus both AdWords and MCC accounts under the MCC. 
You can differentiate between MCC and AdWords accounts using the 
canManageClients 

 field.

You may find this example 

 
similar to what you would like to do.

Basically, if you don't specify any CID, the code will not work.

Cheers,
Thanet

On Thursday, April 9, 2015 at 12:36:53 PM UTC+1, Aswini wrote:
>
> Could you please try to understand issue. Test Mcc account have multiple 
> clients(around 60 ), We can't take each and every Client Id from Mcc 
> account and store into Local DB. Solving this manual process we did 
> automated with following code which was version *v201406 *
>
> *Code: *
>
>
>
>
>
>
>
>
>
>
>
>
>
> *ManagedCustomerService managedCustomerService = 
> (ManagedCustomerService)user.GetService(AdWordsService.v201409.ManagedCustomerService);
>   
>   managedCustomerService.RequestHeader.clientCustomerId = null;
> // Create selector.Selector selector = new Selector();  
>   selector.fields = new String[] { "Login", "CustomerId", "Name" 
> };try{ManagedCustomerPage page = 
> managedCustomerService.get(selector);if (page.entries != 
> null){// Create map from customerId to 
> customer node.//Dictionary ManagedCustomerTreeNode> customerIdToCustomerNode =
> //new Dictionary();// 
> Create account tree nodes for each customer.foreach 
> (ManagedCustomer customer in page.entries){
> dtClients.Rows.Add(customer.customerId.ToString(), 
> customer.name.ToString(), "");//
> ///customer.login.ToString()); ///The login field 
> can no longer be used in the ManagedCustomer class within the 
> ManagedCustomerService.///See this blog 
> post(http://googleadsdeveloper.blogspot.com/2014/09/login-field-sunsetting-in-adwords-api.html
>  
> )
>  
> for more information.///}  
>   }dbConnection.Open();if 
> (dtClients.Rows.Count != 0){
> genUtilities.eraseAdWords("Clients");using (SqlBulkCopy 
> s = new SqlBulkCopy(dbConnection))///inserting campaigns to DB  
>   {s.DestinationTableName = "Clients";  
>   foreach (var column in dtClients.Columns)
> s.ColumnMappings.Add(column.ToString(), column.ToString());
> s.WriteToServer(dtClients);}
> }}catch (AdWordsApiException ex){  
>   ApiException innerException = ex.ApiException as 
> ApiException;LogFile("Failed to download Client Id's from 
> google server ", "",  innerException.errors.ToString(), 
> innerException.message.ToString());}catch 
> (Exception ex){LogFile("Failed to download 
> Client Id's from google server ", "", ex.Data.ToString(), 
> ex.InnerException.Data.ToString());}finally
> {if (dbConnection.State == ConnectionState.Open)
> {dbConnection.Close();}
> }}This Code is perfectly working and i am able to store in 
> local Database.After Migration Into version v2014091   
>  (user.Config as AdWordsAppConfig).ClientCustomerId = "442-017-1224";  
>   2   // Get the ManagedCustomerService.3ManagedCustomerService 
> managedCustomerService = 
> (ManagedCustomerService)user.GetService(AdWordsService.v201409.ManagedCustomerService);
>   
>   4// Create selector.5Selector selector = new 
> Selector();  6selector.fields = new String[] { 
> "CustomerId", "Name" };7try8   {9   
>  ManagedCustomerPage page = managedCustomerService.get(selector);10 
>   

Re: LocationExtensionOperand with GeoTargetOperand causing connection to hang up.

2015-04-09 Thread Edward Grave
I am now getting this response having resolved the connection issue:

Request:

http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>  https://adwords.google.com/api/adwords/cm/v201502";>  
MyCustID  
MyDevToken  MyAgent 
   https://adwords.google.com/api/adwords/cm/v201502";>  
ADD  
293088684
AND
LONG  MILES  
20 
   
2826  
  

 

Response:http://schemas.xmlsoap.org/soap/envelope/";> 
 https://adwords.google.com/api/adwords/cm/v201502";>  
0005134c51aac2c80ac45d8a42bb  
CampaignCriterionService  
mutate  0  
249
  soap:Server  
[FunctionError.INVALID_OPERATOR @ 
operations[0].operand.criterion.matchingFunction, 
FunctionError.INVALID_NUMBER_OF_OPERANDS @ 
operations[0].operand.criterion.matchingFunction.rhsOperand]  
https://adwords.google.com/api/adwords/cm/v201502";>  
[FunctionError.INVALID_OPERATOR @ 
operations[0].operand.criterion.matchingFunction, 
FunctionError.INVALID_NUMBER_OF_OPERANDS @ 
operations[0].operand.criterion.matchingFunction.rhsOperand]  
ApiException  
http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="FunctionError">
operations[0].operand.criterion.matchingFunction 
   
FunctionError.INVALID_OPERATOR
FunctionError
INVALID_OPERATORhttp://www.w3.org/2001/XMLSchema-instance"; xsi:type="FunctionError"> 
   
operations[0].operand.criterion.matchingFunction.rhsOperand

FunctionError.INVALID_NUMBER_OF_OPERANDS
FunctionError
INVALID_NUMBER_OF_OPERANDS  



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d63fea03-7ca7-4eb6-bfb2-b60c18b688a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AdWords Reports Predicates API

2015-04-09 Thread Thanet Knack Praneenararat (AdWords API Team)
Hi,

What do you mean by "get the specific parameters of each report"?
I cannot understand your meaning clearly.

As for your more information, you can refer to the code example here 

 
(Java) about how the getReportFields can be used.

Cheers,
Thanet

On Thursday, April 9, 2015 at 4:06:29 PM UTC+1, Saif Mahamood wrote:
>
> This is useful. But is there a way to get the specific parameters of each 
> report? 
>
> On Thu, Apr 9, 2015 at 6:51 AM, Thanet Knack Praneenararat (AdWords API 
> Team)  wrote:
>
>> Hi Saif,
>>
>> Is this ReportDefinitionService 
>> 
>>  
>> what you want?
>>
>> You can call getReportFields 
>> 
>>  
>> to get all relevant fields for a given report type.
>>
>> Cheers,
>> Thanet
>>
>>
>> On Wednesday, April 8, 2015 at 10:00:15 PM UTC+1, sa...@nmodal.com wrote:
>>>
>>> Hi, 
>>>
>>> I'm creating an application which will help users to select reports and 
>>> fields pertaining to reports. I was just wondering if there's any existing 
>>> API which will allow us to query relevant fields for a report instead of 
>>> hard coding it? 
>>>
>>> Thanks,
>>>
>>> Saif 
>>>
>>  -- 
>> -- 
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>> 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 a topic in the 
>> Google Groups "AdWords API Forum" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/adwords-api/iFKA3Z_LuAM/unsubscribe.
>> To unsubscribe from this group and all its topics, 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/8da72b8f-576e-40b4-9202-edc70da39212%40googlegroups.com
>>  
>> 
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c4cebc14-2dce-4e3b-a9d1-59765780c065%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AdWords Reports Predicates API

2015-04-09 Thread Saif Mahamood
This is useful. But is there a way to get the specific parameters of each
report?

On Thu, Apr 9, 2015 at 6:51 AM, Thanet Knack Praneenararat (AdWords API
Team)  wrote:

> Hi Saif,
>
> Is this ReportDefinitionService
> 
> what you want?
>
> You can call getReportFields
> 
> to get all relevant fields for a given report type.
>
> Cheers,
> Thanet
>
>
> On Wednesday, April 8, 2015 at 10:00:15 PM UTC+1, sa...@nmodal.com wrote:
>>
>> Hi,
>>
>> I'm creating an application which will help users to select reports and
>> fields pertaining to reports. I was just wondering if there's any existing
>> API which will allow us to query relevant fields for a report instead of
>> hard coding it?
>>
>> Thanks,
>>
>> Saif
>>
>  --
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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 a topic in the
> Google Groups "AdWords API Forum" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/adwords-api/iFKA3Z_LuAM/unsubscribe.
> To unsubscribe from this group and all its topics, 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/8da72b8f-576e-40b4-9202-edc70da39212%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/CANXKb_xTS_5X58dYi81dVt9p62%2BgJa%3D4FZyn%3D6L3Eit1rMRWUA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


using reports in v201502

2015-04-09 Thread Marcin Gdak
Hi,

I would like to take data down from reports to my database.
I'm download and I'm showing data in the CSV format and is converting on 
String.
How to get rid of the header and the footer?
How to create the object from this data?
I'm using API version 201502 

http://googleadsdeveloper.blogspot.com/2014/10/new-to-adwords-api-excluding-headers.html
https://developers.google.com/adwords/api/docs/guides/structure-reports


I read that there is such possibility, but I don't know how to apply it in 
practice.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c3699e68-2f38-4574-82ec-55f3315f6a06%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ManagedCustomerService gives An AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED Error

2015-04-09 Thread Aswini
Could you please try to understand issue. Test Mcc account have multiple 
clients(around 60 ), We can't take each and every Client Id from Mcc 
account and store into Local DB. Solving this manual process we did 
automated with following code which was version *v201406 *

*Code: *













*ManagedCustomerService managedCustomerService = 
(ManagedCustomerService)user.GetService(AdWordsService.v201409.ManagedCustomerService);
  
  managedCustomerService.RequestHeader.clientCustomerId = null;
// Create selector.Selector selector = new Selector();  
  selector.fields = new String[] { "Login", "CustomerId", "Name" 
};try{ManagedCustomerPage page = 
managedCustomerService.get(selector);if (page.entries != 
null){// Create map from customerId to 
customer node.//Dictionary customerIdToCustomerNode =
//new Dictionary();// 
Create account tree nodes for each customer.foreach 
(ManagedCustomer customer in page.entries){
dtClients.Rows.Add(customer.customerId.ToString(), 
customer.name.ToString(), "");//
///customer.login.ToString()); ///The login field 
can no longer be used in the ManagedCustomer class within the 
ManagedCustomerService.///See this blog 
post(http://googleadsdeveloper.blogspot.com/2014/09/login-field-sunsetting-in-adwords-api.html)
 
for more information.///}  
  }dbConnection.Open();if 
(dtClients.Rows.Count != 0){
genUtilities.eraseAdWords("Clients");using (SqlBulkCopy 
s = new SqlBulkCopy(dbConnection))///inserting campaigns to DB  
  {s.DestinationTableName = "Clients";  
  foreach (var column in dtClients.Columns)
s.ColumnMappings.Add(column.ToString(), column.ToString());
s.WriteToServer(dtClients);}
}}catch (AdWordsApiException ex){  
  ApiException innerException = ex.ApiException as 
ApiException;LogFile("Failed to download Client Id's from 
google server ", "",  innerException.errors.ToString(), 
innerException.message.ToString());}catch 
(Exception ex){LogFile("Failed to download 
Client Id's from google server ", "", ex.Data.ToString(), 
ex.InnerException.Data.ToString());}finally
{if (dbConnection.State == ConnectionState.Open)
{dbConnection.Close();}
}}This Code is perfectly working and i am able to store in 
local Database.After Migration Into version v2014091   
 (user.Config as AdWordsAppConfig).ClientCustomerId = "442-017-1224";  
  2   // Get the ManagedCustomerService.3ManagedCustomerService 
managedCustomerService = 
(ManagedCustomerService)user.GetService(AdWordsService.v201409.ManagedCustomerService);
  
  4// Create selector.5Selector selector = new 
Selector();  6selector.fields = new String[] { 
"CustomerId", "Name" };7try8   {9   
 ManagedCustomerPage page = managedCustomerService.get(selector);10 
  if (page.entries != null)11{12// 
Create map from customerId to customer node.13   
//Dictionary customerIdToCustomerNode =  
  14//new Dictionary();
15// Create account tree nodes for each customer.16 
  foreach (ManagedCustomer customer in page.entries)17 
   {
dtClients.Rows.Add(customer.customerId.ToString(), 
customer.name.ToString(), "");//
///customer.login.ToString()); ///The login field 
can no longer be used in the ManagedCustomer class within the 
ManagedCustomerService.///See this blog 
post(http://googleadsdeveloper.blogspot.com/2014/09/login-field-sunsetting-in-adwords-api.html)
 
for more information.///}  
  }dbConnection.Open();if 
(dtClients.Rows.Count != 0){
genUtilities.eraseAdWords("Clients");using (SqlBulkCopy 
s = new SqlBulkCopy(dbConnection))///inserting campaigns to DB  
  {s.DestinationTableName = "Clients";  
  foreach (var column in dtClients.Columns)   

Re: ManagedCustomerService gives An AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED Error

2015-04-09 Thread Thanet Knack Praneenararat (AdWords API Team)
Hi Aswini,

Have you set your clientCustomerId in App.config?

Cheers,
Thanet

On Thursday, April 9, 2015 at 10:53:06 AM UTC+1, Aswini wrote:
>
> HI Marcin,
>
> *Actually i need to download Client id from MCC account. Is there any way 
> to download ?? version v201406 using of *ManagedCustomerService i 
> downloaded Client Id's. after migrating into *v201409 i am facing these 
> issue. Is there any way to download all client Id's from MCC account ??*
>
> On Thursday, April 9, 2015 at 2:12:42 PM UTC+5:30, Marcin Gdak wrote:
>>
>> Hi Aswini,
>>
>> You must have CustomerId before the request to ManagedCustomerService. 
>> CustomerId you can charge from Customer Service 
>> 
>> .
>>
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ff2b7ee2-5cd4-455b-90b3-6be6217cb5ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AdWords Reports Predicates API

2015-04-09 Thread Thanet Knack Praneenararat (AdWords API Team)
Hi Saif,

Is this ReportDefinitionService 

 
what you want?

You can call getReportFields 

 
to get all relevant fields for a given report type.

Cheers,
Thanet

On Wednesday, April 8, 2015 at 10:00:15 PM UTC+1, sa...@nmodal.com wrote:
>
> Hi, 
>
> I'm creating an application which will help users to select reports and 
> fields pertaining to reports. I was just wondering if there's any existing 
> API which will allow us to query relevant fields for a report instead of 
> hard coding it? 
>
> Thanks,
>
> Saif 
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8da72b8f-576e-40b4-9202-edc70da39212%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Как установить отбор по группе объявлений для сервиса AdGroupFeedService?

2015-04-09 Thread sneustroev
Добрый день!
У меня стоит задача выбора данных из AdGroupFeedService, но т.к. выбрать 
больше 1 записей нельзя, нужно тогда как-то ограничить условием запрос 
на получение данных.
Например можно получать по определенной группе объявлений, но как это 
сделать?

пробую так:

http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:v20="https://adwords.google.com/api/adwords/cm/v201409";>
   
  
  ххх-ххх-
  ххх
  1cAdWords
  false
  false
   
   
   
  
 
MatchingFunction

adGroupId
EQUALS
10281078213

 
  
   


получаю ошибку:
[SelectorError.INVALID_PREDICATE_FIELD_NAME @ selector; trigger:'adGroupId']

Т.е. не верное имя 'adGroupId', как верноуказать имя или как сделать отбор 
по группе объявлений?
Спасибо!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3548175d-4994-4bbd-95aa-5b515cd260cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ManagedCustomerService gives An AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED Error

2015-04-09 Thread Aswini
HI Marcin,

*Actually i need to download Client id from MCC account. Is there any way 
to download ?? version v201406 using of *ManagedCustomerService i 
downloaded Client Id's. after migrating into *v201409 i am facing these 
issue. Is there any way to download all client Id's from MCC account ??*

On Thursday, April 9, 2015 at 2:12:42 PM UTC+5:30, Marcin Gdak wrote:
>
> Hi Aswini,
>
> You must have CustomerId before the request to ManagedCustomerService. 
> CustomerId you can charge from Customer Service 
> 
> .
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e41eaaa6-8b2f-4fd5-a5b6-60f01695850a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Как установить отбор выбоки данных для AdGroupFeedService ?

2015-04-09 Thread sneustroev
Добрый день!
У меня стоит задача выбора данных из AdGroupFeedService, но т.к. выбрать 
больше 1 записей нельзя, нужно тогда как-то ограничить условием запрос 
на получение данных.
Например можно получать по определенной группе объявлений, но как это 
сделать?

пробую так:

http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:v20="https://adwords.google.com/api/adwords/cm/v201409";>
   
  
  161-886-9872
  jrSUhkMn50elFT-Ff_qXTw
  1cAdWords
  false
  false
   
   
   
  
 
MatchingFunction

adGroupId
EQUALS
10281078213

 
  
   


получаю ошибку:
[SelectorError.INVALID_PREDICATE_FIELD_NAME @ selector; trigger:'adGroupId']

Т.е. не верное имя 'adGroupId', как верноуказать имя или как сделать отбор 
по группе объявлений?
Спасибо!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/20a9545b-d97d-4e65-9f01-85b16486ccd5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ManagedCustomerService gives An AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED Error

2015-04-09 Thread Marcin Gdak
Hi Aswini,

You must have CustomerId before the request to ManagedCustomerService. 
CustomerId you can charge from Customer Service 

.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/550ea91f-42e9-4ffa-bedf-1c050a5acab2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.