RE: Bug in CampaignFeedService

2019-07-26 Thread Google Ads API Forum Advisor Prod
Hi,

Thanks for posting your concern.

Upon checking the provided SOAP logs, I can see that you've set 4 constant 
operands in the functionString field of matchingFunction. However, according to 
this documentation, the maximum constant operands that you can set for 
CONTAINS_ANY operator is three and this is the reason why you encountered the 
FunctionError.INVALID_NUMBER_OF_OPERANDS.

Let me know if you have further questions.

Regards,
Ejay
Google Ads API Team
ref:_00D1U1174p._5001UEGOvE:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/_rlhi0PV8NCP004J2nlJKBS-i7EhzH7eHfsQ%40sfdc.net.


Bug in CampaignFeedService

2019-07-25 Thread FW API
Hello, 

we have encountered a probable bug in CampaignFeedService. We have send a 
request with a CONTAINS_ANY clause according to this documentation:
https://developers.google.com/adwords/api/docs/guides/feed-services-locations#filtering_location_extensions

- The operation apparently worked: The correct four locations are now 
listed with the campaign. 
- But the soap response contained a 
FunctionError.INVALID_NUMBER_OF_OPERANDS.

I'll append redacted soap log:


SOAP request:

http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;>

https://adwords.google.com/api/adwords/cm/v201809; 
soapenv:mustUnderstand="0">
9367243494
REDACTED
REDACTED (AwApi-Java, AdWords-Axis/4.1.0, 
Common-Java/4.1.0, Axis/1.4, Java/1.8.0_181, maven, 
SelectorBuilder)
false
false



https://adwords.google.com/api/adwords/cm/v201809;>

SET

100969912
2075545651


CONTAINS_ANY(FeedAttribute[100969912,14],{"176","047","105","175"})

7






***
2019-07-25 16:02:54,908  INFO RemoteCallLoggerDelegate: 
***
SOAP response:

http://schemas.xmlsoap.org/soap/envelope/;>

https://adwords.google.com/api/adwords/cm/v201809;>
    00058e81e1dbd3c00a3741472207bded
CampaignFeedService
mutate
1
88




soap:Client
[FunctionError.INVALID_NUMBER_OF_OPERANDS @ 
operations[0].operand.matchingFunction.rhsOperand]

https://adwords.google.com/api/adwords/cm/v201809;>
[FunctionError.INVALID_NUMBER_OF_OPERANDS @ 
operations[0].operand.matchingFunction.rhsOperand]

ApiException
http://www.w3.org/2001/XMLSchema-instance; 
xsi:type="FunctionError">

operations[0].operand.matchingFunction.rhsOperand

operations
0


operand


matchingFunction


rhsOperand



FunctionError.INVALID_NUMBER_OF_OPERANDS
FunctionError
INVALID_NUMBER_OF_OPERANDS







-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/df34d3be-9408-4870-89b4-fd841a4d228c%40googlegroups.com.


Re: Adwords UI shows 9 sitelinks for a campaign . but using CampaignFeedService , I am getting only 7 sitelinks. Same problem for other extensions also.

2017-01-29 Thread 'Peter Oliquino' via AdWords API Forum
Hi Deepa,

My apologies for the delay. To better look into your issue, could you send 
the sample screenshot of the extensions view you are referring to in the 
AdWords UI? You may reply using *Reply privately to author*.

Thanks and regards,
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/9edff8dc-cef1-4ec3-8823-409db6908612%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Adwords UI shows 9 sitelinks for a campaign . but using CampaignFeedService , I am getting only 7 sitelinks. Same problem for other extensions also.

2017-01-28 Thread Deepa Varma
Hi Peter,


   Thank you for the reply. I have tried 
CampaignExtensionSettingsService.get 

  
to get my extensions. But It really didn't help me. Can you suggest 
something else ? I am not getting the extensions as in Adwords UI. 


Thank you in Advance

Deepa Varma



On Friday, 27 January 2017 13:44:09 UTC+5:30, Peter Oliquino wrote:
>
> Hi Deepa,
>
> I would recommend that you try the CampaignExtensionSettingsService.get 
> 
>  to 
> retrieve the extensions / feed items specific to your campaigns. Please 
> note that this is for the extensions created using the AdWords UI.
>
> For the feed items created via the AdWords API, you may use the 
> FeedItemService.get 
> .
>  
> Let me know if this works.
>
> Best regards,
> 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/10a9c7b1-d9ae-4226-a4cf-5575a7ac82d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Adwords UI shows 9 sitelinks for a campaign . but using CampaignFeedService , I am getting only 7 sitelinks. Same problem for other extensions also.

