How to post ads based on the location using google adwords api

2015-01-15 Thread Shobhan Babu
Hi,

I want to post the ads based on the location ,how can we do this thing 
based on the location, I have searched for api,but unfortunately I didn't 
get any code for this .

could you please tell me how to post the ads based on the location or city.


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/314e1a5c-fc7d-4e2f-97b8-8f0b3ae7edb0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to integrate keyword Planner tool

2015-01-15 Thread Talib Ali

Hi,
How to create a program/script in PHP that will automatically

1. Login to Google Adwords Tool
2. Open the keyword planner
3. Enter some terms.
4. Initiate a search
How can we do, anybody help 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 
https://groups.google.com/d/msgid/adwords-api/79a09486-de94-4648-9d19-9b7d0292d1be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Creating Remarketing list with tracking code already on website

2015-01-15 Thread Dev Gupta
Hi Josh,

Thanks for the details. I think i understand it now. So please confirm what 
i am doing below is correct

1. From AddRuleBasedUserList i do the below

StringKey pageTypeKey = new StringKey("url__");

StringRuleItem checkoutStringRuleItem = new StringRuleItem();
checkoutStringRuleItem.setKey(pageTypeKey);
checkoutStringRuleItem.setOp(StringRuleItemStringOperator.CONTAINS);

checkoutStringRuleItem.setValue("http://www.XXX.com/product-list/hiking/backpacks/";);

RuleItem checkoutRuleItem = new RuleItem();
checkoutRuleItem.setStringRuleItem(checkoutStringRuleItem);

Add this to the UserList and then Use it in AddAudience.java. If i have 
flawed anywhere please let me know.

Thanks,
-Devraj

On Wednesday, January 14, 2015 at 10:30:51 AM UTC-8, Josh Radcliff (AdWords 
API Team) wrote:
>
> Hi Devraj,
>
> The "URL contains X" lists are represented as RuleBasedUserList 
> 
>  objects 
> in the API. As mentioned in the StringKey docs 
> ,
>  
> there's a predefined key for URL (url__). Below is some sample XML that 
> creates a rule-based user list that looks for visitors to URLs that contain 
> "cats" OR "dogs".
>
> https://adwords.google.com/api/adwords/rm/v201409";>
> 
> https://adwords.google.com/api/adwords/cm/v201409";>ADD
> https://adwords.google.com/api/adwords/rm/v201409"; 
> xsi:type="ns8:ExpressionRuleUserList">
> URL rules for cats and dogs
> URL based rules
> 
> 
> 
> 
> 
> url__
> 
> CONTAINS
> *cats*
> 
> 
> 
> 
> 
> 
> 
> url__
> 
> CONTAINS
> *dogs*
> 
> 
> 
> 
> 
> 
> 
>
> You can read up on how to create these lists in the Rule-based 
> Remarketing guide 
> 
> .
>
> Cheers,
> Josh, AdWords API Team
>
> On Tuesday, January 13, 2015 at 8:17:01 PM UTC-5, Dev Gupta wrote:
>>
>> Josh,
>>
>> Just adding a bit more to this.
>>
>> I was able to set this up though the UI but the API path is still not 
>> clear to me. While setting this up in UI i was specifically asked which 
>> URL's from my website i wanted to include (i did not wanted to track all 
>> webpages); however, in the API route i do not see where i can enter the URL 
>> and how i can track just the user of a particular URL.
>>
>> Any insights/better documentation?
>>
>> Thanks,
>> -Devraj
>>
>> On Thursday, November 6, 2014 at 1:07:48 PM UTC-8, Josh Radcliff (AdWords 
>> API Team) wrote:
>>>
>>> Hi Devraj,
>>>
>>> In response to your questions:
>>>
>>> 1. No, you can have different user lists that track users for different 
>>> ConversionTracker 
>>> 
>>> s.
>>> 2. Since they don't have to all have the same ID you shouldn't hard code 
>>> it. You'll want to get the IDs for each ConversionTracker 
>>> 
>>>  whose 
>>> users you want to include in your UserList and use those when constructing 
>>> the UserList's conversionTypes 
>>> 
>>>  collection.
>>>
>>> Cheers,
>>> Josh, AdWords API Team
>>>
>>> On Wednesday, November 5, 2014 6:06:32 PM UTC-5, Dev Gupta wrote:

 Hi Josh,

 Appreciate your quick response; i did go through the Guide but few 
 things are still not clear to me

 1. Do all UserList have the same trackers'ID or different?
 2. If they do have the same ID which i assume is the one i got from the 
 Adwords code to be put in each page; can i hardcode it as 

 UserListConversionType conversionType = new UserListConversionType();
conversionType.setName("Mars cruise customers #" + 
 System.currentTimeMillis());
conversionType.setId("99251X"); //Added

 Than

Re: How to remove AdGroupFeed objects that reference a removed ad group

2015-01-15 Thread Josh Radcliff (AdWords API Team)
Hi,

Unfortunately, you cannot delete an *AdGroupFeed* via the API once its 
associated *AdGroup* has been deleted. To filter out *AdGroupFeed*s for 
your deleted *AdGroup*s, you could periodically poll AdGroupService 

 
(or use AD_GROUP_PERFORMANCE_REPORT 
) 
and collect the IDs of *REMOVED* ad groups, then exclude those IDs using a 
predicate on *AdGroupId* when making your *AdGroupFeedService.get* requests.

Thanks,
Josh, AdWords API Team

On Thursday, January 15, 2015 at 8:23:39 AM UTC-5, t.k...@social-mining.com 
wrote:
>
> I'm trying to remove some AdGroupFeed objects that reference Ad Groups 
> that where removed earlier. But the API is 
> returning: OperationAccessDenied.OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY. 
> According to the API documentation it is impossible to mutate AdGroupFeed 
> objects that reference removed entities. Is there any way to get rid of the 
> objects? They are making querying the AdGroupFeedService extremely slow.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a74e8d1d-9615-4096-9514-cf084531ec17%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Подскажите, каким веб-сервисом можно добавлять и изменять ключевые слова к объявлениям

2015-01-15 Thread Josh Radcliff (AdWords API Team)
Hi,

Please check out our documentation for the AdGroupAdService 

.

In addition, each client library 
 contains 
an example for creating ads in its *basic operations* folder, e.g., see 
AddTextAds.java 

 for 
the Java client library. Note that you cannot edit an ad once it is created 
(ads are immutable), so if you want to change an ad you will have to remove 
the existing ad and create a new ad with the desired attributes.

Cheers,
Josh, AdWords API Team

On Thursday, January 15, 2015 at 2:43:01 PM UTC-5, treto...@gmail.com wrote:
>
> Доброго времени суток!
> Подскажите, каким веб-сервисом можно добавлять и изменять ключевые слова к 
> объявлениям?
> Спасибо!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e9793cce-07df-4aff-a8a5-825d80a578bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Where can I send the demo account information for RMF review?

2015-01-15 Thread sortivo . ad
Ok,
so I hope they will respond in a moment, when I sent the request yesterday.

Thank you for the answer.

On Thursday, January 15, 2015 at 10:55:00 PM UTC+1, Josh Radcliff (AdWords 
API Team) wrote:
>
> Hi,
>
> The form you used is the proper way to contact the API Compliance Team 
> that handles RMF questions. They usually respond within one business day.
>
> Cheers,
> Josh, AdWords API Team
>
> On Thursday, January 15, 2015 at 1:03:36 PM UTC-5, sorti...@gmail.com 
> wrote:
>>
>> Hi,
>> we have deadline for provide the demo account for RMF review tomorrow and 
>> we have made the account already, but we don't know how to send it to 
>> Google Adwords team. Due to change of primary e-mail (also we did the 
>> change in adwords system) we have lost any email threads for reply to.
>>
>> So I tried to contact them through the form 
>>  yesterday. I asked 
>> for start of a email conversation and thread to be able reply on it with 
>> all necessarily information and screenshots for using demo account.
>>
>> But no reponse yet and time is running. Can you help me, where else I can 
>> send it, please?
>>
>> 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/9ec1c465-9e37-44e2-be56-6ed797f29955%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Where can I send the demo account information for RMF review?

