Re: Placement Performance Report - ID field null

2016-10-13 Thread 'Thanet Knack Praneenararat (AdWords API Team)' via AdWords API Forum
Hi Chirag,

I once replied to Mark privately, but it seems I forgot to relay 
information here as well.
To exclude *automatic placements, *please do as follows:

Add a NegativeAdGroupCriterion 

 to 
a certain ad group, setting its Criterion.Type 

 to 
*PLACEMENT.*Then, set its url 

 to 
the same one you would like to exclude (the original *automatic placement* of 
your interest).
Finally, use AdGroupCriterionService to execute an ADD operation of the 
*AdGroupCriterion*.
Note that in this way, the *automatic placements *will be changed to 
*managed* one.

To get *automatic placements*, please run 
AUTOMATIC_PLACEMENTS_PERFORMANCE_REPORT 

.

Best,
Thanet, AdWords API Team

On Thursday, October 13, 2016 at 7:35:49 PM UTC+9, Chirag wrote:
>
> Hello Mark/Thanet,
>
> I am also in same situation. i wants to pause/exclude placements with 
> automatic placements.
>
> Any workaround to pause automatic placements using API?
>
> Thanks,
>
>
> On Friday, 10 July 2015 11:41:35 UTC+5:30, Thanet Knack Praneenararat 
> (AdWords API Team) wrote:
>>
>> Hello Mark,
>>
>> AdWords script is not my expertise but I'm asking my colleagues for you.
>> My guess is that it might be not so different between the script and the 
>> API.
>>
>> You may get 0 as an ID if you call getId() of 
>> 
>> AdWordApp.Placement 
>> 
>> .
>>
>> By the way, as you may know, you can use Automatic Placements 
>> Performance Report 
>> 
>>  to 
>> get only rows for *automatic placements*.
>>
>> Cheers,
>> Thanet, AdWords API Team
>>
>> On Friday, July 10, 2015 at 6:39:02 AM UTC+9, Mark R wrote:
>>>
>>> Hey Thanet,
>>>
>>> Followup question - would we be able to interact with Automatic 
>>> Placements if we were to use an AdWords script 
>>> ?
>>>
>>> Thanks,
>>> Mark
>>>
>>> On Thursday, July 9, 2015 at 9:12:55 AM UTC-7, Mark R wrote:

 Hey Thanet,

 Thanks for the clarification.  That was my assumption after trying 
 different avenues ourselves.

 Regards,
 Mark

 On Thursday, July 9, 2015 at 1:59:09 AM UTC-7, Thanet Knack 
 Praneenararat (AdWords API Team) wrote:
>
> Hi Mark,
>
> No, as I mentioned before, automatic placements don't receive 
> Criterion ID, that's why their ID are shown as "--" in 
> PLACEMENT_PERFORMANCE_REPORT and as 0 in AdWords user interface.
> I apologize that I suggested wrongly. In fact, you cannot obtain the 
> placements without ID, namely automatic placements, via 
> AdGroupCriterionService.
> The service only returns those with criterion IDs.
>
> I'll look for other possible workarounds and will get you updated in 
> case we have ones.
> But possibly they are not returned by Selector due to the fact that 
> they are not supposed to be added/deleted by users at first place.
>
> Cheers,
> Thanet, AdWords API Team
>
> On Thursday, July 9, 2015 at 1:04:23 AM UTC+9, Mark R wrote:
>>
>> Hey Thanet,
>>
>> I'm using a very similar implementation of the googleads-java-lib 
>> example, but that is still not grabbing all the placements.
>>
>> At a high level, does an Automatic Placements even get a Criterion ID?
>>
>> Thanks,
>> Mark
>>
>> On Tuesday, July 7, 2015 at 10:30:37 PM UTC-7, Thanet Knack 
>> Praneenararat (AdWords API Team) wrote:
>>>
>>> Hello Mark,
>>>
>>> You can use a Selector of AdGroupCriterionService 
>>> 
>>>  
>>> to get placement URLs by the field *PlacementUrl*.
>>>
>>> This code example 
>>> 
>>>  
>>> might be similar to what you would like to do.
>>> Just change the code from using the type *KEYWORD *to *PLACEMENT *
>>> instead.
>>>
>>> Cheers,
>>> Thanet, AdWords API Team
>>>
>>> On Wednesday, July 8, 2015 at 3:25:03 AM UTC+9, Mark R wrote:

 Hey 

Remove all excluded IP from account

2016-10-13 Thread vj
Hi,