2017-01-28 Thread Deepa Varma
Hi Peter,


   Thank you for the reply. I have tried 
CampaignExtensionSettingsService.get 

  
to get my extensions. But It really didn't help me. Can you suggest 
something else ? I am not getting the extensions as in Adwords UI. 


Thank you in Advance

Deepa Varma



On Friday, 27 January 2017 13:44:09 UTC+5:30, Peter Oliquino wrote:
>
> Hi Deepa,
>
> I would recommend that you try the CampaignExtensionSettingsService.get 
> 
>  to 
> retrieve the extensions / feed items specific to your campaigns. Please 
> note that this is for the extensions created using the AdWords UI.
>
> For the feed items created via the AdWords API, you may use the 
> FeedItemService.get 
> .
>  
> Let me know if this works.
>
> Best regards,
> 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/20cddd9f-5e98-44a9-8119-86c89c21ebd4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Adwords UI shows 9 sitelinks for a campaign . but using CampaignFeedService , I am getting only 7 sitelinks. Same problem for other extensions also.

2017-01-27 Thread 'Peter Oliquino' via AdWords API Forum
Hi Deepa,

I would recommend that you try the CampaignExtensionSettingsService.get 

 to 
retrieve the extensions / feed items specific to your campaigns. Please 
note that this is for the extensions created using the AdWords UI.

For the feed items created via the AdWords API, you may use the 
FeedItemService.get 
.
 
Let me know if this works.

Best regards,
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/d54bf780-446a-4e82-96e2-85bb90352207%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Adwords UI shows 9 sitelinks for a campaign . but using CampaignFeedService , I am getting only 7 sitelinks. Same problem for other extensions also.

2017-01-26 Thread Deepa Varma
Hi,


  I want to get number of sitelinks , callouts , structured 
snippets and prices extensions in my campaigns. I am 
using CampaignFeedService for the same. But the api does not retrieves all 
the sitelinks (feeditemids) . Adwords UI shows 9 sitelinks for a campaign. 
But I am getting only 7 feed item ids for placeholder type 1 .  Can anyone 
give me suggestions ?

My code is attached as a file. Please help me

 
Thank you in advance

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

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


Re: How do I get extensions for a campaign that are set via CampaignFeedService?

2017-01-20 Thread 'Peter Oliquino' via AdWords API Forum
Hi JC,

For your question regarding adding feed items to feeds created via the 
AdWords UI, you can do so using the FeedItemService. The 
CampaignExtensionSettingService and CampaignFeedService are services that 
associate your feeds/feed items to campaigns.

For campaign extensions created via the AdWords UI, you may use the 
CampaignExtensionSettingService to maintain them. I hope this has been 
helpful.

Thanks and regards,
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/2744f8b4-df4f-43e3-ab8b-311028cef6be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How do I get extensions for a campaign that are set via CampaignFeedService?

2017-01-19 Thread JC Lee
Thanks, I was able to get the active extensions using 
CampaignExtensionSettingService.

For feeds created via the AdWords API, you will have to make use of the 
> different feed services 
> .


Just to clarify, as this is important for me. I am building an application 
to create and manage campaigns. And these campaigns may have been created 
via AdWords UI.

What you stated above does not restrict me from adding FeedItems, using the 
API, into the feeds created via the UI right?

For a Campaign that is created from the AdWords UI and with extensions 
added via the UI, is there a particular service that I must use in order to 
manage its extensions? I assume I should not use FeedServices to manage 
these campaigns. 

If possible, I would like to use ExtensionSettingServices exclusively 
(without FeedServices).

On Friday, 20 January 2017 14:17:30 UTC+8, Peter Oliquino wrote:

> Hi JC,
>
> Could you confirm if you created the Callout1 feed item using the AdWords 
> UI? If yes, then what you need to use will be the 
> CampaignExtensionSettingService 
> .
>  
> For feeds created via the AdWords API, you will have to make use of the 
> different feed services 
> .
>
> 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/b1b747c0-f230-4ddf-b50d-8cadbdd31c23%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How do I get extensions for a campaign that are set via CampaignFeedService?

2017-01-19 Thread 'Peter Oliquino' via AdWords API Forum
Hi JC,