2015-01-15 Thread Josh Radcliff (AdWords API Team)
Hi,

The form you used is the proper way to contact the API Compliance Team that 
handles RMF questions. They usually respond within one business day.

Cheers,
Josh, AdWords API Team

On Thursday, January 15, 2015 at 1:03:36 PM UTC-5, sorti...@gmail.com wrote:
>
> Hi,
> we have deadline for provide the demo account for RMF review tomorrow and 
> we have made the account already, but we don't know how to send it to 
> Google Adwords team. Due to change of primary e-mail (also we did the 
> change in adwords system) we have lost any email threads for reply to.
>
> So I tried to contact them through the form 
>  yesterday. I asked for 
> start of a email conversation and thread to be able reply on it with all 
> necessarily information and screenshots for using demo account.
>
> But no reponse yet and time is running. Can you help me, where else I can 
> send it, please?
>
> 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/530cb91f-04a2-42f2-8bec-43e184d7ddca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Подскажите, каким веб-сервисом можно добавлять и изменять ключевые слова к объявлениям

2015-01-15 Thread treto1ctest
Доброго времени суток!
Подскажите, каким веб-сервисом можно добавлять и изменять ключевые слова к 
объявлениям?
Спасибо!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/87141e87-88f0-45cc-bd1c-0b0c161edad1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Where can I send the demo account information for RMF review?

2015-01-15 Thread sortivo . ad
Hi,
we have deadline for provide the demo account for RMF review tomorrow and 
we have made the account already, but we don't know how to send it to 
Google Adwords team. Due to change of primary e-mail (also we did the 
change in adwords system) we have lost any email threads for reply to.

So I tried to contact them through the form 
 yesterday. I asked for 
start of a email conversation and thread to be able reply on it with all 
necessarily information and screenshots for using demo account.

But no reponse yet and time is running. Can you help me, where else I can 
send it, please?

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/8eb199aa-f69b-4f61-b612-e90b9c1c80a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Google Analytics metrics zero in AD_PERFORMANCE_REPORT

2015-01-15 Thread Josh Radcliff (AdWords API Team)
Hi David,

Sorry for the delay. I contacted the reporting team again today for an 
update. Hopefully I'll have something to report back soon.

Thanks,
Josh, AdWords API Team

On Wednesday, January 14, 2015 at 11:11:44 AM UTC-5, David Midgley wrote:
>
> Hi Josh
>
> It's been just over a week since your last post - I don't suppose you have 
> an update? Should I start rewriting my code to workaround this bug?
>
> Cheers
>
> David
>
> On Tuesday, 6 January 2015 16:56:31 UTC, Josh Radcliff (AdWords API Team) 
> wrote:
>>
>> Hi David,
>>
>> Thanks for offering, but unfortunately I think you'll get back all zeros 
>> for past dates at this point as well. That's what I found when I just tried 
>> running a report with *id* and *KeywordId* for October 2014.
>>
>> I'll continue to follow up with the reporting team to try to figure out 
>> what changed here.
>>
>> Thanks,
>> Josh, AdWords API Team
>>
>> On Monday, January 5, 2015 5:32:10 PM UTC-5, David Midgley wrote:
>>>
>>> Hi Josh
>>>
>>> Unfortunately I don't have a copy of a past response but I could 
>>> recreate a past request. Would that be useful?
>>>
>>> This incident has prompted me to save all report files generated from 
>>> the API into an audit trail as of today, but that's a little late!
>>>
>>> Cheers
>>>
>>> David
>>>
>>> On Monday, 5 January 2015 22:06:35 UTC, Josh Radcliff (AdWords API Team) 
>>> wrote:

 Hi David,

 Thanks for confirming that you have a similar use case to Lloyd's. I 
 don't have an ETA for when or if this will be fixed, but one thing that 
 would help greatly in our investigation would be if you have a sample 
 report request *and* response for a request you ran in the past with 
 both *Id* and *KeywordId* where you received non-zero values for the 
 analytics columns. If you have such a sample, please send that *only 
 to me* by clicking *Reply to Author* on this message.

 Thanks,
 Josh, AdWords API Team

 On Monday, January 5, 2015 12:53:11 PM UTC-5, David Midgley wrote:
>
> Hi Josh
>
> Thanks for your quick response!
>
> Yes I am including KeywordId and Id as this is the only report I know 
> of that allows you to split by keyword/ad combination. If there is 
> another 
> report that allows you to do this please let me know as this is crucial 
> to 
> the analysis we need to perform.
>
> Do you know if this bug is likely to be fixed any time soon?
>
> Cheers
>
> David
>
> On Monday, 5 January 2015 17:45:13 UTC, Josh Radcliff (AdWords API 
> Team) wrote:
>>
>> Hi David,
>>
>> Could you confirm that you are only seeing zero values when your 
>> AD_PERFORMANCE_REPORT request includes both *KeywordId* *and* *Id* (ad 
>> ID)? If that's the case, then it sounds like you have encountered the 
>> same 
>> error that Lloyd discovered.
>>
>> Thanks,
>> Josh, AdWords API Team
>>
>> On Monday, January 5, 2015 10:26:12 AM UTC-5, David Midgley wrote:
>>>
>>> Hi Josh
>>>
>>> I'm seeing the same thing, I was just about to post this question 
>>> before I noticed Lloyd's question:
>>>
>>>
>>> I'm getting zero values via the API for:
>>>
>>> - AveragePageviews
>>> - AverageTimeOnSite
>>> - BounceRate
>>> - PercentNewVisitors
>>>
>>> in a AD_PERFORMANCE_REPORT. According to the Reports Reference 
>>> documentation these columns are available and I don't get an error in 
>>> my 
>>> report submission, just zero values.
>>>
>>> This is happening across multiple clients where I previously had 
>>> values and the data disappeared on 9-10 December.
>>>
>>> This doesn't appear to be a time lag issue as I've tried 
>>> re-importing the whole of December today and now I have no analytics 
>>> data 
>>> since 30 November!
>>>
>>> Is anyone else experiencing this? Has anything changed in the way 
>>> analytics data is integrated into AdWords reporting?
>>>
>>> Just to reiterate, I was getting analytics data with no problems 
>>> prior to 9/10 December and my report definitions have not changed.
>>>
>>> Cheers
>>>
>>> David
>>>
>>>
>>>
>>>
>>> On Tuesday, 30 December 2014 14:50:19 UTC, Josh Radcliff (AdWords 
>>> API Team) wrote:

 Hi Lloyd,

 I've contacted the reporting team to get more details on why 
 *KeywordId* in combination with the Ad ID returns zeros for Google 
 Analytics metrics. I'll post back here as soon as I hear from them.

 Thanks,
 Josh, AdWords API Team

 On Sunday, December 28, 2014 5:28:33 PM UTC-5, Lloyd Davies wrote:
>
> Hi Josh
>
> Sorry for the delay responding to you on this.
>
> Yes, KeywordId is included in my search and if I remove it I 

Re: get account data

2015-01-15 Thread Josh Radcliff (AdWords API Team)
Hi,

A developer token is associated with a specific account solely for 
administrative purposes. The account of a developer token has *no impact 
whatsoever* on which accounts your API requests can access -- that is 
determined entirely by the OAuth credentials on each request. It's 
perfectly valid to use your approved developer token for API requests 
against accounts that are not in your developer token's MCC.

Best regards,
Josh, AdWords API Team