Is that possible to remove all excluded ips from account using api??

I tried to remove sinlge ip using api , that ip was removed using api but 
now i wants to remove all the ips that i excluded in account without 
passing all ip address at a time. 

is it possible via api?? 

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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c477d734-dccc-4c9d-ba59-5e1c10621435%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: About create / update Ads via API.

2016-10-13 Thread T.Motodate
Thanks a lot for your kindness, Joyce!

2016年10月14日金曜日 11時11分56秒 UTC+9 Joyce Lava:
>
> Hello,
>
> Glad to hear that I was able to help. Just to add, for second concern, I 
> recommend adding the new ad first before deleting the old one just to make 
> sure that the new ad will be available already before the old one gets 
> removed from the adGroup.
>
> Thanks,
> Joyce, AdWords API Team
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ac052d88-d4a2-4de0-8b93-0e8302451259%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: About create / update Ads via API.

2016-10-13 Thread 'Joyce Lava' via AdWords API Forum
Hello,

Glad to hear that I was able to help. Just to add, for second concern, I 
recommend adding the new ad first before deleting the old one just to make 
sure that the new ad will be available already before the old one gets 
removed from the adGroup.

Thanks,
Joyce, AdWords API Team

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ce34848b-2839-4c1e-9db9-06283e2000b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: About create / update Ads via API.

2016-10-13 Thread T.Motodate
Thank you very much for your answer, Joyce!

About Question1:
I'll try to create according to your answer.

About Question2:
Got it.
The way that removing old ads and creating new ads can realize our 
requirements.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2aece853-2fcc-4898-8670-c89cf74f3cd0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Update CPC Segmentations Display via API

2016-10-13 Thread 'Nadine Sundquist (AdWords API Team)' via AdWords API Forum
Hello Victor,

That field is understandably confusing. We're looking at trying to make the 
field more consistent with the user interface. In the meantime, here's the 
mapping of how 3 fields in the report map to what you see in the user 
interface:

status | isNegative | isRestrict | UI status
---|||--
enabled|  false |   |active
enabled|   true |   |   removed
removed|  false |   true |   removed
removed|  false |  false |active
removed|   true |   |  

You'll need to take into account isNegative 

 
and isRestrict 

 along 
with Status 

 
in the report to come up with the UI status.

Best,
Nadine, AdWords API Team

On Monday, October 10, 2016 at 2:05:37 PM UTC-4, Shwetha Vastrad (AdWords 
API Team) wrote:
>
> Hi Victor, 
>
> You can change the CPC 
> 
>  and status 
> 
>  of 
> the criteria types listed above using AdGroupCriterionService 
> .
>  
> Please make sure that you have added these criteria to your ad groups 
> before making any changes. Different criteria types can be added or 
> excluded at the campaign level or ad group level based on the type of 
> campaign. This table 
>  
> provides 
> different targeting and bidding options available at the campaign and ad 
> group level for each criterion type. 
>
> If you have enabled bidding on Age Range criterion at the ad group level, 
> you should expect a status of "ENABLED" in the Age Range Performance 
> Report 
> .
>  
> Could you provide the complete report definition used along with your 
> clientCustomerId so I can further investigate? Please use *Reply 
> privately to author* when responding. 
>
> Thanks,
> Shwetha, AdWords API Team.
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2bbf38b7-945d-4661-9d91-f7f3cfc6af87%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to avoid OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY error

2016-10-13 Thread 'Vishal Vinayak (Adwords API Team)' via AdWords API Forum
Hi Cindy,

In that case, I would recommend keeping the Campaign ID / Ad Group ID - 
Keyword mapping saved in your local database. You can first perform a basic 
check on whether an ad group / campaign exists before performing updates on 
the keyword. Multiple sanity check actions can be grouped into a single 
operation with a batch job, to optimize the performance. Also, you can set 
the partialFailure 
 SOAP 
header to true so that the operations that fail would be ignored.

Regards,
Vishal, AdWords API Team

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/974ced30-d47e-46de-922f-4ca16123f266%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Getting below error while creating a token through google api

2016-10-13 Thread 'Vishal Vinayak (Adwords API Team)' via AdWords API Forum
Hi Hanuman, 

Looks like you might have missed some configuration (client ID, client 
secret, developer token etc.) or not used the correct values on your Linux 
system. Could you please double check if you are using correct values in 
your properties file? Please use this forum post 
 as a 
reference. 

If that doesn't solve the problem, could you please also check if your 
system clock on the Linux system is correct? 