Could you confirm if you created the Callout1 feed item using the AdWords 
UI? If yes, then what you need to use will be the 
CampaignExtensionSettingService 
.
 
For feeds created via the AdWords API, you will have to make use of the 
different feed services 
.

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/0769e531-da1d-4c89-8b1a-f3f3e3c0dbb8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How do I get extensions for a campaign that are set via CampaignFeedService?

2017-01-19 Thread JC Lee
Hi Peter,

By doing that, I was able to get all the feed items in the feed but I am 
unable to filter the specific items that are associated with the campaign.

To illustrate

FeedItems in Feed:

   1. Callout1
   2. Callout2
   
FeedItem that is active in Campaign A:

   1. Callout1

I need to get only Callout1 but now I am getting Callout1 and Callout2. 
AdWords probably does this with the matching function, but how do I get the 
results of the matching function without writing an interpreter?

On Friday, 20 January 2017 13:19:03 UTC+8, Peter Oliquino wrote:
>
> Hi JC,
>
> Apologies as I should have included this in my previous reply. Once you 
> get the list of FeedIds 
> 
>  associated 
> to your campaign, you can then use the FeedItemService.get 
> 
>  to 
> retrieve the list of feed items 
> 
> .
>
> Thanks and regards,
> Peter Laurence N. Oliquino
> 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/4fb0b042-1774-49db-abbf-0fa3add332e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How do I get extensions for a campaign that are set via CampaignFeedService?

2017-01-19 Thread 'Peter Oliquino' via AdWords API Forum
Hi JC,

Apologies as I should have included this in my previous reply. Once you get 
the list of FeedIds 

 associated 
to your campaign, you can then use the FeedItemService.get 

 to 
retrieve the list of feed items 

.

Thanks and regards,
Peter Laurence N. Oliquino
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/8f31c85b-5675-4c35-a182-e6c3dfbf79c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How do I get extensions for a campaign that are set via CampaignFeedService?

2017-01-19 Thread JC Lee
Hi Peter,

It sounds like that gets the Feed but not the FeedItems. How do I get the 
individual FeedItems 
<https://developers.google.com/adwords/api/docs/reference/v201609/CampaignExtensionSettingService.ExtensionFeedItem>
 that 
are active on the campaign?

I need to be able to display the feed items internally in my app's 
interface.

On Friday, 20 January 2017 11:49:12 UTC+8, Peter Oliquino wrote:
>
> Hi JC,
>
> To get the list of active feeds (currently serving) that were added to a 
> specific campaign, you could use the CampaignFeedService.get 
> <https://developers.google.com/adwords/api/docs/reference/v201609/CampaignFeedService#get>
>  and 
> use the CampaignId 
> <https://developers.google.com/adwords/api/docs/reference/v201609/CampaignFeedService.CampaignFeed#campaignid>
>  field 
> and Status 
> <https://developers.google.com/adwords/api/docs/reference/v201609/CampaignFeedService.CampaignFeed#status>
>  (with 
> ENABLED as its value) field as the filters. Let me know if this works for 
> you.
>
> Thanks and regards,
> Peter Laurence N. Oliquino
> 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/69dce12f-453d-449d-a605-52a047b0fbb3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How do I get extensions for a campaign that are set via CampaignFeedService?

2017-01-19 Thread 'Peter Oliquino' via AdWords API Forum
Hi JC,

To get the list of active feeds (currently serving) that were added to a 
specific campaign, you could use the CampaignFeedService.get 
<https://developers.google.com/adwords/api/docs/reference/v201609/CampaignFeedService#get>
 and 
use the CampaignId 
<https://developers.google.com/adwords/api/docs/reference/v201609/CampaignFeedService.CampaignFeed#campaignid>
 field 
and Status 
<https://developers.google.com/adwords/api/docs/reference/v201609/CampaignFeedService.CampaignFeed#status>
 (with 
ENABLED as its value) field as the filters. Let me know if this works for 
you.

Thanks and regards,
Peter Laurence N. Oliquino
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/3aa16240-d7fd-46db-be0f-2e1d7665d9d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How do I get extensions for a campaign that are set via CampaignFeedService?

2017-01-19 Thread JC Lee
Hi,

I am using the latest PHP library (v25) but this question should be about 
the API itself.

Say I have created a feed using the API or AdWords, and added them to a 
campaign using CampaignFeedService *or via the AdWords interface*, how do I 
get the extensions that are currently active on the campaign?