On Thursday, January 15, 2015 at 12:26:13 PM UTC-5, Alessandro Dias wrote:
>
> Hi Josh,
> I have another doubt, You said:
>
> You can (and should) use the same developer token for AdWords API requests 
>> against *all* of your accounts. You do not need a separate token for 
>> each account.
>
>
> but correct me if I'm wrong, the developer token is associated to a 
> specific prodction account, and the users that will use the app, each one 
> is a different production account, so,  even in this way I should use use 
> the same developer token?
>
>
> Em quarta-feira, 14 de janeiro de 2015 13:07:15 UTC-2, Josh Radcliff 
> (AdWords API Team) escreveu:
>>
>> Hi,
>>
>> Once you take the user through the OAuth flow and get an *access_token*, 
>> you can issue a CustomerService.get 
>> 
>>  request 
>> using that *access_token*. The request will return a Customer object 
>> ,
>>  
>> which has the customerId 
>> 
>>  (client_customer_id).
>>
>> You can (and should) use the same developer token for AdWords API 
>> requests against *all* of your accounts. You do not need a separate 
>> token for each account.
>>
>> Cheers,
>> Josh, AdWords API Team
>>
>> On Wednesday, January 14, 2015 at 7:10:53 AM UTC-5, Alessandro Dias wrote:
>>>
>>> I'm trying  to develop an app where a user logs in and get information 
>>> of its adwords account;
>>> So, there's a way to get the developer token, client_customer_id and any 
>>> other user information ?
>>> or will be need to ask the user to give 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/b1b55a22-3b4e-43ba-b690-caddf9abd79e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: get account data

2015-01-15 Thread Alessandro Dias
Hi Josh,
I have another doubt, You said:

You can (and should) use the same developer token for AdWords API requests 
> against *all* of your accounts. You do not need a separate token for each 
> account.


but correct me if I'm wrong, the developer token is associated to a 
specific prodction account, and the users that will use the app, each one 
is a different production account, so,  even in this way I should use use 
the same developer token?


Em quarta-feira, 14 de janeiro de 2015 13:07:15 UTC-2, Josh Radcliff 
(AdWords API Team) escreveu:
>
> Hi,
>
> Once you take the user through the OAuth flow and get an *access_token*, 
> you can issue a CustomerService.get 
> 
>  request 
> using that *access_token*. The request will return a Customer object 
> ,
>  
> which has the customerId 
> 
>  (client_customer_id).
>
> You can (and should) use the same developer token for AdWords API requests 
> against *all* of your accounts. You do not need a separate token for each 
> account.
>
> Cheers,
> Josh, AdWords API Team
>
> On Wednesday, January 14, 2015 at 7:10:53 AM UTC-5, Alessandro Dias wrote:
>>
>> I'm trying  to develop an app where a user logs in and get information of 
>> its adwords account;
>> So, there's a way to get the developer token, client_customer_id and any 
>> other user information ?
>> or will be need to ask the user to give 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/006de90c-813e-4ff5-b63e-cd2170785a52%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Correct way to retrieve users from AdWords API

2015-01-15 Thread Martin Geubelle
Dear Josh,

Thank you very much for you answer, it takes on its full meaning for me now 
! I really appreciate.

Cheers,

Martin

Le jeudi 15 janvier 2015 16:17:27 UTC+1, Josh Radcliff (AdWords API Team) a 
écrit :
>
> Hi Martin,
>
> The difference between CustomerService.get 
> 
>  and ManagedCustomerService.get 
> 
>  is 
> as follows:
>
>- The *Customer* object you get back from *CustomerService.get* depends 
>on the presence or absence of the clientCustomerId SOAP header 
>
>  
> in 
>your request.
>   - If *clientCustomerId* is set, then you will get back the 
>   *Customer* object for that customer (Customer.customerId 
>   
> 
>  will 
>   be equal to *clientCustomerId*)
>   - If *clientCustomerId* is *not* set, then you will get back the 
>   *Customer* object for the customer associated with your OAuth 
>   credential's account. If your OAuth credentials are for your MCC, 
> you'll 
>   get back the *Customer* object for your MCC. If your OAuth 
>   credentials are for a specific client account, you'll get back the 
>   *Customer* object for that client account.
>- The ManagedCustomer 
>
> 
>  objects 
>you get back from *ManagedCustomerService.get* will be the set of 
>customers managed by the account specified in the *clientCustomerId* SOAP 
>header.
>
> Hopefully that clears things up, but let me know if I missed anything.
>
> Cheers,
> Josh, AdWords API Team
>
> On Thursday, January 15, 2015 at 7:48:03 AM UTC-5, Martin Geubelle wrote:
>>
>> Hi there,
>>
>> I was wondering about the proper way of getting the CustomerId of an 
>> account in all cases using the API. First, I was using the service 
>> "ManagedCustomerService" and that worked well for my accounts, until I 
>> noticed that I couldn't get accounts that were not managed by MCC (if I 
>> understood well). I then used ''CustomerService'' if nothing was returned 
>> by the first service. Is this the correct way to do that ?
>>
>> Cheers,
>>
>>
>> Martin
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/64fb478b-8109-48aa-8534-c91a7fc9c3fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Traffic estimate and Targeting Idea service

2015-01-15 Thread Josh Radcliff (AdWords API Team)
Hi,

Please see the documentation on the 
TrafficEstimatorService.CampaignEstimateRequest.criteria 
field 
,
 
which explains the behavior when no location or language criterion is 
present.

Thanks,
Josh, AdWords API Team

On Thursday, January 15, 2015 at 10:27:50 AM UTC-5, VJ wrote:
>
> Hello,
>
> I am using Targeting Idea service and Traffic estimator.
>
>
> https://github.com/jcroll/google-api-adwords-php/blob/master/examples/v201209/Optimization/EstimateKeywordTraffic.php
>
>
>   $unitedStates = new Location();  $unitedStates->id = 2840;  
> $campaignEstimateRequest->criteria[] = $unitedStates;$english = new 
> Language();  $english->id = 1000;  $campaignEstimateRequest->criteria[] = 
> $english;  
> Can I get All locations and All Languages Criteria estimate stats?? How 
> can I get stats of keywords Like Clicks,Impressions etc..for all language 
> and All Location??
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/eeed8b0d-4019-46a2-b7a1-5cf1c0de0543%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Traffic estimate and Targeting Idea service

2015-01-15 Thread VJ
Hello,

I am using Targeting Idea service and Traffic estimator.

https://github.com/jcroll/google-api-adwords-php/blob/master/examples/v201209/Optimization/EstimateKeywordTraffic.php


  $unitedStates = new Location();  $unitedStates->id = 2840;  
$campaignEstimateRequest->criteria[] = $unitedStates;$english = new 
Language();  $english->id = 1000;  $campaignEstimateRequest->criteria[] = 
$english;  
Can I get All locations and All Languages Criteria estimate stats?? How can 
I get stats of keywords Like Clicks,Impressions etc..for all language and 
All Location??

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/34b11a78-2d3d-4782-9be4-11913c1cc534%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Correct way to retrieve users from AdWords API

2015-01-15 Thread Josh Radcliff (AdWords API Team)
Hi Martin,

The difference between CustomerService.get 

 and ManagedCustomerService.get 

 is 
as follows:

   - The *Customer* object you get back from *CustomerService.get* depends 
   on the presence or absence of the clientCustomerId SOAP header 
   
 
in 
   your request.
  - If *clientCustomerId* is set, then you will get back the *Customer* 
object 
  for that customer (Customer.customerId 
  

 will 
  be equal to *clientCustomerId*)
  - If *clientCustomerId* is *not* set, then you will get back the 
  *Customer* object for the customer associated with your OAuth 
  credential's account. If your OAuth credentials are for your MCC, you'll 
  get back the *Customer* object for your MCC. If your OAuth 
  credentials are for a specific client account, you'll get back the 
  *Customer* object for that client account.
   - The ManagedCustomer 
   

 objects 
   you get back from *ManagedCustomerService.get* will be the set of 
   customers managed by the account specified in the *clientCustomerId* SOAP 
   header.