Regards,
Vishal, AdWords API Team

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1b9290a5-0e69-4596-bcd2-1ff40289812d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to avoid OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY error

2016-10-13 Thread Cindy J
Thanks Vishal!

I also found there's such limit:

   - When using IN and NOT_IN operators in your WHERE clause, you are 
   limited to 10,000 items.

So the best solution would require multiple get to fetch all keywords then?

On Thursday, October 13, 2016 at 1:57:36 PM UTC-5, Vishal Vinayak (Adwords 
API Team) wrote:
>
> Hi Cindy,
>
> That is correct. You may see the 
> OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY 
> 
>  error 
> if you try to update an entity that is already been removed. 
>
> Unfortunately, there aren't too may ways to bypass this mechanism since 
> this is in place to check system's integrity. The correct way to perform 
> this routine, indeed, would be to select only the active campaigns/ad 
> groups and update keywords for those campaigns/ ad groups. More details are 
> available on this forum post 
> 
> .
>
> To group multiple actions in one operation, I would also suggest having a 
> look at the batch job service 
> .
>
> Regards,
> Vishal, AdWords API Team
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/254bbed0-2627-42f9-b738-5e2e697074d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


New to position - linked to manager Account, have developer token, need to download v201609

2016-10-13 Thread Kelly King
I recently replaced a previous developer in this position. I am new to 
Adwords and looking for some help obtaining v201609 API.

I have developer taken and linked to manager account. Looking to update 
various pre-existing application prior to version being eliminated.

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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/02a99d6d-8cda-4784-b407-3d5578692474%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How exactly do you download v201609 - New to this position

2016-10-13 Thread Kelly King
I am replacing a previous developer and new to Adworks. I am linked to 
manager account, where do i go to download current API version?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/67ec270b-edb9-4b7c-b22d-69328a4c2b1e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to avoid OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY error

2016-10-13 Thread 'Vishal Vinayak (Adwords API Team)' via AdWords API Forum
Hi Cindy,

That is correct. You may see the OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY 

 error 
if you try to update an entity that is already been removed. 

Unfortunately, there aren't too may ways to bypass this mechanism since 
this is in place to check system's integrity. The correct way to perform 
this routine, indeed, would be to select only the active campaigns/ad 
groups and update keywords for those campaigns/ ad groups. More details are 
available on this forum post 

.

To group multiple actions in one operation, I would also suggest having a 
look at the batch job service 
.

Regards,
Vishal, AdWords API Team

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/85b0af38-ef47-4692-b4bc-dd8be8172064%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Kratu Script Error

2016-10-13 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi,

On this forum, we support queries related to AdWords API. I would suggest 
that you post your question on the AdWords Scripts Forum 

 and 
your issue can be resolved there.

Regards,
Shwetha, AdWords API Team.

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/992bbb89-30b5-4721-9720-f255fa2a9c0e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to avoid OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY error

2016-10-13 Thread Cindy J
Hi there,

I have an account with about 100,000 ad groups, millions of keywords and 
many campaigns. While I was trying to update keywords, it's quite often to 
have OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY error.

I know I could use campaignService and adGroupService to retrieve active 
campaigns/ad groups only, and then filter out keywords within these 
campaigns/ad groups - but because of the volume of ad groups/keywords, it 
would be really inefficient to perform such check before updating. 

Is there a better way to handle such error or can I set to specifically 
ignore this error? (I was bulk updating keywords, so one operation failure 
would lead to failure of the batch)

Thanks,
Cindy

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5421a754-b840-4945-9c43-eba30217a46f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Different results in Web Interface and API

2016-10-13 Thread 'Michael Cloonan (AdWords API Team)' via AdWords API Forum
Hello,

Not yet. The engineering team is still investigating. I will update here as 
I have more to share.

Regards,
Mike, AdWords API Team

On Thursday, October 13, 2016 at 9:27:40 AM UTC-4, Владислав Соколенко 
wrote:
>
> Hello.
>
> Can you tell me, is problem solved or not?
>
> четверг, 15 сентября 2016 г., 17:14:20 UTC+3 пользователь Michael Cloonan 
> (AdWords API Team) написал:
>>
>> Hello,
>>
>> I apologize for the very slow turnaround on this issue. I have escalated 
>> internally again as much as I am able to, so hopefully someone will take a 
>> serious look soon. Until then, unfortunately, I have nothing more to share.
>>
>> Regards,
>> Mike, AdWords API Team
>>
>>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0aafa857-e12d-49e8-91d9-d5b609c88011%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Kratu Script Error