I can see that CampaignFeedService uses a Matching Function to filter the 
extensions from a feed, but how do I get the results of the filter?

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/eecb8e05-c6c9-4a60-976c-bdaefe7c0f3f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How do I filter on PlaceholderTypes in CampaignFeedService?

2014-08-20 Thread Ray Tsang (AdWords API Team)
Peng,

Have you tried to use CONTAINS_ANY or CONTAINS_ALL predicates?  These 
should work as expected.  Which service were you trying to select from?

Thanks,

Ray

On Wednesday, July 16, 2014 3:13:22 PM UTC-4, Ray Tsang (AdWords API Team) 
wrote:

 Giles,

 I'll look into this.

 Thanks,

 Ray

 On Wednesday, July 16, 2014 10:09:11 AM UTC-4, Giles Bodger wrote:

 I try this but get that the following error

 Root reason: [SelectorError.INVALID_PREDICATE_FIELD_NAME @ selector; 
 trigger:'placeholderTypes']

 doesnt matter if i use IN or CONTAINS


 On Wednesday, July 9, 2014 9:14:17 PM UTC+1, Ray Tsang (AdWords API Team) 
 wrote:

 Peng,

 Just to follow up, have you tried the IN operator

 Thanks,

 Ray

 On Wednesday, May 21, 2014 3:40:37 AM UTC-4, Peng Taug wrote:

 Is that means we can't filter multiple placeholder types with 
 CampaignFeedService?

 On Thursday, June 6, 2013 2:51:16 PM UTC+8, Takeshi Hagikura (AdWords 
 API Team) wrote:

 Hi, 

 Looks like you can use EQUALS operator. 
 I'll get back to you as for IN operator. 
 (CONTAINS operator is targeted for String values. So it shouldn't be 
 allowed)

 Best,
 - Takeshi

 On Tuesday, June 4, 2013 12:10:42 AM UTC+9, magnus...@feedeo.com 
 wrote:

 Hi,

 I'm trying to run a get call on the CampaignFeedService where I only 
 get the feeds for site links.

 I tried creating my selector like this (in Java):

 Selector selector = new Selector();

 selector.setFields(new String[] { CampaignId, FeedId, 
 MatchingFunction, PlaceholderTypes, Status });

 Predicate idPredicate = new Predicate();
 idPredicate.setField(CampaignId);
 idPredicate.setOperator(PredicateOperator.IN);
 idPredicate.setValues(getIds(campaigns));

 Predicate typePredicate = new Predicate();
 typePredicate.setField(PlaceholderTypes);
 typePredicate.setOperator(PredicateOperator.CONTAINS);
 typePredicate.setValues(new String[] { 
 String.valueOf(GooglePlaceholder.SITELINKS) });

 Predicate statusPredicate = new Predicate();
 statusPredicate.setField(Status);
 statusPredicate.setOperator(PredicateOperator.EQUALS);
 statusPredicate.setValues(new String[] { ACTIVE });

 selector.setPredicates(new Predicate[] { idPredicate, 
 typePredicate, statusPredicate });

 return selector;


 But when I run this I get the following error:

 faultstring[SelectorError.INVALID_PREDICATE_OPERATOR @ 
 selector; trigger:'PlaceholderTypes']/faultstring
 detail
 ApiExceptionFault xmlns=
 https://adwords.google.com/api/adwords/cm/v201302;
 
 message[SelectorError.INVALID_PREDICATE_OPERATOR @ selector; 
 trigger:'PlaceholderTypes']/message
 
 ApplicationException.TypeApiException/ApplicationException.Type
 errors xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance; xsi:type=SelectorError
 fieldPathselector/fieldPath
 triggerPlaceholderTypes/trigger
 
 errorStringSelectorError.INVALID_PREDICATE_OPERATOR/errorString
 ApiError.TypeSelectorError/ApiError.Type
 reasonINVALID_PREDICATE_OPERATOR/reason
 /errors
 /ApiExceptionFault
 /detail

 I also tried using IN as the operator for the placeholder types 
 predicate but with the same result.

 Am I going about this in the wrong way?

 Thanks
 Magnus Ljung



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4c3e25dc-87e7-4435-a921-4b45cee646ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How do I filter on PlaceholderTypes in CampaignFeedService?

2014-07-16 Thread Giles Bodger
I try this but get that the following error

Root reason: [SelectorError.INVALID_PREDICATE_FIELD_NAME @ selector; 
trigger:'placeholderTypes']

doesnt matter if i use IN or CONTAINS