Hopefully that clears things up, but let me know if I missed anything.

Cheers,
Josh, AdWords API Team

On Thursday, January 15, 2015 at 7:48:03 AM UTC-5, Martin Geubelle wrote:
>
> Hi there,
>
> I was wondering about the proper way of getting the CustomerId of an 
> account in all cases using the API. First, I was using the service 
> "ManagedCustomerService" and that worked well for my accounts, until I 
> noticed that I couldn't get accounts that were not managed by MCC (if I 
> understood well). I then used ''CustomerService'' if nothing was returned 
> by the first service. Is this the correct way to do that ?
>
> Cheers,
>
>
> Martin
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ce879a65-6262-440b-b7e2-17c5ccd78f5b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: create test account without a biling information for production account

2015-01-15 Thread Josh Radcliff (AdWords API Team)
Hi,

Yes, you must fill in billing information and accept the Terms & Conditions 
 on your 
*production* account in order to use the token, even for requests against 
test accounts. Please see this FAQ 
.

Thanks,
Josh, AdWords API Team

On Thursday, January 15, 2015 at 8:12:44 AM UTC-5, Alessandro Dias wrote:
>
> I created a test account and a production account to get the developer 
> token, but I just want to use the test account and I will not use the 
> production account, 
> I created only to get the developer token.
> So, Do I really need to add billing information, to just use the test 
> account?
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b0e87739-2aaa-4bea-a3d0-656a2d5e7436%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Дайте пример XML запроса для сервиса AdGroupAdService использующий TextAd

2015-01-15 Thread Josh Radcliff (AdWords API Team)
Hi,

>From your last response, it sounds like you have got this working now. If 
that's not the case, could you post the errors you are now encountering?

Thanks,
Josh, AdWords API Team

On Thursday, January 15, 2015 at 4:52:49 AM UTC-5, treto...@gmail.com wrote:
>
> I have worked like this:
>
> 
>   https://adwords.google.com/api/adwords/cm/v201409
> ">
>  http://www.w3.org/2001/XMLSchema-instance";>
> ADD
> 
>15889158713
> https://adwords.google.com/api/adwords/cm/v201409"; i:type="ns2:TextAd">
>   http://www.ex.ru
>   ex.ru
>   Тестовое объявление 
>   Тестовое объявление 
> 1
>   Тестовое объявление 
>  2
>
>ENABLED
>APPROVED
> 
>  
>   
>
>
> четверг, 15 января 2015 г., 11:32:28 UTC+2 пользователь treto...@gmail.com 
> написал:
>>
>> If I tried to make:
>>
>> https://adwords.google.com/api/adwords/cm/v201409""; 
>> xsi:type=""ns2:TextAd"">
>>
>> ERROR:
>>
>> Message: 
>> http://www.w3.org/TR/1999/REC-xml-names-19990114#AttributePrefixUnbound?ad&xsi:type&xsi
>>  
>>
>> четверг, 15 января 2015 г., 11:14:37 UTC+2 пользователь 
>> treto...@gmail.com написал:
>>>
>>> tried to make:
>>>
>>> >> http://www.w3.org/2001/XMLSchema-instance"";>
>>>
>>> ERROR:
>>>
>>> Unmarshalling Error: cvc-elt.4.2: Cannot resolve 'TextAd' to a type 
>>> definition for element 'v20:ad'. 
>>>
>>>
>>> четверг, 15 января 2015 г., 11:05:24 UTC+2 пользователь 
>>> treto...@gmail.com написал:

 My request:

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

   
   xxx-xxx-
   xx
   
   false
   false



   
  http://www.w3.org/2001/XMLSchema-instance";>
 ADD
 
15754156713
   
   http://www.treto.ru
   treto.ru
   Тестовое объявление treto.ru
 
   description1: Тестовое объявление 
 treto.ru
   description2: Тестовое объявление 
 treto.ru

ENABLED
APPROVED

   Тестовое объявление treto.ru

 
  
   

 

 ERROR:

 Unmarshalling Error: ParseError at [row,col]:[18,46]
 Message: 
 http://www.w3.org/TR/1999/REC-xml-names-19990114#AttributePrefixUnbound?v20:ad&xsi:type&xsi
  

 четверг, 15 января 2015 г., 0:41:25 UTC+2 пользователь Josh Radcliff 
 (AdWords API Team) написал:
>
> Hi,
>
> OK - here's an example that should help you get started:
>
> http://schemas.xmlsoap.org/soap/envelope/"; 
>   xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";>
> 
> https://adwords.google.com/api/adwords/cm/v201409"; 
> soapenv:mustUnderstand="0">
> *xxx*
> *xxx*
> *xxx*
> false
> false
> 
> 
> 
> https://adwords.google.com/api/adwords/cm/v201409";>
> 
> ADD
> 
> **
> https://adwords.google.com/api/adwords/cm/v201409"; 
> xsi:type="ns2:TextAd">
> http://www.example.com
> www.example.com
> Luxury Cruise to Mars
> Visit the Red Planet in 
> style.
> Low-gravity fun for 
> everyone!
> 
> PAUSED
> 
> 
> 
> 
> 
>
> Cheers,
> Josh, AdWords API Team
>
> On Wednesday, January 14, 2015 at 1:51:59 PM UTC-5, treto...@gmail.com 
> wrote:
>>
>> Hi,
>> Thank you, but I can not use the client libraries for my programming 
>> language they simply do not
>> Could you give an example xml, using TekstAd?
>>
>> среда, 14 января 2015 г., 20:45:27 UTC+2 пользователь Josh Radcliff 
>> (AdWords API Team) написал:
>>>
>>> Hi,
>>>
>>> I strongly recommend using one of our client libraries 
>>>  
>>> instead 
>>> of manually constructing your SOAP messages. Each client library lets 
>>> you 
>>> work with objects instead of XML elements, which makes building your 
>>> requests far easier.
>>>
>>> Thanks,
>>> Jos

Correct way to retrieve users from AdWords API

2015-01-15 Thread Martin Geubelle
Hi there,

I was wondering about the proper way of getting the CustomerId of an 
account in all cases using the API. First, I was using the service 
"ManagedCustomerService" and that worked well for my accounts, until I 
noticed that I couldn't get accounts that were not managed by MCC (if I 
understood well). I then used ''CustomerService'' if nothing was returned 
by the first service. Is this the correct way to do that ?

Cheers,


Martin

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3406ef3d-d30a-451a-8c36-95d05778ed7f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to remove AdGroupFeed objects that reference a removed ad group

2015-01-15 Thread t . kieft
I'm trying to remove some AdGroupFeed objects that reference Ad Groups that 
where removed earlier. But the API is 
returning: OperationAccessDenied.OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY. 
According to the API documentation it is impossible to mutate AdGroupFeed 
objects that reference removed entities. Is there any way to get rid of the 
objects? They are making querying the AdGroupFeedService extremely slow.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/86c60711-1adb-4fcb-bc02-246f14b1503d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


create test account without a biling information for production account

2015-01-15 Thread Alessandro Dias
I created a test account and a production account to get the developer 
token, but I just want to use the test account and I will not use the 
production account, 
I created only to get the developer token.
So, Do I really need to add billing information, to just use the test 
account?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/699fb599-10ea-454f-92cd-92c7ee170f6a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Дайте пример XML запроса для сервиса AdGroupAdService использующий TextAd

2015-01-15 Thread treto1ctest
I have worked like this:


  https://adwords.google.com/api/adwords/cm/v201409";>
 http://www.w3.org/2001/XMLSchema-instance";>
ADD

   15889158713
https://adwords.google.com/api/adwords/cm/v201409"; 
i:type="ns2:TextAd">
  http://www.ex.ru
  ex.ru
  Тестовое объявление 
  Тестовое объявление 1
  Тестовое объявление 
 2
   
   ENABLED
   APPROVED

 
  
   

