Re: Read timed out on API calls

2016-09-19 Thread Tomas Rimkus
It seems to be working well for us too since Friday.
It would be nice if google developers could share what was the problem on 
their end which caused the timeouts.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2981da6e-4e89-4b6f-97a2-80ce1b704b34%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Read timed out on API calls

2016-09-13 Thread Tomas Rimkus
We are running Amazon EC2 instance located in Frankfurt, Germany.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b3c7037d-365a-4680-9bca-21e1c607a684%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Read timed out on API calls

2016-09-13 Thread Tomas Rimkus
I can confirm that the issue is still present. At least one report download 
failed after multiple retries due to read time-out on our end.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1df2fec6-dfb2-4dd4-8748-745d44cf44f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Read timed out on API calls

2016-09-09 Thread Tomas Rimkus
Hi,

We are experiencing exactly the same problem since 7th of September when 
using Reporting API. It seems the time-outs occur for some accounts more 
often than the others.
It's also taking way too long for the connection to be dropped because of 
"time-out" with default settings. How can we set max time-out time in PHP 
client library?

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

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


Re: CustomerSyncService does not return changedFeeds in CampaignChangeData object

2016-05-03 Thread Tomas Rimkus
And it only took ~1 year to fix it...

On Monday, May 2, 2016 at 8:32:51 PM UTC+2, Josh Radcliff (AdWords API 
Team) wrote:
>
> Hi,
>
> Good news: this issue was recently fixed. If you find you are still 
> running into problems when specifying both campaign and feed IDs, please 
> let me know.
>
> Thanks,
> Josh, AdWords API Team
>
> On Thursday, February 25, 2016 at 11:37:34 AM UTC-5, Josh Radcliff 
> (AdWords API Team) wrote:
>>
>> Hi,
>>
>> Still no update, unfortunately. Since fixing this would change the 
>> behavior of *CustomerSyncService*, I would only expect this to be 
>> addressed in a new version of the AdWords API and announced on our blog 
>> <http://googleadsdeveloper.blogspot.com/search/label/adwords_api>. You 
>> can subscribe to updates to the blog by joining the AdWords API 
>> Announcements group 
>> <https://groups.google.com/forum/#!forum/adwordsapi-announcements>.
>>
>> In the meantime, if I get any additional information I'll be sure to post 
>> it to this discussion.
>>
>> Thanks,
>> Josh, AdWords API Team
>>
>> On Thursday, February 25, 2016 at 8:31:12 AM UTC-5, Chirag wrote:
>>>
>>> Hello Josh,
>>>
>>> Any update on this.
>>> Actually i am also facing same issue, the feeds are changed but it is 
>>> not reflecting as changedfeeds for customerSyncservice.
>>>
>>> Thanks,
>>>
>>>
>>> On Friday, 6 March 2015 21:11:14 UTC+5:30, Josh Radcliff (AdWords API 
>>> Team) wrote:
>>>>
>>>> Hi,
>>>>
>>>> I just reached out to the engineering team for an update. I'll post 
>>>> back here as soon as I hear from them.
>>>>
>>>> Thanks,
>>>> Josh, AdWords API Team
>>>>
>>>> On Friday, March 6, 2015 at 4:43:55 AM UTC-5, Tomas Rimkus wrote:
>>>>>
>>>>> On Friday, February 6, 2015 at 3:22:17 PM UTC+1, Tomas Rimkus wrote:
>>>>>
>>>>>> * If I set both campaignIds and feedIds in CustomerSyncSelector 
>>>>>> object, I always get an empty response. Why can't I get both campaign 
>>>>>> and 
>>>>>> feed changes at once? Why do I have to do two requests?
>>>>>>
>>>>>
>>>>> Any update on 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/629c90af-382d-4c84-8e96-d5c9167f45e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Revoke OAuth token using API