On Wednesday, July 9, 2014 9:14:17 PM UTC+1, Ray Tsang (AdWords API Team) 
wrote:

 Peng,

 Just to follow up, have you tried the IN operator

 Thanks,

 Ray

 On Wednesday, May 21, 2014 3:40:37 AM UTC-4, Peng Taug wrote:

 Is that means we can't filter multiple placeholder types with 
 CampaignFeedService?

 On Thursday, June 6, 2013 2:51:16 PM UTC+8, Takeshi Hagikura (AdWords API 
 Team) wrote:

 Hi, 

 Looks like you can use EQUALS operator. 
 I'll get back to you as for IN operator. 
 (CONTAINS operator is targeted for String values. So it shouldn't be 
 allowed)

 Best,
 - Takeshi

 On Tuesday, June 4, 2013 12:10:42 AM UTC+9, magnus...@feedeo.com wrote:

 Hi,

 I'm trying to run a get call on the CampaignFeedService where I only 
 get the feeds for site links.

 I tried creating my selector like this (in Java):

 Selector selector = new Selector();

 selector.setFields(new String[] { CampaignId, FeedId, 
 MatchingFunction, PlaceholderTypes, Status });

 Predicate idPredicate = new Predicate();
 idPredicate.setField(CampaignId);
 idPredicate.setOperator(PredicateOperator.IN);
 idPredicate.setValues(getIds(campaigns));

 Predicate typePredicate = new Predicate();
 typePredicate.setField(PlaceholderTypes);
 typePredicate.setOperator(PredicateOperator.CONTAINS);
 typePredicate.setValues(new String[] { 
 String.valueOf(GooglePlaceholder.SITELINKS) });

 Predicate statusPredicate = new Predicate();
 statusPredicate.setField(Status);
 statusPredicate.setOperator(PredicateOperator.EQUALS);
 statusPredicate.setValues(new String[] { ACTIVE });

 selector.setPredicates(new Predicate[] { idPredicate, 
 typePredicate, statusPredicate });

 return selector;


 But when I run this I get the following error:

 faultstring[SelectorError.INVALID_PREDICATE_OPERATOR @ 
 selector; trigger:'PlaceholderTypes']/faultstring
 detail
 ApiExceptionFault xmlns=
 https://adwords.google.com/api/adwords/cm/v201302;
 message[SelectorError.INVALID_PREDICATE_OPERATOR 
 @ selector; trigger:'PlaceholderTypes']/message
 
 ApplicationException.TypeApiException/ApplicationException.Type
 errors xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance; xsi:type=SelectorError
 fieldPathselector/fieldPath
 triggerPlaceholderTypes/trigger
 
 errorStringSelectorError.INVALID_PREDICATE_OPERATOR/errorString
 ApiError.TypeSelectorError/ApiError.Type
 reasonINVALID_PREDICATE_OPERATOR/reason
 /errors
 /ApiExceptionFault
 /detail

 I also tried using IN as the operator for the placeholder types 
 predicate but with the same result.

 Am I going about this in the wrong way?

 Thanks
 Magnus Ljung



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.


Re: How do I filter on PlaceholderTypes in CampaignFeedService?

2014-07-16 Thread Ray Tsang (AdWords API Team)
Giles,

I'll look into this.

Thanks,

Ray