четверг, 15 января 2015 г., 11:32:28 UTC+2 пользователь treto...@gmail.com 
написал:
>
> If I tried to make:
>
> https://adwords.google.com/api/adwords/cm/v201409""; 
> xsi:type=""ns2:TextAd"">
>
> ERROR:
>
> Message: 
> http://www.w3.org/TR/1999/REC-xml-names-19990114#AttributePrefixUnbound?ad&xsi:type&xsi
>  
>
> четверг, 15 января 2015 г., 11:14:37 UTC+2 пользователь treto...@gmail.com 
> написал:
>>
>> tried to make:
>>
>> > http://www.w3.org/2001/XMLSchema-instance"";>
>>
>> ERROR:
>>
>> Unmarshalling Error: cvc-elt.4.2: Cannot resolve 'TextAd' to a type 
>> definition for element 'v20:ad'. 
>>
>>
>> четверг, 15 января 2015 г., 11:05:24 UTC+2 пользователь 
>> treto...@gmail.com написал:
>>>
>>> My request:
>>>
>>> 
>>> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:v20="
>>> https://adwords.google.com/api/adwords/cm/v201409";>
>>>
>>>   
>>>   xxx-xxx-
>>>   xx
>>>   
>>>   false
>>>   false
>>>
>>>
>>>
>>>   
>>>  http://www.w3.org/2001/XMLSchema-instance";>
>>> ADD
>>> 
>>>15754156713
>>>   
>>>   http://www.treto.ru
>>>   treto.ru
>>>   Тестовое объявление treto.ru
>>> 
>>>   description1: Тестовое объявление 
>>> treto.ru
>>>   description2: Тестовое объявление 
>>> treto.ru
>>>
>>>ENABLED
>>>APPROVED
>>>
>>>   Тестовое объявление treto.ru
>>>
>>> 
>>>  
>>>   
>>>
>>> 
>>>
>>> ERROR:
>>>
>>> Unmarshalling Error: ParseError at [row,col]:[18,46]
>>> Message: 
>>> http://www.w3.org/TR/1999/REC-xml-names-19990114#AttributePrefixUnbound?v20:ad&xsi:type&xsi
>>>  
>>>
>>> четверг, 15 января 2015 г., 0:41:25 UTC+2 пользователь Josh Radcliff 
>>> (AdWords API Team) написал:

 Hi,

 OK - here's an example that should help you get started:

 http://schemas.xmlsoap.org/soap/envelope/"; 
   xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
 http://www.w3.org/2001/XMLSchema-instance";>
 
 https://adwords.google.com/api/adwords/cm/v201409"; 
 soapenv:mustUnderstand="0">
 *xxx*
 *xxx*
 *xxx*
 false
 false
 
 
 
 https://adwords.google.com/api/adwords/cm/v201409";>
 
 ADD
 
 **
 https://adwords.google.com/api/adwords/cm/v201409"; 
 xsi:type="ns2:TextAd">
 http://www.example.com
 www.example.com
 Luxury Cruise to Mars
 Visit the Red Planet in 
 style.
 Low-gravity fun for 
 everyone!
 
 PAUSED
 
 
 
 
 

 Cheers,
 Josh, AdWords API Team

 On Wednesday, January 14, 2015 at 1:51:59 PM UTC-5, treto...@gmail.com 
 wrote:
>
> Hi,
> Thank you, but I can not use the client libraries for my programming 
> language they simply do not
> Could you give an example xml, using TekstAd?
>
> среда, 14 января 2015 г., 20:45:27 UTC+2 пользователь Josh Radcliff 
> (AdWords API Team) написал:
>>
>> Hi,
>>
>> I strongly recommend using one of our client libraries 
>>  instead 
>> of manually constructing your SOAP messages. Each client library lets 
>> you 
>> work with objects instead of XML elements, which makes building your 
>> requests far easier.
>>
>> Thanks,
>> Josh, AdWords API Team
>>
>> On Wednesday, January 14, 2015 at 11:31:24 AM UTC-5, 
>> treto...@gmail.com wrote:
>>>
>>> Доброго времени суток!
>>>
>>> Делаю запрос к сервису AdGroupAdService. 
>>> Пример тела запроса:
>>>   
>>> >> http://schemas.xmlsoap.org/soap/envelope/""; xmlns:v20=""
>>> https://adwords.google.com/api/adwords/cm/v201409"";>
>>>
>>>   
>>>  
>>>  ХХХ
>>>  

Re: Дайте пример XML запроса для сервиса AdGroupAdService использующий TextAd

2015-01-15 Thread treto1ctest
If I tried to make:

https://adwords.google.com/api/adwords/cm/v201409""; 
xsi:type=""ns2:TextAd"">

ERROR:

Message: 
http://www.w3.org/TR/1999/REC-xml-names-19990114#AttributePrefixUnbound?ad&xsi:type&xsi
 

четверг, 15 января 2015 г., 11:14:37 UTC+2 пользователь treto...@gmail.com 
написал:
>
> tried to make:
>
>  http://www.w3.org/2001/XMLSchema-instance"";>
>
> ERROR:
>
> Unmarshalling Error: cvc-elt.4.2: Cannot resolve 'TextAd' to a type 
> definition for element 'v20:ad'. 
>
>
> четверг, 15 января 2015 г., 11:05:24 UTC+2 пользователь treto...@gmail.com 
> написал:
>>
>> My request:
>>
>> 
>> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:v20="
>> https://adwords.google.com/api/adwords/cm/v201409";>
>>
>>   
>>   xxx-xxx-
>>   xx
>>   
>>   false
>>   false
>>
>>
>>
>>   
>>  http://www.w3.org/2001/XMLSchema-instance";>
>> ADD
>> 
>>15754156713
>>   
>>   http://www.treto.ru
>>   treto.ru
>>   Тестовое объявление treto.ru
>> 
>>   description1: Тестовое объявление 
>> treto.ru
>>   description2: Тестовое объявление 
>> treto.ru
>>
>>ENABLED
>>APPROVED
>>
>>   Тестовое объявление treto.ru
>>
>> 
>>  
>>   
>>
>> 
>>
>> ERROR:
>>
>> Unmarshalling Error: ParseError at [row,col]:[18,46]
>> Message: 
>> http://www.w3.org/TR/1999/REC-xml-names-19990114#AttributePrefixUnbound?v20:ad&xsi:type&xsi
>>  
>>
>> четверг, 15 января 2015 г., 0:41:25 UTC+2 пользователь Josh Radcliff 
>> (AdWords API Team) написал:
>>>
>>> Hi,
>>>
>>> OK - here's an example that should help you get started:
>>>
>>> http://schemas.xmlsoap.org/soap/envelope/"; 
>>>   xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
>>> http://www.w3.org/2001/XMLSchema-instance";>
>>> 
>>> https://adwords.google.com/api/adwords/cm/v201409"; 
>>> soapenv:mustUnderstand="0">
>>> *xxx*
>>> *xxx*
>>> *xxx*
>>> false
>>> false
>>> 
>>> 
>>> 
>>> https://adwords.google.com/api/adwords/cm/v201409
>>> ">
>>> 
>>> ADD
>>> 
>>> **
>>> https://adwords.google.com/api/adwords/cm/v201409"; xsi:type="ns2:TextAd"
>>> >
>>> http://www.example.com
>>> www.example.com
>>> Luxury Cruise to Mars
>>> Visit the Red Planet in 
>>> style.
>>> Low-gravity fun for 
>>> everyone!
>>> 
>>> PAUSED
>>> 
>>> 
>>> 
>>> 
>>> 
>>>
>>> Cheers,
>>> Josh, AdWords API Team
>>>
>>> On Wednesday, January 14, 2015 at 1:51:59 PM UTC-5, treto...@gmail.com 
>>> wrote:

 Hi,
 Thank you, but I can not use the client libraries for my programming 
 language they simply do not
 Could you give an example xml, using TekstAd?

 среда, 14 января 2015 г., 20:45:27 UTC+2 пользователь Josh Radcliff 
 (AdWords API Team) написал:
>
> Hi,
>
> I strongly recommend using one of our client libraries 
>  instead 
> of manually constructing your SOAP messages. Each client library lets you 
> work with objects instead of XML elements, which makes building your 
> requests far easier.
>
> Thanks,
> Josh, AdWords API Team
>
> On Wednesday, January 14, 2015 at 11:31:24 AM UTC-5, 
> treto...@gmail.com wrote:
>>
>> Доброго времени суток!
>>
>> Делаю запрос к сервису AdGroupAdService. 
>> Пример тела запроса:
>>   
>> > http://schemas.xmlsoap.org/soap/envelope/""; xmlns:v20=""
>> https://adwords.google.com/api/adwords/cm/v201409"";>
>>
>>   
>>   ХХХ
>>   Х
>>   userAgent
>>   false
>>   false
>>
>>
>>
>>   
>>  > http://www.w3.org/2001/XMLSchema-instance"";>
>>
>>  "+СтруктураПараметров.Operator+"
>> 
>>
>> "+СтруктураПараметров.adGroupId+"
>>   
>>   "+СтруктураПараметров.url+"
>>  
>>  "+СтруктураПараметров.displayUrl+"
>>  
>>  "+СтруктураПараметров.headline+"
>>  
>>  
>> "+СтруктураПараметров.description1+"
>>  
>>  
>> "+СтруктураПараметров.description2+"
>>
>>ENABLED
>>APPROVED
>>
>>   

Re: Check if Label already exists.

2015-01-15 Thread Shree
Hi Anash,

Thanks for the reply. It works.
I am very new to Adwords. It seems ambiguous to me to use field names as 
'id', 'name' while creating Label and to use fieldnames as 'LabelId', 
'LabelName' in selector.

Regards !

On Thursday, January 15, 2015 at 2:36:02 PM UTC+5:30, Anash P. Oommen 
(AdWords API Team) wrote:
>
> Hi Shree,
>
> The selector fields should be LabelId and LabelName. See the documentation 
> of Label type for details. 
> https://developers.google.com/adwords/api/docs/reference/v201409/LabelService.Label
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor.
>
> On Thursday, January 15, 2015 at 12:35:55 PM UTC+5:30, Shree wrote:
>>
>> I am trying to write a code in Python to check if Label 'MyLabel' already 
>> exists in my adwords account.
>> How to specify serviceSelector in LabelService.get ? How to make the code 
>> working ?
>> 
>> label_service = client.GetService('LabelService', version='v201409')
>> serviceSelector = {'fields': ['id', 'name'],
>>   'predicates' : {'field' : 'name', 'operator' : 
>> 'EQUALS', 'values' : 'MyLabel'}
>> }
>> result =  label_service.get(serviceSelector)
>>
>> Gives me error  for fields id and name : SelectorError.INVALID_FIELD_NAME 
>> @serviceSelector
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/018f6fee-65d1-4b38-855c-f3aa0cdb9405%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Дайте пример XML запроса для сервиса AdGroupAdService использующий TextAd

2015-01-15 Thread treto1ctest
tried to make:

http://www.w3.org/2001/XMLSchema-instance"";>

ERROR:

Unmarshalling Error: cvc-elt.4.2: Cannot resolve 'TextAd' to a type 
definition for element 'v20:ad'. 


четверг, 15 января 2015 г., 11:05:24 UTC+2 пользователь treto...@gmail.com 
написал:
>
> My request:
>
> 
> http://schemas.xmlsoap.org/soap/envelope/"; 
> xmlns:v20="https://adwords.google.com/api/adwords/cm/v201409";>
>
>   
>   xxx-xxx-
>   xx
>   
>   false
>   false
>
>
>
>   
>  http://www.w3.org/2001/XMLSchema-instance";>
> ADD
> 
>15754156713
>   
>   http://www.treto.ru
>   treto.ru
>   Тестовое объявление treto.ru
> 
>   description1: Тестовое объявление 
> treto.ru
>   description2: Тестовое объявление 
> treto.ru
>
>ENABLED
>APPROVED
>
>   Тестовое объявление treto.ru
>
> 
>  
>   
>
> 
>
> ERROR:
>
> Unmarshalling Error: ParseError at [row,col]:[18,46]
> Message: 
> http://www.w3.org/TR/1999/REC-xml-names-19990114#AttributePrefixUnbound?v20:ad&xsi:type&xsi
>  
>
> четверг, 15 января 2015 г., 0:41:25 UTC+2 пользователь Josh Radcliff 
> (AdWords API Team) написал:
>>
>> Hi,
>>
>> OK - here's an example that should help you get started:
>>
>> http://schemas.xmlsoap.org/soap/envelope/"; 
>>   xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
>> http://www.w3.org/2001/XMLSchema-instance";>
>> 
>> https://adwords.google.com/api/adwords/cm/v201409"; 
>> soapenv:mustUnderstand="0">
>> *xxx*
>> *xxx*
>> *xxx*
>> false
>> false
>> 
>> 
>> 
>> https://adwords.google.com/api/adwords/cm/v201409
>> ">
>> 
>> ADD
>> 
>> **
>> https://adwords.google.com/api/adwords/cm/v201409"; xsi:type="ns2:TextAd">
>> http://www.example.com
>> www.example.com
>> Luxury Cruise to Mars
>> Visit the Red Planet in 
>> style.
>> Low-gravity fun for 
>> everyone!
>> 
>> PAUSED
>> 
>> 
>> 
>> 
>> 
>>
>> Cheers,
>> Josh, AdWords API Team
>>
>> On Wednesday, January 14, 2015 at 1:51:59 PM UTC-5, treto...@gmail.com 
>> wrote:
>>>
>>> Hi,
>>> Thank you, but I can not use the client libraries for my programming 
>>> language they simply do not
>>> Could you give an example xml, using TekstAd?
>>>
>>> среда, 14 января 2015 г., 20:45:27 UTC+2 пользователь Josh Radcliff 
>>> (AdWords API Team) написал:

 Hi,

 I strongly recommend using one of our client libraries 
  instead 
 of manually constructing your SOAP messages. Each client library lets you 
 work with objects instead of XML elements, which makes building your 
 requests far easier.

 Thanks,
 Josh, AdWords API Team

 On Wednesday, January 14, 2015 at 11:31:24 AM UTC-5, treto...@gmail.com 
 wrote:
>
> Доброго времени суток!
>
> Делаю запрос к сервису AdGroupAdService. 
> Пример тела запроса:
>   
>  http://schemas.xmlsoap.org/soap/envelope/""; xmlns:v20=""
> https://adwords.google.com/api/adwords/cm/v201409"";>
>
>   
>   ХХХ
>   Х
>   userAgent
>   false
>   false
>
>
>
>   
>   http://www.w3.org/2001/XMLSchema-instance"";>
>
>  "+СтруктураПараметров.Operator+"
> 
>
> "+СтруктураПараметров.adGroupId+"
>   
>   "+СтруктураПараметров.url+"
>  
>  "+СтруктураПараметров.displayUrl+"
>  
>  "+СтруктураПараметров.headline+"
>  
>  "+СтруктураПараметров.description1+"
>  
>  "+СтруктураПараметров.description2+"
>
>ENABLED
>APPROVED
>
>   "Текст"
>
> 
>  
>   
>
> 
>
> в ответ получаю:
> "Unmarshalling Error: cvc-complex-type.2.4.a: Invalid content was 
> found starting with element 'v20:headline'. One of '{"
> https://adwords.google.com/api/adwords/cm/v201409":finalUrls, "
> https://adwords.google.com/api/adwords/cm/v201409":finalMobileUrls, "
> https://adwords.google.com/api/adwords/cm/v201409":finalAppUrls, "
> http

Re: Can no longer post offline conversions to Adwords