2016-10-13 Thread nlmcorporateppc
Good morning,

I'm setting up the Kratu script - 
https://developers.google.com/adwords/scripts/docs/solutions/mccapp-kratu - 
to run on my account and I can't get past the following error:

var accountSelector = MccApp.accounts(); 


I updated the following before previewing script:

SPREADSHEET_URL

Scheduled the script to run hourly


Has anyone encountered this issue?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/22c72ff0-250b-437a-bed4-411e4844837c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Getting below error while creating a token through google api

2016-10-13 Thread Hanuman Ram Kumawat
Hi All,

I am trying to get token from google API but getting the below error

Note: But when I am trying this on Windows system, working fine but not 
working on Linux system.

2016-10-10 23:55:08,906 ERROR [STDERR] (http-0.0.0.0-8080-8) 
com.google.api.client.auth.oauth2.TokenResponseException: 400 Bad Request 
{   "error" : "invalid_grant",   "error_description" : "Invalid JWT: Token 
must be a short-lived token and in a reasonable

Thanks,
Hanuman

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/72b5d47f-fe5a-4199-911b-6cbdb92d330e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Different results in Web Interface and API

2016-10-13 Thread Владислав Соколенко
Hello.

Can you tell me, is problem solved or not?

четверг, 15 сентября 2016 г., 17:14:20 UTC+3 пользователь Michael Cloonan 
(AdWords API Team) написал:
>
> Hello,
>
> I apologize for the very slow turnaround on this issue. I have escalated 
> internally again as much as I am able to, so hopefully someone will take a 
> serious look soon. Until then, unfortunately, I have nothing more to share.
>
> Regards,
> Mike, AdWords API Team
>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/24d9b713-765c-45fa-ae85-357749b2b120%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Placement Performance Report - ID field null

2016-10-13 Thread Chirag
Hello Mark/Thanet,

I am also in same situation. i wants to pause/exclude placements with 
automatic placements.

Any workaround to pause automatic placements using API?

Thanks,


On Friday, 10 July 2015 11:41:35 UTC+5:30, Thanet Knack Praneenararat 
(AdWords API Team) wrote:
>
> Hello Mark,
>
> AdWords script is not my expertise but I'm asking my colleagues for you.
> My guess is that it might be not so different between the script and the 
> API.
>
> You may get 0 as an ID if you call getId() of 
> 
> AdWordApp.Placement 
> 
> .
>
> By the way, as you may know, you can use Automatic Placements Performance 
> Report 
> 
>  to 
> get only rows for *automatic placements*.
>
> Cheers,
> Thanet, AdWords API Team
>
> On Friday, July 10, 2015 at 6:39:02 AM UTC+9, Mark R wrote:
>>
>> Hey Thanet,
>>
>> Followup question - would we be able to interact with Automatic 
>> Placements if we were to use an AdWords script 
>> ?
>>
>> Thanks,
>> Mark
>>
>> On Thursday, July 9, 2015 at 9:12:55 AM UTC-7, Mark R wrote:
>>>
>>> Hey Thanet,
>>>
>>> Thanks for the clarification.  That was my assumption after trying 
>>> different avenues ourselves.
>>>
>>> Regards,
>>> Mark
>>>
>>> On Thursday, July 9, 2015 at 1:59:09 AM UTC-7, Thanet Knack 
>>> Praneenararat (AdWords API Team) wrote:

 Hi Mark,

 No, as I mentioned before, automatic placements don't receive Criterion 
 ID, that's why their ID are shown as "--" in PLACEMENT_PERFORMANCE_REPORT 
 and as 0 in AdWords user interface.
 I apologize that I suggested wrongly. In fact, you cannot obtain the 
 placements without ID, namely automatic placements, via 
 AdGroupCriterionService.
 The service only returns those with criterion IDs.

 I'll look for other possible workarounds and will get you updated in 
 case we have ones.
 But possibly they are not returned by Selector due to the fact that 
 they are not supposed to be added/deleted by users at first place.

 Cheers,
 Thanet, AdWords API Team

 On Thursday, July 9, 2015 at 1:04:23 AM UTC+9, Mark R wrote:
>
> Hey Thanet,
>
> I'm using a very similar implementation of the googleads-java-lib 
> example, but that is still not grabbing all the placements.
>
> At a high level, does an Automatic Placements even get a Criterion ID?
>
> Thanks,
> Mark
>
> On Tuesday, July 7, 2015 at 10:30:37 PM UTC-7, Thanet Knack 
> Praneenararat (AdWords API Team) wrote:
>>
>> Hello Mark,
>>
>> You can use a Selector of AdGroupCriterionService 
>> 
>>  
>> to get placement URLs by the field *PlacementUrl*.
>>
>> This code example 
>> 
>>  
>> might be similar to what you would like to do.
>> Just change the code from using the type *KEYWORD *to *PLACEMENT *
>> instead.
>>
>> Cheers,
>> Thanet, AdWords API Team
>>
>> On Wednesday, July 8, 2015 at 3:25:03 AM UTC+9, Mark R wrote:
>>>
>>> Hey Thanet,
>>>
>>> Can you point me towards an API call that uses the Placement 
>>> description as suggested?
>>>
>>> Thanks,
>>> Mark
>>>
>>> On Tuesday, July 7, 2015 at 7:18:52 AM UTC-7, Mark R wrote:

 Hey Thanet,

 Thanks for the info.  We'll look into alternative methods for 
 updating the Automatic placements.

 Regards,
 Mark

 On Tuesday, July 7, 2015 at 1:48:39 AM UTC-7, Thanet Knack 
 Praneenararat (AdWords API Team) wrote:
>
> Hello Mark,
>
> Thanks for your clarification.
>
> I still think that you should ignore those placements without IDs 
> or not offer them to your users.
> Originally, they are *automatic* placements (i.e., you or your 
> user haven't created them), not the *managed* placements that you 
> can add or delete.
>
> If you still would like to tweak around them, the best possible 
> way might be using their descriptions instead of IDs.
>
> Cheers,
> Thanet, AdWords API Team
>
> On Tuesday, July 7, 2015 at 2:28:33 AM UTC+9, Mark R wrote:
>>
>> Hey Thanet,
>>
>>  

Re: About create / update Ads via API.

2016-10-13 Thread 'Joyce Lava' via AdWords API Forum
Hello,

Please see below my answers to the questions:

1) About create banner ad.

There is no example code available that shows how to create banner ad. 
> However, you may use the AddExpandedTextAds.java 
> 
>  (Java 
> client library example code) as a reference to create an ImageAd 
> 
>  or 
> use any Template Ads 
>  
> available 
> in the API. Please follow these steps to help you get started:
>
 

a. create the ImageAd 
> 
>  object; 
> required fields can be seen in the doc.
> b. create the Image 
> 
>  object. 
> Please consider the image requirements 
>  when 
> creating the Image object. Set this image to the ImageAd created in step a. 
> c. set the ImageAd as the ad 
> 
>  of 
> the AdGroupAd 
> ,
>  
> then do the AdGroupAdService.mutate 
> 
>  operation.
>
 

The AddHtml5Ad.java 
> 
>  (Java 
> client library example code) can also be used as a reference when dealing 
> with creation of TemplateAds. Available Template Ads are provided in the 
> link above. Other client libraries example codes are available here 
> .


2) About update ads.