On Wednesday, July 16, 2014 10:09:11 AM UTC-4, Giles Bodger wrote:

 I try this but get that the following error

 Root reason: [SelectorError.INVALID_PREDICATE_FIELD_NAME @ selector; 
 trigger:'placeholderTypes']

 doesnt matter if i use IN or CONTAINS


 On Wednesday, July 9, 2014 9:14:17 PM UTC+1, Ray Tsang (AdWords API Team) 
 wrote:

 Peng,

 Just to follow up, have you tried the IN operator

 Thanks,

 Ray

 On Wednesday, May 21, 2014 3:40:37 AM UTC-4, Peng Taug wrote:

 Is that means we can't filter multiple placeholder types with 
 CampaignFeedService?

 On Thursday, June 6, 2013 2:51:16 PM UTC+8, Takeshi Hagikura (AdWords 
 API Team) wrote:

 Hi, 

 Looks like you can use EQUALS operator. 
 I'll get back to you as for IN operator. 
 (CONTAINS operator is targeted for String values. So it shouldn't be 
 allowed)

 Best,
 - Takeshi

 On Tuesday, June 4, 2013 12:10:42 AM UTC+9, magnus...@feedeo.com wrote:

 Hi,

 I'm trying to run a get call on the CampaignFeedService where I only 
 get the feeds for site links.

 I tried creating my selector like this (in Java):

 Selector selector = new Selector();

 selector.setFields(new String[] { CampaignId, FeedId, 
 MatchingFunction, PlaceholderTypes, Status });

 Predicate idPredicate = new Predicate();
 idPredicate.setField(CampaignId);
 idPredicate.setOperator(PredicateOperator.IN);
 idPredicate.setValues(getIds(campaigns));

 Predicate typePredicate = new Predicate();
 typePredicate.setField(PlaceholderTypes);
 typePredicate.setOperator(PredicateOperator.CONTAINS);
 typePredicate.setValues(new String[] { 
 String.valueOf(GooglePlaceholder.SITELINKS) });

 Predicate statusPredicate = new Predicate();
 statusPredicate.setField(Status);
 statusPredicate.setOperator(PredicateOperator.EQUALS);
 statusPredicate.setValues(new String[] { ACTIVE });

 selector.setPredicates(new Predicate[] { idPredicate, 
 typePredicate, statusPredicate });

 return selector;


 But when I run this I get the following error:

 faultstring[SelectorError.INVALID_PREDICATE_OPERATOR @ 
 selector; trigger:'PlaceholderTypes']/faultstring
 detail
 ApiExceptionFault xmlns=
 https://adwords.google.com/api/adwords/cm/v201302;
 message[SelectorError.INVALID_PREDICATE_OPERATOR 
 @ selector; trigger:'PlaceholderTypes']/message
 
 ApplicationException.TypeApiException/ApplicationException.Type
 errors xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance; xsi:type=SelectorError
 fieldPathselector/fieldPath
 triggerPlaceholderTypes/trigger
 
 errorStringSelectorError.INVALID_PREDICATE_OPERATOR/errorString
 ApiError.TypeSelectorError/ApiError.Type
 reasonINVALID_PREDICATE_OPERATOR/reason
 /errors
 /ApiExceptionFault
 /detail

 I also tried using IN as the operator for the placeholder types 
 predicate but with the same result.

 Am I going about this in the wrong way?

 Thanks
 Magnus Ljung



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.


Re: How do I filter on PlaceholderTypes in CampaignFeedService?

2014-07-09 Thread Ray Tsang (AdWords API Team)
Peng,

Just to follow up, have you tried the IN operator

Thanks,

Ray

On Wednesday, May 21, 2014 3:40:37 AM UTC-4, Peng Taug wrote:

 Is that means we can't filter multiple placeholder types with 
 CampaignFeedService?

 On Thursday, June 6, 2013 2:51:16 PM UTC+8, Takeshi Hagikura (AdWords API 
 Team) wrote:

 Hi, 

 Looks like you can use EQUALS operator. 
 I'll get back to you as for IN operator. 
 (CONTAINS operator is targeted for String values. So it shouldn't be 
 allowed)

 Best,
 - Takeshi

 On Tuesday, June 4, 2013 12:10:42 AM UTC+9, magnus...@feedeo.com wrote:

 Hi,

 I'm trying to run a get call on the CampaignFeedService where I only get 
 the feeds for site links.

 I tried creating my selector like this (in Java):

 Selector selector = new Selector();

 selector.setFields(new String[] { CampaignId, FeedId, 
 MatchingFunction, PlaceholderTypes, Status });

 Predicate idPredicate = new Predicate();
 idPredicate.setField(CampaignId);
 idPredicate.setOperator(PredicateOperator.IN);
 idPredicate.setValues(getIds(campaigns));

 Predicate typePredicate = new Predicate();
 typePredicate.setField(PlaceholderTypes);
 typePredicate.setOperator(PredicateOperator.CONTAINS);
 typePredicate.setValues(new String[] { 
 String.valueOf(GooglePlaceholder.SITELINKS) });

 Predicate statusPredicate = new Predicate();
 statusPredicate.setField(Status);
 statusPredicate.setOperator(PredicateOperator.EQUALS);
 statusPredicate.setValues(new String[] { ACTIVE });

 selector.setPredicates(new Predicate[] { idPredicate, 
 typePredicate, statusPredicate });

 return selector;


 But when I run this I get the following error:

 faultstring[SelectorError.INVALID_PREDICATE_OPERATOR @ 
 selector; trigger:'PlaceholderTypes']/faultstring
 detail
 ApiExceptionFault xmlns=
 https://adwords.google.com/api/adwords/cm/v201302;
 message[SelectorError.INVALID_PREDICATE_OPERATOR @ 
 selector; trigger:'PlaceholderTypes']/message
 
 ApplicationException.TypeApiException/ApplicationException.Type
 errors xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance; xsi:type=SelectorError
 fieldPathselector/fieldPath
 triggerPlaceholderTypes/trigger
 
 errorStringSelectorError.INVALID_PREDICATE_OPERATOR/errorString
 ApiError.TypeSelectorError/ApiError.Type
 reasonINVALID_PREDICATE_OPERATOR/reason
 /errors
 /ApiExceptionFault
 /detail

 I also tried using IN as the operator for the placeholder types 
 predicate but with the same result.

 Am I going about this in the wrong way?

 Thanks
 Magnus Ljung



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.