2016-01-22 Thread Tomas Rimkus
Assuming some user gave access to his MCC account using OAuth token, is 
there a way to revoke that token by using some Google API request? I know 
that the user can go to his "Connected apps and sites" in his account and 
revoke access there but I would like to have an option to do that using our 
system.

PS: I saw the thread from 2012 which says it's not possible, but maybe sth 
changed since then.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/98786798-9e65-4d7b-9326-57d51caa0a55%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Revoke OAuth token using API

2016-01-22 Thread Tomas Rimkus
Apparently AdWords API client libraries don't provide the functionality but 
it's possible by making a simple http POST request to 
https://accounts.google.com/o/oauth2/revoke?token=YOUR_REFRESH_TOKEN . Here 
is how it's implemented in the generic google API client library: 
https://github.com/google/google-api-php-client/blob/master/src/Google/AccessToken/Revoke.php

On Friday, January 22, 2016 at 2:48:45 PM UTC+1, Tomas Rimkus wrote:
>
> Assuming some user gave access to his MCC account using OAuth token, is 
> there a way to revoke that token by using some Google API request? I know 
> that the user can go to his "Connected apps and sites" in his account and 
> revoke access there but I would like to have an option to do that using our 
> system.
>
> PS: I saw the thread from 2012 which says it's not possible, but maybe sth 
> changed since then.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/cf9b48b6-7635-45ae-9afc-c337017a8538%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Allowed non-alphanumeric ASCII characters in Keyword, Sitelink, Callout and Ad text