2015-01-15 Thread Anash P. Oommen (AdWords API Team)
Hi Sofia,

Did your account structure or login access change recently? Does the 
conversions you are uploading belong to an account that you (i.e. the 
account for which you have OAuth2 accessToken) have access to?

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Wednesday, January 14, 2015 at 1:06:44 AM UTC+5:30, Sofia Agboatwalla 
wrote:
>
> I was using the  Adwords API for sending offline conversions to Adwords. 
> They were going through and I could see them under Conversions in my 
> Adwords accounts.
> Then suddenly, I am seeing this error :
>
> AuthorizationError.USER_PERMISSION_DENIED @ ; trigger:'']
>
> What could have been a possible cause?
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ef89915c-d01e-4aa8-b8c1-75b67be9632b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Check if Label already exists in my account using Python

2015-01-15 Thread Anash P. Oommen (AdWords API Team)
Hi Shree,

I have responded to your original question 
on 
https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/adwords-api/luSgfAYfw7E/BciPew4OeBcJ

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Thursday, January 15, 2015 at 12:19:54 PM UTC+5:30, Shree wrote:
>
> I am trying to write code to check if 'MyLabel' already exists in Labels 
> before creating it. I am using Python.
> Using LabelService APIs how should be code written ? Actually I am looking 
> for the use of LabelService.get method but cannot specify serviceSelector 
> correctly.
> This code gives error for serviceSelector SelectorError.INVALID_FIELD_NAME
>
> label_service = client.GetService('LabelService', version='v201409')
> serviceSelector = {'fields': ['id', 'name'],
>   'predicates' : {'field' : 'name', 'operator' : 'EQUALS', 
> 'values' : 'MyLabel'}
> }
> result =  label_service.get(serviceSelector)
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f6e068f9-17d8-4c9d-bee6-dfec441f3e9d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Check if Label already exists.

2015-01-15 Thread Anash P. Oommen (AdWords API Team)
Hi Shree,

The selector fields should be LabelId and LabelName. See the documentation 
of Label type for 
details. 
https://developers.google.com/adwords/api/docs/reference/v201409/LabelService.Label

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Thursday, January 15, 2015 at 12:35:55 PM UTC+5:30, Shree wrote:
>
> I am trying to write a code in Python to check if Label 'MyLabel' already 
> exists in my adwords account.
> How to specify serviceSelector in LabelService.get ? How to make the code 
> working ?
> 
> label_service = client.GetService('LabelService', version='v201409')
> serviceSelector = {'fields': ['id', 'name'],
>   'predicates' : {'field' : 'name', 'operator' : 'EQUALS', 
> 'values' : 'MyLabel'}
> }
> result =  label_service.get(serviceSelector)
>
> Gives me error  for fields id and name : SelectorError.INVALID_FIELD_NAME 
> @serviceSelector
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7583f3cc-10d2-4c2c-bfac-b285f46ec466%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Дайте пример XML запроса для сервиса AdGroupAdService использующий TextAd

2015-01-15 Thread treto1ctest
My request:


http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:v20="https://adwords.google.com/api/adwords/cm/v201409";>
   
  
  xxx-xxx-
  xx
  
  false
  false
   
   
   
  
 http://www.w3.org/2001/XMLSchema-instance
">
ADD

   15754156713
  
  http://www.treto.ru
  treto.ru
  Тестовое объявление treto.ru
  description1: Тестовое объявление 
treto.ru
  description2: Тестовое объявление 
treto.ru
   
   ENABLED
   APPROVED
   
  Тестовое объявление treto.ru
   

 
  
   


ERROR:

Unmarshalling Error: ParseError at [row,col]:[18,46]
Message: 
http://www.w3.org/TR/1999/REC-xml-names-19990114#AttributePrefixUnbound?v20:ad&xsi:type&xsi
 

четверг, 15 января 2015 г., 0:41:25 UTC+2 пользователь Josh Radcliff 
(AdWords API Team) написал:
>
> Hi,
>
> OK - here's an example that should help you get started:
>
> http://schemas.xmlsoap.org/soap/envelope/"; 
>   xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";>
> 
> https://adwords.google.com/api/adwords/cm/v201409"; 
> soapenv:mustUnderstand="0">
> *xxx*
> *xxx*
> *xxx*
> false
> false
> 
> 
> 
> https://adwords.google.com/api/adwords/cm/v201409";>
> 
> ADD
> 
> **
> https://adwords.google.com/api/adwords/cm/v201409"; xsi:type="ns2:TextAd">
> http://www.example.com
> www.example.com
> Luxury Cruise to Mars
> Visit the Red Planet in 
> style.
> Low-gravity fun for 
> everyone!
> 
> PAUSED
> 
> 
> 
> 
> 
>
> Cheers,
> Josh, AdWords API Team
>
> On Wednesday, January 14, 2015 at 1:51:59 PM UTC-5, treto...@gmail.com 
> wrote:
>>
>> Hi,
>> Thank you, but I can not use the client libraries for my programming 
>> language they simply do not
>> Could you give an example xml, using TekstAd?
>>
>> среда, 14 января 2015 г., 20:45:27 UTC+2 пользователь Josh Radcliff 
>> (AdWords API Team) написал:
>>>
>>> Hi,
>>>
>>> I strongly recommend using one of our client libraries 
>>>  instead 
>>> of manually constructing your SOAP messages. Each client library lets you 
>>> work with objects instead of XML elements, which makes building your 
>>> requests far easier.
>>>
>>> Thanks,
>>> Josh, AdWords API Team
>>>
>>> On Wednesday, January 14, 2015 at 11:31:24 AM UTC-5, treto...@gmail.com 
>>> wrote:

 Доброго времени суток!

 Делаю запрос к сервису AdGroupAdService. 
 Пример тела запроса:
   
 >>> http://schemas.xmlsoap.org/soap/envelope/""; xmlns:v20=""
 https://adwords.google.com/api/adwords/cm/v201409"";>

   
   ХХХ
   Х
   userAgent
   false
   false



   
  >>> http://www.w3.org/2001/XMLSchema-instance"";>

  "+СтруктураПараметров.Operator+"
 

 "+СтруктураПараметров.adGroupId+"
   
   "+СтруктураПараметров.url+"
  
  "+СтруктураПараметров.displayUrl+"
  
  "+СтруктураПараметров.headline+"
  
  "+СтруктураПараметров.description1+"
  
  "+СтруктураПараметров.description2+"

ENABLED
APPROVED

   "Текст"

 
  
   

 

 в ответ получаю:
 "Unmarshalling Error: cvc-complex-type.2.4.a: Invalid content was found 
 starting with element 'v20:headline'. One of '{"
 https://adwords.google.com/api/adwords/cm/v201409":finalUrls, "
 https://adwords.google.com/api/adwords/cm/v201409":finalMobileUrls, "
 https://adwords.google.com/api/adwords/cm/v201409":finalAppUrls, "
 https://adwords.google.com/api/adwords/cm/v201409":trackingUrlTemplate, 
 "https://adwords.google.com/api/adwords/cm/v201409":urlCustomParameters, 
 "https://adwords.google.com/api/adwords/cm/v201409":devicePreference, "
 https://adwords.google.com/api/adwords/cm/v201409":Ad.Type}' is 
 expected. "

 Как мне использовать 
 https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupAdService.TextAd
  
 ?
 Может кто-то сталкивался? Как

Re: AdParameters adding

2015-01-15 Thread Anash P. Oommen (AdWords API Team)
Hi,