Re: How do I filter on PlaceholderTypes in CampaignFeedService?

2014-05-21 Thread Peng Taug
Is that means we can't filter multiple placeholder types with 
CampaignFeedService?

On Thursday, June 6, 2013 2:51:16 PM UTC+8, Takeshi Hagikura (AdWords API 
Team) wrote:

 Hi, 

 Looks like you can use EQUALS operator. 
 I'll get back to you as for IN operator. 
 (CONTAINS operator is targeted for String values. So it shouldn't be 
 allowed)

 Best,
 - Takeshi

 On Tuesday, June 4, 2013 12:10:42 AM UTC+9, magnus...@feedeo.com wrote:

 Hi,

 I'm trying to run a get call on the CampaignFeedService where I only get 
 the feeds for site links.

 I tried creating my selector like this (in Java):

 Selector selector = new Selector();

 selector.setFields(new String[] { CampaignId, FeedId, 
 MatchingFunction, PlaceholderTypes, Status });

 Predicate idPredicate = new Predicate();
 idPredicate.setField(CampaignId);
 idPredicate.setOperator(PredicateOperator.IN);
 idPredicate.setValues(getIds(campaigns));

 Predicate typePredicate = new Predicate();
 typePredicate.setField(PlaceholderTypes);
 typePredicate.setOperator(PredicateOperator.CONTAINS);
 typePredicate.setValues(new String[] { 
 String.valueOf(GooglePlaceholder.SITELINKS) });

 Predicate statusPredicate = new Predicate();
 statusPredicate.setField(Status);
 statusPredicate.setOperator(PredicateOperator.EQUALS);
 statusPredicate.setValues(new String[] { ACTIVE });

 selector.setPredicates(new Predicate[] { idPredicate, 
 typePredicate, statusPredicate });

 return selector;


 But when I run this I get the following error:

 faultstring[SelectorError.INVALID_PREDICATE_OPERATOR @ 
 selector; trigger:'PlaceholderTypes']/faultstring
 detail
 ApiExceptionFault xmlns=
 https://adwords.google.com/api/adwords/cm/v201302;
 message[SelectorError.INVALID_PREDICATE_OPERATOR @ 
 selector; trigger:'PlaceholderTypes']/message
 
 ApplicationException.TypeApiException/ApplicationException.Type
 errors xmlns:xsi=
 http://www.w3.org/2001/XMLSchema-instance; xsi:type=SelectorError
 fieldPathselector/fieldPath
 triggerPlaceholderTypes/trigger
 
 errorStringSelectorError.INVALID_PREDICATE_OPERATOR/errorString
 ApiError.TypeSelectorError/ApiError.Type
 reasonINVALID_PREDICATE_OPERATOR/reason
 /errors
 /ApiExceptionFault
 /detail

 I also tried using IN as the operator for the placeholder types predicate 
 but with the same result.

 Am I going about this in the wrong way?

 Thanks
 Magnus Ljung



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.


Re: CampaignFeedService

2013-09-23 Thread Paul Matthews (AdWords API Team)
Hi Glyph,

Can paste us the SOAP request (without personally identifiable information, 
such as your developer token), so we can get the full request information? 
Ideally with the full SOAP response too.

Regards,

- Paul, AdWords API Team.