2015-07-29 Thread Tomas Rimkus
Ad Using special characters with your ads section is quite vague. Does it 
mean any ASCII character except the gimmicky ones can be used including 
`~,.?!@#$%^*()/\'| ?

On Monday, July 27, 2015 at 10:46:08 PM UTC+2, Anthony Madrigal wrote:

 Hello Tomas,

 I have provided the text requirements for each of the following:

- Ads https://support.google.com/adwords/answer/1704389 - check the* 
 Using 
special characters with your ads *section
- Sitelinks https://support.google.com/adwordspolicy/answer/1054210 - 
check *Link text requirements*
- Callout https://support.google.com/adwordspolicy/answer/6084196 - 
check *Callout text requirements*

 Cheers,
 Anthony
 AdWords API Team


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

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


Allowed non-alphanumeric ASCII characters in Keyword, Sitelink, Callout and Ad text

2015-07-27 Thread Tomas Rimkus
I would like to know what are allowed non-alphanumeric ASCII characters in 
Keyword, Sitelink, Callout and Ad text. If you could share full regex for 
validating each of them would be even better.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/28279f6d-0366-4c20-bb9c-8dd65a6576f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Allowed non-alphanumeric ASCII characters in Keyword, Sitelink, Callout and Ad text

2015-07-27 Thread Tomas Rimkus
Hi Anthony,
Thanks for your answer, but keyword text rules is only part of the 
question. Callout, ad and sitelink text has other kind of restrictions. 
Where can I find detailed information about them?

On Monday, July 27, 2015 at 8:38:22 PM UTC+2, Anthony Madrigal wrote:

 Hi Tomas,

 There are only a few non-alphanumeric characters that you can use such as 
 dashes and periods. This Help Center guide 
 https://support.google.com/adwords/answer/2453980?hl=en#symbol gives a 
 detailed description on what is allowed or what isn't.

 Cheers,
 Anthony
 AdWords API Team


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

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


Re: CustomerSyncService does not return changedFeeds in CampaignChangeData object

2015-03-06 Thread Tomas Rimkus
On Friday, February 6, 2015 at 3:22:17 PM UTC+1, Tomas Rimkus wrote:

 * If I set both campaignIds and feedIds in CustomerSyncSelector object, I 
 always get an empty response. Why can't I get both campaign and feed 
 changes at once? Why do I have to do two requests?


Any update on 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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b233f245-d3a4-4c0b-bb14-abbcfeaf42ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CustomerSyncService does not return changedFeeds in CampaignChangeData object

2015-02-11 Thread Tomas Rimkus
So, if I create a new Feed and associate it with a Campaign using 
CampaignFeedService, the ID of the new Feed should show up 
under changedCampaigns-changedFeeds when checking for campaign changes? Is 
that correct?

On Wednesday, February 11, 2015 at 12:22:23 AM UTC+1, Josh Radcliff 
(AdWords API Team) wrote:

 Hi,

 The CampaignChangeData.changedFeeds 
 https://developers.google.com/adwords/api/docs/reference/v201409/CustomerSyncService.CampaignChangeData#changedFeeds
  collection 
 does not reflect changes to attributes of *Feed**Items*. Instead, it 
 reflects changes to the *association* between a Campaign and a Feed -- 
 that's why *changedFeeds* is a collection of *Feed* IDs instead of a 
 collection of *FeedItem* IDs. This association can change due to a change 
 in CampaignFeed 
 https://developers.google.com/adwords/api/docs/reference/v201409/CampaignFeedService.CampaignFeed
  objects 
 or a change in FeedItem.campaignTargeting 
 https://developers.google.com/adwords/api/docs/reference/v201409/FeedItemService.FeedItem#campaignTargeting
 .

 For changes to individual *FeedItem*s, you should look at the 
 CustomerChangeData.changedFeeds 
 https://developers.google.com/adwords/api/docs/reference/v201409/CustomerSyncService.CustomerChangeData#changedFeeds
  returned 
 by the sync service.

 Thanks,
 Josh, AdWords API Team

 On Tuesday, February 10, 2015 at 4:35:57 AM UTC-5, Tomas Rimkus wrote:

 Ok, another thing. Can you please confirm it or deny? 
 changedCampaigns-changedFeeds will indicate changes to feed items only if 
 feed items are associated with some campaign using 
 feedItem-campaignTargeting association.


 Or maybe changedCampaigns-changedFeeds only shows changes to feed fields 
 and changes to feed items are disregarded? Can you explain how it works and 
 why I get changes under changedFeeds-changedFeedItems but 
 changedCampaigns-changedFeeds reports that there were no changes when same 
 date interval is used and feeds are associated with campaign using 
 CampaignFeedService?



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fb8f259e-0dba-467f-b375-cdb428be533f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CustomerSyncService does not return changedFeeds in CampaignChangeData object

2015-02-10 Thread Tomas Rimkus
Ok, another thing. Can you please confirm it or deny? 
changedCampaigns-changedFeeds will indicate changes to feed items only if 
feed items are associated with some campaign using 
feedItem-campaignTargeting association.

Or maybe changedCampaigns-changedFeeds only shows changes to feed fields 
and changes to feed items are disregarded? Can you explain how it works and 
why I get changes under changedFeeds-changedFeedItems but 
changedCampaigns-changedFeeds reports that there were no changes when same 
date interval is used and feeds are associated with campaign using 
CampaignFeedService?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/89c0e6b7-bb62-4ba2-9ee3-a3b9fb207ee1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CustomerSyncService does not return changedFeeds in CampaignChangeData object

2015-02-09 Thread Tomas Rimkus
Also, can you tell me why are you using non-standard timezone abbreviation 
in lastChangeTimestamp (PST8PDT) which is not supported by standard date 
parsing utils?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/779e6055-62c6-4dea-851e-d0fc0a5f4a47%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


CustomerSyncService not returning adgroup changes

2015-02-06 Thread Tomas Rimkus
Hi,
I am having the same issue like described here - 
https://groups.google.com/forum/#!searchin/adwords-api/customersyncservice/adwords-api/YsK6HlSncJs/eQiZqWah7iAJ
 . 
When I change max CPC for an adgroup CustomerSyncService doesn't report the 
changes. 
I really don't understand how come David Torres claims it's an intended 
behavior.
Is anyone actually using CustomerSyncService?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/00cc853f-1df7-4c7d-9d04-8825f78e124b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


CustomerSyncService does not return changedFeeds in CampaignChangeData object

2015-02-06 Thread Tomas Rimkus
* When getting campaign changes with 
CustomerSyncService, CustomerChangeData-CampaignChangeData-changedFeeds 
field is never set even there were changes to the feeds. However, I can get 
those feed changes by setting feedIds in the Selector object and checking 
for changes in CustomerChangeData-FeedChangeData.
* If I set both campaignIds and feedIds in CustomerSyncSelector object, I 
always get an empty response. Why can't I get both campaign and feed 
changes at once? Why do I have to do two requests?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/22aa1165-4375-425c-93d1-472e060b46a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Getting Budget amount changes with CustomerSyncService

2015-01-27 Thread Tomas Rimkus
Thanks. That's exactly what I wanted to know.

On Tuesday, January 27, 2015 at 9:37:33 PM UTC+1, Josh Radcliff (AdWords 
API Team) wrote:

 Hi,

 Thanks for clarifying. I just tried this on my test account by changing 
 the budget amount on a shared budget that was linked to two campaigns. 
 After about 15 minutes, I ran *CustomerSyncService* for those campaign 
 IDs and a min/max date range of today, and the service returned 
 *FIELDS_CHANGED* for both campaigns.

 Cheers,
 Josh, AdWords API Team

 On Monday, January 26, 2015 at 1:25:24 PM UTC-5, Tomas Rimkus wrote:

 You might be misunderstanding me a bit.
 1) I understand that if shared budget assigned to campaign is changed 
 (totally different budget with different budget ID is 
 assigned) campaignChangeStatus should indicate that.
 2) Now what happens if the assigned budget is modified but not changed 
 entirely (for example, amount field changes)? Will campaignChangeStatus 
 still change to FIELDS_CHANGED?

 On Monday, January 26, 2015 at 7:17:31 PM UTC+1, Josh Radcliff (AdWords 
 API Team) wrote:

 Hi,

 Since all of the change data is for the campaign level or objects within 
 the campaign, I don't think you'll be able to detect changes to a shared 
 Budget object (independent of a specific Campaign). If you need to detect 
 changes to a shared Budget that is not attached to any campaigns, you'll 
 have to poll the BudgetService 
 https://developers.google.com/adwords/api/docs/reference/v201409/BudgetService
  periodically 
 and compare the results to the previous state stored in your application.

 Thanks,
 Josh, AdWords API Team

 On Monday, January 26, 2015 at 5:58:01 AM UTC-5, Tomas Rimkus wrote:

 I understand that I can find out if a different Budget object was 
 assigned to a campaign (budget ID changes) by checking 
 if campaignChangeStatus was set to FIELDS_CHANGED. However I would like to 
 check if budget amount changed even the same budget object is used (ID did 
 not change). How can I do that?



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/36f8bcf3-c6b6-4a4e-8e1c-9809610c475d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Getting Budget amount changes with CustomerSyncService

2015-01-26 Thread Tomas Rimkus
You might be misunderstanding me a bit.
1) I understand that if shared budget assigned to campaign is changed 
(totally different budget with different budget ID is 
assigned) campaignChangeStatus should indicate that.
2) Now what happens if the assigned budget is modified but not changed 
entirely (for example, amount field changes)? Will campaignChangeStatus 
still change to FIELDS_CHANGED?

On Monday, January 26, 2015 at 7:17:31 PM UTC+1, Josh Radcliff (AdWords API 
Team) wrote:

 Hi,

 Since all of the change data is for the campaign level or objects within 
 the campaign, I don't think you'll be able to detect changes to a shared 
 Budget object (independent of a specific Campaign). If you need to detect 
 changes to a shared Budget that is not attached to any campaigns, you'll 
 have to poll the BudgetService 
 https://developers.google.com/adwords/api/docs/reference/v201409/BudgetService
  periodically 
 and compare the results to the previous state stored in your application.

 Thanks,
 Josh, AdWords API Team

 On Monday, January 26, 2015 at 5:58:01 AM UTC-5, Tomas Rimkus wrote:

 I understand that I can find out if a different Budget object was 
 assigned to a campaign (budget ID changes) by checking 
 if campaignChangeStatus was set to FIELDS_CHANGED. However I would like to 
 check if budget amount changed even the same budget object is used (ID did 
 not change). How can I do that?



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/bac9a1f3-a5c8-4610-a3b6-b63551aa2edc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Getting Budget amount changes with CustomerSyncService

2015-01-26 Thread Tomas Rimkus
I understand that I can find out if a different Budget object was assigned 
to a campaign (budget ID changes) by checking if campaignChangeStatus was 
set to FIELDS_CHANGED. However I would like to check if budget amount 
changed even the same budget object is used (ID did not change). How can I 
do that?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6a680876-b509-469f-8383-51ffcffabd85%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Zero values in Account performance report

2014-12-08 Thread Tomas Rimkus
Recently some of account performance reports started returning data with 
two values for the same date - one is correct one, the other with all 
fields set to zero. So, now some graphs look like this:

https://lh4.googleusercontent.com/-56W2wWU1ieg/VIVg2PVu1-I/AEg/W7MNnuF6YpI/s1600/account%2Bperformance.png
Can you fix it ASAP?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4dc126c6-630b-46a9-a51e-5be9a1451dcc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Operations which can be executed in parallel without causing CONCURRENT_MODIFICATION error

2014-12-08 Thread Tomas Rimkus
Can I do mutate operation on the same type criterions in two different 
adgroups (same campaign) without 
getting DatabaseError.CONCURRENT_MODIFICATION error?

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

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


Immutable objects in Adwords

2014-11-14 Thread Tomas Rimkus
Hi,
I know that ads and keywords are immutable in Adwords. Are there any more 
objects which are immutable? Can someone list all of the objects which are 
immutable?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/26fa18f9-8b98-4b83-acda-7fed46b23030%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AlertsService not returning PAYMENT_DECLINED

2014-11-14 Thread Tomas Rimkus
The alert service never worked correctly and they removed in v201409:

 AlertService has been removed in v201409. It only ever showed a small 
 subset of alerts and had very limited usage.


On Friday, November 14, 2014 8:28:39 AM UTC+1, AdWordsApiUser wrote:

 Hello,

 I understand that the AlertService is deprecated (and I'm very sad about 
 it). I wanted to know if the AlertsService in 201402 returns alerts related 
 to PAYMENT_DECLINED. I have an account that is in payment declined state 
 right now, but the alert service does not show any alert for it. I do see 
 alerts for things like 'PAYMENT_NOT_ENTERED' in the alerts service.

 Is this a known issue?

 Thanks,
 MG


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

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


Re: Adding new feed item to existing campaigns from feed

2014-09-18 Thread Tomas Rimkus
Just use FeedItemService to add new items. You can use FeedService to 
retrieve attribute IDs. There is no need to do anything with 
CampaignFeedService after the feed has been created.

On Thursday, September 18, 2014 8:03:10 AM UTC+2, techpoi...@gmail.com 
wrote:

 Hi,

 We have created sitelink feed and feed items and assigned to some 
 campaigns. Now we want to add more feed items in feed.
 We are getting error when trying to assign new feed items to existing 
 campaigns from Feed using CampaignFeed service. Already has this feed 
 assigned

 Can't we only assign the newly added feed items by passing feed item ids, 
 or do we need to remove the existing feed items from campaigns and then add 
 all again?

 Our requirement is to add new feed items to existing campaigns from feed.

 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/ccb2cc36-c15d-437b-92c0-7652d32a1d36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ACTION_NOT_PERMITTED when trying to update FeedItem

2014-09-17 Thread Tomas Rimkus
I am following your Upgrading to account-level location extensions guide 
to deal with upgraded location extensions. The section titled How do I 
know if an account has been upgraded? states the account is to be treated 
as upgraded if there are any customer feeds with location placeholder. The 
account I am dealing with has a feed like that. Now, the problem shows up 
when I try to update Feed Item Attribute Values of that feed using Feed 
Item service. Mutate operation returns 
OperationAccessDenied.ACTION_NOT_PERMITTED error. Can you explain why 
that happens? BTW, the account has both - legacy Location Extensions and 
the new customer feed with location placeholder, but as I understand from 
the guide it shouldn't matter because the account supposed to be upgraded 
if EITHER point 1 OR point 2 is correct.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8a16b556-7baf-4ca7-819d-7de0a6dc579c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Creating Customer Feed with LOCATION placeholder

2014-09-16 Thread Tomas Rimkus
Hi,
When trying to create Customer Feed with Location placeholder I get the 
following error:
FunctionError.INVALID_FUNCTION_FOR_PLACEHOLDER @ operations[0].operand.
matchingFunction; trigger:'Invalid function for customer feed location 
placeholder'

FeedFunction creation:
$feedFunctionRequestContextOperand = new 
RequestContextOperand();
$feedFunctionRequestContextOperand-contextType = 'FEED_ITEM_ID';


$feedItemFunction = new FeedFunction();
$feedItemFunction-lhsOperand = array(
$feedFunctionRequestContextOperand);
$feedItemFunction-operator = 'IN';


$constantOperand = new ConstantOperand();
$constantOperand-longValue = $feedItemId;
$constantOperand-type = 'LONG';
$feedItemFunction-rhsOperand = [$constantOperand];


What's the correct way to create Customer feed with Location placeholder?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6ad29f6e-da6b-4176-957c-e6b440a9e9eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Creating Customer Feed with LOCATION placeholder

2014-09-16 Thread Tomas Rimkus
Ok, nevermind. Found the example:
  $customerMatchingFunction = new FeedFunction();
  $constOperand = new ConstantOperand();
  $constOperand-type = 'BOOLEAN';
  $constOperand-booleanValue = true;
  $customerMatchingFunction-lhsOperand = array($constOperand);
  $customerMatchingFunction-operator = 'IDENTITY';
  $customerFeed-matchingFunction = $customerMatchingFunction;


On Tuesday, September 16, 2014 2:29:01 PM UTC+2, Tomas Rimkus wrote:

 Hi,
 When trying to create Customer Feed with Location placeholder I get the 
 following error:
 FunctionError.INVALID_FUNCTION_FOR_PLACEHOLDER @ operations[0].operand.
 matchingFunction; trigger:'Invalid function for customer feed location 
 placeholder'

 FeedFunction creation:
 $feedFunctionRequestContextOperand = new 
 RequestContextOperand();
 $feedFunctionRequestContextOperand-contextType = 'FEED_ITEM_ID';


 $feedItemFunction = new FeedFunction();
 $feedItemFunction-lhsOperand = array(
 $feedFunctionRequestContextOperand);
 $feedItemFunction-operator = 'IN';


 $constantOperand = new ConstantOperand();
 $constantOperand-longValue = $feedItemId;
 $constantOperand-type = 'LONG';
 $feedItemFunction-rhsOperand = [$constantOperand];


 What's the correct way to create Customer feed with Location placeholder?



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/07db9e1e-2397-4b1b-8d34-1252cb3573d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Callout Extensions

2014-09-15 Thread Tomas Rimkus
There is CALLOUTS feed placeholder. So it should be possible to manage 
callout extensions using FEED services.
https://developers.google.com/adwords/api/docs/appendix/placeholders.html

On Thursday, September 11, 2014 9:25:51 PM UTC+2, GDZ wrote:

 Hello!

 Are Callout Extensions available for creation via API already?

 Thank you!

 GDZ


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

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


Re: KEYWORD_HAS_INVALID_CHARS: List of invalid characters for keywords

2014-09-05 Thread Tomas Rimkus
See this thread - 
https://groups.google.com/forum/#!msg/adwords-api/UrhXE3oqafY/uualpT3oJ8AJ
I personally use the following regexp to check if input is valid (includes 
unicode characters):
/^[\u00BF-\u1FFF\u2C00-\uD7FF\w#$_ +.,/:\-\[\]\']+$/

 

On Friday, September 5, 2014 10:21:00 AM UTC+2, StewartR wrote:

 Is there a list of the characters that will trigger the 
 KEYWORD_HAS_INVALID_CHARS Criterion error? 

 I tried searching for adwords invalid keyword characters and came up 
 blank.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/caad4866-c229-431e-8271-261f55fb5c52%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Issues with update SiteLinks Feed example

2014-09-05 Thread Tomas Rimkus
You should rename the example to AddLine1AndLine2AttributesToSitelinks to 
avoid confusion because in its current state it's definitely is not 
UpdateSitelinks example.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7c44ec4e-3a0f-4eea-aa65-8279d6d822af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Issues with update SiteLinks Feed example

2014-09-03 Thread Tomas Rimkus
Here are few issues I noticed with your UpdateSitelinks example (I'll be 
referring specifically to PHP version of the example 
https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201406/AdvancedOperations/UpdateSitelinks.php
):

   - There is no need to readd feed attributes which were already added in 
   AddSitelinks example.  Adding attributes with the same name multiple 
   times causes ATTRIBUTE_NAMES_NOT_UNIQUE 
   error. AddLine1AndLine2Attributes() function should be removed and 
   UpdateSitelinksExample() function should be changed the following way:
   
$feedService = $user-GetService('FeedService', ADWORDS_VERSION);
  $feedItemService = $user-GetService('FeedItemService', ADWORDS_VERSION);

  $selector = new Selector();
  $selector-fields = array('Id', 'Attributes');
  $selector-predicates = array();
  $selector-predicates[0] = new Predicate('Id', 'EQUALS', array($feedId));

  $response = $feedService-get($selector);
  $feed = $response-entries[0];

  $line1Attribute = $feed-attributes[2];
  $line2Attribute = $feed-attributes[3];

  UpdateFeedItems($feedItemService, $feedId, $line1Attribute, 
$line2Attribute,
  $feedItemDescriptions);

   - Inside UpdateFeedItems() function there is no need to call 
   $feedItemService-get() when the required feed items can be just created as 
   new objects. The function should modified the following way:

function UpdateFeedItems(AdWordsSoapClient $feedItemService, $feedId,
 $line1Attribute, $line2Attribute, 
$feedItemDescriptions) {
$feedItemIds = array_keys($feedItemDescriptions);
$itemOperations = array();
foreach ($feedItemIds as $feedItemId) {
$feedItemDescription = $feedItemDescriptions[$feedItemId];
$feedItem = new FeedItem();
$feedItem-feedId = $feedId;
$feedItem-feedItemId = $feedItemId;

$itemAttributeValues = array();
$itemAttributeValues[0] = new FeedItemAttributeValue();
$itemAttributeValues[0]-feedAttributeId = $line1Attribute-id;
$itemAttributeValues[0]-stringValue = $feedItemDescription[0];

$itemAttributeValues[1] = new FeedItemAttributeValue();
$itemAttributeValues[1]-feedAttributeId = $line2Attribute-id;
$itemAttributeValues[1]-stringValue = $feedItemDescription[1];

$feedItem-attributeValues = $itemAttributeValues;

$itemOperations[] = new FeedItemOperation($feedItem, 'SET');
}
$feedItemService-mutate($itemOperations);
}

   - There is no need for UpdateFeedMappings() at the end 
   of UpdateSitelinksExample() function. The required mappings were already 
   created in AddSitelinks example. Adding same mappings multiple times causes 
   MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE error.

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

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


Re: Error and adwords Service not found

2014-09-02 Thread Tomas Rimkus

Exactly the same problem here with v201406.





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

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