The only field that you can update in an ad is the status field as 
> discussed here 
> .
>  
> There is no available example code that shows how to update the 
> adGroupAdStatus 
> 
>  but 
> you may refer to the below SOAP logs to see how it is being done. 
>
 

http://schemas.xmlsoap.org/soap/envelope/; 
> xmlns:xsd="http://www.w3.org/2001/XMLSchema; 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;>
> 
>  xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201609; 
> soapenv:mustUnderstand="0">
> 
> YOUR_CLIENT_CUSTOMER_ID
> YOUR_DEVELOPER_TOKEN
> YOUR_USER_AGENT
> false
> false
> 
> 
> 
> https://adwords.google.com/api/adwords/cm/v201609;>
> 
> SET
> 
> YOUR_ADGROUP_ID
> 
> YOUR_AD_ID
> 
> PAUSED
> 
> 
> 
> 
> 


> Additionally, If you need to update any other fields, then yes, you need 
> to remove the existing ad and create a new one.


Hope this helps.

Best,
Joyce, AdWords API Team 

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/28cf94ea-a162-46c3-950b-39b195dedd6c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Missing TARGETED_MONTHLY_SEARCHES from response

2016-10-13 Thread 'Peter Oliquino' via AdWords API Forum
Hi, 

As this is already a very old thread, I would recommend that you create a 
new one regarding your issue. This will help us track the cases better.

Cheers,
Peter
AdWords API Team

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0c5d0e27-2879-4fcc-8866-22483a7a3afd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.