On Saturday, 21 September 2013 02:56:30 UTC+1, Glyph wrote:

 More specifically, I keep getting the exception below:

 1. lhs is set as a requestcontextoperand with a contexttype of campaignid, 
 2. operator is equals, 
 3. rhs is set as a feedattraibuteoperand  feedid is valid, and 
 feedattributeid is the correct attributeid

 FunctionError.INVALID_REQUEST_CONTEXT_TYPE @ 
 operations[0].operand.matchingFunction.lhsOperand, 
 FunctionError.INVALID_OPERAND_TYPE @ 
 operations[0].operand.matchingFunction.rhsOperand[0]; 
 trigger:'FeedAttributeOperand{feedId=FeedId{id=3402656}, 
 feedAttributeId=FeedAttributeId{id=1}}'

 What am I missing here?

 On Friday, September 20, 2013 6:19:16 PM UTC-4, Glyph wrote:

 I've setup a Feed for attributes are {CampaignId (int64), DisplayText 
 (string), Link(url)}.  The feed is setup as a sitelink placeholder type 
 feed.
 I've mapped the displaytext and link to the appropriate sitelink 
 placeholder field types.

 I'm trying to avoid putting the FeedItem code into the feed/feedmapping 
 creation code like the example here:
 https://developers.google.com/adwords/api/docs/guides/feed-services

 Using campaignfeedservice i'm struggling to write a lhs/rhs function that 
 will work to do campaignid == feed.campaignid.
 I'm trying to use RequestContextOperand for the CampaignId parameter, and 
 FeedAttributeOperand with the attributeid matching  the CampaignId field 
 from the feed i've setup.

   I've checked to make sure that in my FeedAttributeOperand  I've gotten 
 the correct values for feedId and feedAttributeId

 But I keep getting exceptions about operands. Is this approach 
 fundamentally not going to work, or is there some key thing I'm missing?



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
For more options, visit https://groups.google.com/groups/opt_out.


CampaignFeedService

2013-09-20 Thread Glyph
I've setup a Feed for attributes are {CampaignId (int64), DisplayText 
(string), Link(url)}.  The feed is setup as a sitelink placeholder type 
feed.
I've mapped the displaytext and link to the appropriate sitelink 
placeholder field types.

I'm trying to avoid putting the FeedItem code into the feed/feedmapping 
creation code like the example here:
https://developers.google.com/adwords/api/docs/guides/feed-services

Using campaignfeedservice i'm struggling to write a lhs/rhs function that 
will work to do campaignid == feed.campaignid.
I'm trying to use RequestContextOperand for the CampaignId parameter, and 
FeedAttributeOperand with the attributeid matching  the CampaignId field 
from the feed i've setup.

  I've checked to make sure that in my FeedAttributeOperand  I've gotten 
the correct values for feedId and feedAttributeId

But I keep getting exceptions about operands. Is this approach 
fundamentally not going to work, or is there some key thing I'm missing?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: CampaignFeedService

2013-09-20 Thread Glyph
More specifically, I keep getting the exception below:

1. lhs is set as a requestcontextoperand with a contexttype of campaignid, 
2. operator is equals, 
3. rhs is set as a feedattraibuteoperand  feedid is valid, and 
feedattributeid is the correct attributeid

FunctionError.INVALID_REQUEST_CONTEXT_TYPE @ 
operations[0].operand.matchingFunction.lhsOperand, 
FunctionError.INVALID_OPERAND_TYPE @ 
operations[0].operand.matchingFunction.rhsOperand[0]; 
trigger:'FeedAttributeOperand{feedId=FeedId{id=3402656}, 
feedAttributeId=FeedAttributeId{id=1}}'

What am I missing here?

On Friday, September 20, 2013 6:19:16 PM UTC-4, Glyph wrote:

 I've setup a Feed for attributes are {CampaignId (int64), DisplayText 
 (string), Link(url)}.  The feed is setup as a sitelink placeholder type 
 feed.
 I've mapped the displaytext and link to the appropriate sitelink 
 placeholder field types.

 I'm trying to avoid putting the FeedItem code into the feed/feedmapping 
 creation code like the example here:
 https://developers.google.com/adwords/api/docs/guides/feed-services

 Using campaignfeedservice i'm struggling to write a lhs/rhs function that 
 will work to do campaignid == feed.campaignid.
 I'm trying to use RequestContextOperand for the CampaignId parameter, and 
 FeedAttributeOperand with the attributeid matching  the CampaignId field 
 from the feed i've setup.

   I've checked to make sure that in my FeedAttributeOperand  I've gotten 
 the correct values for feedId and feedAttributeId

 But I keep getting exceptions about operands. Is this approach 
 fundamentally not going to work, or is there some key thing I'm missing?



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
For more options, visit https://groups.google.com/groups/opt_out.