I recommend using ad customizers instead of ad params to achieve the same 
result. Ad customizers are more flexible than adparams, and you can set the 
rule to show customizer values at campaign, adgroup or keyword levels. See 
our https://developers.google.com/adwords/api/docs/guides/ad-customizers 
for examples and more technical details.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Thursday, January 15, 2015 at 1:11:30 PM UTC+5:30, Дмитрий Дмитриевич 
wrote:
>
> Hello!
> I'm using AdWords API (v201409) to manage my AdWords account. I want to 
> show product price in my text ads and update this price without recreating 
> my text ads. I know that in order to do this, I should use AdParameters. 
> For example, if I have 20 keywords in my AdGroup, is it necessary to set 
> AdParameter which contains product price to each keyword, or I should set 
> it to only one keyword?
> 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/8c75cd96-a53d-415c-aa13-7dfa52b5877c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Дайте пример XML запроса для сервиса AdGroupAdService использующий TextAd

2015-01-15 Thread treto1ctest
My request:


http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:v20="https://adwords.google.com/api/adwords/cm/v201409";>
   
  
  496-962-0130
  jrSUhkMn50elFT-Ff_qXTw
  1cAdWords
  false
  false
   
   
   
  
 http://www.w3.org/2001/XMLSchema-instance";>
ADD

   15719156713
  
  http://www.treto.ru
  treto.ru
  Тестовое объявление treto.ru
  description1: Тестовое объявление 
treto.ru
  description2: Тестовое объявление 
treto.ru
   
   ENABLED
   APPROVED
   
  Тестовое объявление treto.ru
   

 
  
   


ERROR:

Unmarshalling Error: ParseError at [row,col]:[18,46]
Message: 
http://www.w3.org/TR/1999/REC-xml-names-19990114#AttributePrefixUnbound?v20:ad&xsi:type&xsi
 

четверг, 15 января 2015 г., 9:37:04 UTC+2 пользователь treto...@gmail.com 
написал:
>
> Hi,
> Thank you, took your example:
>
> https://adwords.google.com/api/adwords/cm/v201409"; 
> xsi:type="ns2:TextAd">
> http://www.example.com
> www.example.com
> Luxury Cruise to Mars
> Visit the Red Planet in style.
> Low-gravity fun for everyone!
> 
>
> when sending a query, I get an error on the line:
>
> *https://adwords.google.com/api/adwords/cm/v201409 
> " xsi:type="ns2:TextAd">*
>
> *error*:
>
> *Unmarshalling Error: ParseError at [row,col]:[18,108]*
> *Message: 
> http://www.w3.org/TR/1999/REC-xml-names-19990114#AttributePrefixUnbound?v20:ad&xsi:type&xsi
>  
> *
>  
>
>
> четверг, 15 января 2015 г., 0:41:25 UTC+2 пользователь Josh Radcliff 
> (AdWords API Team) написал:
>>
>> Hi,
>>
>> OK - here's an example that should help you get started:
>>
>> http://schemas.xmlsoap.org/soap/envelope/"; 
>>   xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
>> http://www.w3.org/2001/XMLSchema-instance";>
>> 
>> https://adwords.google.com/api/adwords/cm/v201409"; 
>> soapenv:mustUnderstand="0">
>> *xxx*
>> *xxx*
>> *xxx*
>> false
>> false
>> 
>> 
>> 
>> https://adwords.google.com/api/adwords/cm/v201409
>> ">
>> 
>> ADD
>> 
>> **
>> https://adwords.google.com/api/adwords/cm/v201409"; xsi:type="ns2:TextAd">
>> http://www.example.com
>> www.example.com
>> Luxury Cruise to Mars
>> Visit the Red Planet in 
>> style.
>> Low-gravity fun for 
>> everyone!
>> 
>> PAUSED
>> 
>> 
>> 
>> 
>> 
>>
>> Cheers,
>> Josh, AdWords API Team
>>
>> On Wednesday, January 14, 2015 at 1:51:59 PM UTC-5, treto...@gmail.com 
>> wrote:
>>>
>>> Hi,
>>> Thank you, but I can not use the client libraries for my programming 
>>> language they simply do not
>>> Could you give an example xml, using TekstAd?
>>>
>>> среда, 14 января 2015 г., 20:45:27 UTC+2 пользователь Josh Radcliff 
>>> (AdWords API Team) написал:

 Hi,

 I strongly recommend using one of our client libraries 
  instead 
 of manually constructing your SOAP messages. Each client library lets you 
 work with objects instead of XML elements, which makes building your 
 requests far easier.

 Thanks,
 Josh, AdWords API Team

 On Wednesday, January 14, 2015 at 11:31:24 AM UTC-5, treto...@gmail.com 
 wrote:
>
> Доброго времени суток!
>
> Делаю запрос к сервису AdGroupAdService. 
> Пример тела запроса:
>   
>  http://schemas.xmlsoap.org/soap/envelope/""; xmlns:v20=""
> https://adwords.google.com/api/adwords/cm/v201409"";>
>
>   
>   ХХХ
>   Х
>   userAgent
>   false
>   false
>
>
>
>   
>   http://www.w3.org/2001/XMLSchema-instance"";>
>
>  "+СтруктураПараметров.Operator+"
> 
>
> "+СтруктураПараметров.adGroupId+"
>   
>   "+СтруктураПараметров.url+"
>  
>  "+СтруктураПараметров.displayUrl+"
>  
>  "+СтруктураПараметров.headline+"
>  
>  "+СтруктураПараметров.description1+"
>  
>  "+СтруктураПараметров.description2+"
>
>ENABLED
>APPROVED
>
>   "Те

Check if Label already exists.

2015-01-15 Thread Shree
I am trying to write a code in Python to check if Label 'MyLabel' already 
exists in my adwords account.
How to specify serviceSelector in LabelService.get ? How to make the code 
working ?

label_service = client.GetService('LabelService', version='v201409')
serviceSelector = {'fields': ['id', 'name'],
  'predicates' : {'field' : 'name', 'operator' : 'EQUALS', 
'values' : 'MyLabel'}
}
result =  label_service.get(serviceSelector)

Gives me error  for fields id and name : SelectorError.INVALID_FIELD_NAME 
@serviceSelector

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/925f6ebc-e8a4-4d3d-98d7-1245592a3e8a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Check if Label already exists in my account using Python

2015-01-15 Thread Shree
I am trying to write code to check if 'MyLabel' already exists in Labels 
before creating it. I am using Python.
Using LabelService APIs how should be code written ? Actually I am looking 
for the use of LabelService.get method but cannot specify serviceSelector 
correctly.
This code gives error for serviceSelector SelectorError.INVALID_FIELD_NAME

label_service = client.GetService('LabelService', version='v201409')
serviceSelector = {'fields': ['id', 'name'],
  'predicates' : {'field' : 'name', 'operator' : 'EQUALS', 
'values' : 'MyLabel'}
}
result =  label_service.get(serviceSelector)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5020e623-f640-4b6d-acfe-a59a6072c39a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How Build an APP for android/ios to consume full API AdWords ?

2015-01-15 Thread Anash P. Oommen (AdWords API Team)
Hi Gilberto,

There is no iOS library for AdWords API. Java should work for Android, but 
if it doesn't, you can request help on this forum. Another probable option 
would be to use Xamarin's mono + AdWords API .NET library to do 
cross-platform development for both iOS and Android.

That said, I would recommend against making API calls directly from a 
mobile device to AdWords API. AdWords API is very heavy in terms of data 
retrieved (e.g. a 500MB report is not uncommon depending on the account 
size and date range), and it would drain the battery and storage of the 
mobile device pretty fast. The user would also incur significant data costs 
in such cases. My recommendation would be to build the AdWords API logic on 
a server, and have the mobile device talk to that service to retrieve the 
processed data.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Wednesday, January 14, 2015 at 11:18:17 PM UTC+5:30, Gilberto Ibarra 
wrote:
>
> At my work a client  needs to control the entire Adwords api from his 
> mobile device IOS / ANDROID there any tools I can use to consume SOAP 
> services without constructing them?.
>
> There is a Java library for using the API, you can use Android pair ?.
>
> What would be the best solution for consuming services from Android / IOS.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e17df859-aee1-435b-9097-c3331d2a46c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.