Re: Why are cancelled accounts being returned by ManagedCustomerService?

2018-07-12 Thread 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Alejandro,

If the link is still existing between the MCC and the cancelled accounts, 
then, they will indeed still be returned when using the 
ManagedCustomerService.get() method. If you wish to fully discard them from 
your hierarchy, you can terminate the link by referring to this guide 

 in 
the "*Manager or client terminates links*" section.

I hope this helps.

Thanks and regards,
Peter
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/c404ad24-cb3c-4bb9-9b6e-5f92591672af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Video Ads: Want to pull VideoId and Video thumbnail url

2018-07-12 Thread 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Abhishek,

The url for your video ad's thumbnail is currently not available via the 
AdWords API. Also, my apologies if I cannot comment if this is possible via 
the YouTube API since the said API is already out of scope for our team.

Thanks and regards,
Peter
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/648753eb-9e35-45cf-9677-f1c7b5a12d9a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Inconsistent SAXException when using the AdgroupAdAdService in the Java SDK

2018-07-12 Thread 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Ethan,

This issue seems to be more related to Java client library rather than the 
API. I would suggest to post your issue in this link 
 as the client 
library owners are more equipped to assist you here.

Thanks and regards,
Luis
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/2863db30-a84e-42b9-a246-8c2694ad84ed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Unable to create test mcc account

2018-07-12 Thread 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Elusoji,

Could you try to login again using the test account you created then 
navigate to Click the *Tools* icon  *->* *Return to previous AdWords*. You 
should be able to see the red "This is a test account!" label on your 
AdWords account page. Unfortunately this red label is not yet available to 
the new AdWords UI.

Let me know if this works.

Thanks and regards,
Luis
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/34a44dac-cb00-4430-bc95-787f41a59ff7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Is .snippets() working?

2018-07-12 Thread 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Jean,

Your concern seems to be related to AdWords Scripts rather than the AdWords 
API. I would suggest to post your issue on the AdWords Scripts Forum 
 to better assist 
you here.

Thanks and regards,
Luis
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/c997faf2-b04d-4d4d-9c13-b95444d8223f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Is there a way to filter out performance from drafts and experiments?

2018-07-12 Thread Yang Gao
Hi, is it possible to filter out rows and data from live experiments? 
Currently they are showing up in report that we would like to exclude. 
Would prefer not to filter on specific campaign names since that's not a 
very robust solution. Please let me know if there's a field or flag I can 
use instead.

Thanks,
Yang

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/80caef7a-d9da-45f4-a892-d59bb4dfb1d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Performance Reports on Paused Campaigns

2018-07-12 Thread PI.X
Hi Dhanya,

Thanks for your reply. My Client Customer ID is 419-012-1505. The data 
discrepancy should be reproducible with the queries above. The queries have 
identical selectors, but are requesting different reports. In the Geo 
Performance Report however, there is no information on the Paused campaigns 
from that time period, while the Campaign Performance Report does include 
data on those.

Best,
PI.X

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/e4755b06-23f3-4590-a437-1dd13a3824a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Why are cancelled accounts being returned by ManagedCustomerService?

2018-07-12 Thread Alejandro Bullrich
Hello everyone,

I'm new to this forum, but not so new to Adwords. As most of you may know, 
accounts can be cancelled (intentionally or not). Cancelled accounts will 
not count towards the MCC account limit. And according to this reply, 
cancelled accounts will not be brought by a ManagedCustomerService get 
method.

This is all great, however, when I test these statements, the premise 
doesn't seem to hold true. When I query accounts from an MCC, cancelled 
accounts are still being returned. I have tested this with both testing and 
real MCCs.

This is my code:

ManagedCustomerServiceInterface originCustomerService = 
getManagedCustomerService(customerId, refreshToken);

// Create selector builder.
int offset = 0;
SelectorBuilder selectorBuilder = new 
SelectorBuilder().fields(ManagedCustomerField.CustomerId, 
ManagedCustomerField.Name)
   .offset(offset).limit(PAGE_SIZE);

// Get results.
ManagedCustomerPage page;

// Map from customerId to customer node.
Map customerIdToCustomerNode = 
com.google.common.collect.Maps.newHashMap();

// Map from each parent customer ID to its set of linked child customer
// IDs.
SortedSetMultimap parentIdToChildIds = TreeMultimap.create();

page = adwordsApiCaller.executeCall(() -> originCustomerService.get(
selectorBuilder.build()));

Do I need to wait some time for cancelled accounts to be taken as such by 
the API? Maybe the SelectorBuild is missing something?

Please let me know if you need any further information. Any help provided 
will be deeply appreciated.

All the best,

Alejandro

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/47310a4a-3bff-4189-aecc-427a42426b21%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Video Ads: Want to pull VideoId and Video thumbnail url

2018-07-12 Thread Abhishek Gupta
Hi,

For all ads in my account, I want to pull videoID and video thumbnail 
url(to construct the thumbnail image) for each ad. What's the way to get 
them ? I have extracted the VideoID and from that I think I can construct 
the URL for thumbnail(as seen in attachment image), but for this, I need 
the *thumbnail image name*. Is there a way to get that via Adwords API. Is 
there a better way to solve this purpose ? Maybe YouTube API ?

Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/7ad6aa60-0703-427b-b06b-1a6c7ce30276%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Unable to create test mcc account

2018-07-12 Thread elusoji sodeeq
Hello, for countless number of times now, I have tried creating test mcc 
accounts but it always ends up as production account (i.e I do not see the TEST 
ACCOUNT )
I have tried both with new google accounts and existing accounts, I just 
can't seem to get past it.
Somebody help please

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/f00330e8-0d34-42ab-b323-486a561ddeaa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Inconsistent SAXException when using the AdgroupAdAdService in the Java SDK

2018-07-12 Thread Ethan Warwick
Hey all,

I am trying to list ads for an adgroup using the Java Adwords sdk and am 
getting the exception below. I've traced it all the way down in the 
debugger, and the call to the API is successful, but the Adwords library is 
failing to deserialize the response from the API. It only happens for some 
adgroups/clients...I'm thinking this is a bug in the API but not sure. Has 
anyone had this issue before or have any insight into why it happens/how to 
fix it?


org.xml.sax.SAXException: SimpleDeserializer encountered a child element, 
which is NOT expected, in something it was trying to deserialize.
at 
org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDeserializer.java:145)
 
~[axis-1.4.jar:?]
at 
org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
 
~[axis-1.4.jar:?]
at 
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165) 
~[axis-1.4.jar:?]
at 
org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
 
~[axis-1.4.jar:?]
at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236) 
~[axis-1.4.jar:?]
at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384) 
~[axis-1.4.jar:?]
at org.apache.axis.client.Call.invoke(Call.java:2467) ~[axis-1.4.jar:?]
at org.apache.axis.client.Call.invoke(Call.java:2366) ~[axis-1.4.jar:?]
at org.apache.axis.client.Call.invoke(Call.java:1812) ~[axis-1.4.jar:?]
at 
com.google.api.ads.adwords.axis.v201806.cm.AdGroupAdServiceSoapBindingStub.get(AdGroupAdServiceSoapBindingStub.java:1751)
 
~[adwords-axis-3.15.0.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[?:1.8.0_171]
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
~[?:1.8.0_171]
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 
~[?:1.8.0_171]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_171]
at 
com.google.api.ads.common.lib.soap.SoapClientHandler.invoke(SoapClientHandler.java:100)
 
~[ads-lib-3.15.0.jar:?]
at 
com.google.api.ads.common.lib.soap.axis.AxisHandler.invokeSoapCall(AxisHandler.java:234)
 
~[ads-lib-axis-3.15.0.jar:?]
at 
com.google.api.ads.common.lib.soap.SoapServiceClient.callSoapClient(SoapServiceClient.java:63)
 
~[ads-lib-3.15.0.jar:?]
at 
com.google.api.ads.common.lib.soap.SoapServiceClient.invoke(SoapServiceClient.java:93)
 
~[ads-lib-3.15.0.jar:?]

Thanks!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/c860c21c-cacd-47b6-b29f-aa243526d18e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Shopping Performance Report not showing every products

2018-07-12 Thread cherrysew2017
Hi,

I am trying to use Shopping Performance Report to show some products 
details to work alongside with Google Merchant API.
I would be able to check the products with no impressions but there are 2 
that I can't see.

*Example:*
On the Google Adwords with the campaign id = 1420101830 I can get 49 
offerIds but when I try to get the Shopping Performance Report of the fr48 
it doesn't show me anything (in total just shows 47 through the api).

I've already analysed the data I have access through the Adwords and it 
seems there are nothing different between this offerId and the others that 
retrieve information like fr83.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/8d75fb42-3f50-4d48-8b4f-ae4e08233630%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Shopping Performance Report not retrieving all products

2018-07-12 Thread Rafael Botas
 

I am trying to get a list of products with some details from Shopping 
Performance Report. 

I was able to get the products with zero Impressions but in 49 products I 
can get through a specific campaign it only shows me 47.


I've been analysing the products data and there is, apparently, nothing 
different those 2 just don't appear.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/01067c69-2688-4c92-976a-47173668d311%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Is .snippets() working?

2018-07-12 Thread Jean-Charles FABRE
Hello, 

I'm trying to get stats of the structured snippet extensions of my account 
with the script below but nothing is returned despite the fact that I have 
SSE with stats on all my campaigns.

What am I doing wrong?

function getSnippetStats() {
  var campaignIterator = AdWordsApp.campaigns()
.get();
  if (campaignIterator.hasNext()) {
var campaign = campaignIterator.next();
var snippetsIterator = campaign.extensions().snippets().get();

while (snippetsIterator.hasNext()) {
  var snippet = snippetsIterator.next();

  var stats = snippet.getStatsFor('LAST_MONTH');
  Logger.log(snippet.getHeader() + ', ' + stats.getClicks() + ', ' +
  stats.getImpressions());
}
  }
}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/1868cbb0-5af9-47f7-86f1-6dcbeca2677a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Budget Order Service Operations via AdWords API Scripts

2018-07-12 Thread Mehmet Karaağaç

Hi everyone,

I want to know that how to implement auto payment for stated accounts in 
our AdWords MCC account. Is there any code example to copy or paste AdWords 
API? In other words, I authorize Google to pay some sub-accounts by their 
account id or label periodically(daily, weekly or monthly etc.). I am 
familiar AdWords scripts a little bit. 

Please help me to save time consuming operations. 

You can send an e-mail mehme...@webolizma.com for all your 
questions/answers. Especially, I expect support from AdWords API Team 
members. 

*Example:*

*Step 1: Enter sub-account id/ids to authorize for payment*
**

*Step 2: Enter start date and end date to pay daily/monthly*
**

*Step 3: Enter your daily(or monthly) budget that you want to pay *
**

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/046a70e5-22bb-4033-bf4d-edc933640f4c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [5-3811000022840] Google API Requirements

2018-07-12 Thread Albert Somlith
Thank you!

On Thu, Jul 12, 2018 at 4:57 AM,  wrote:

> Hi,
>
> Thanks for reaching out.
>
> I'm looking into this and will get back shortly. Thanks for your patience.
>
> Best,
> Ryan
> 
> AdWords API Compliance
>
>
> *Note:* Please keep your dev contact up to date
>  at all
> times
>
> Signing up for the AdWords API
>  | AdWords
> API policies  |
> FAQs  | Developer Forum
> 
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/CAPM2cjZv1L%3DdjC%3DmOZ%2BJZziAoPP1ruMEFKs0g%2BEtq5dDRW4eqw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


API Response for Ad Group Targeting: Display Keywords

2018-07-12 Thread 'Tim Tsai' via AdWords API and Google Ads API Forum
Hi there,

I am looking at a Display Campaign that is targeting Display Keywords at 
the AdGroup Level. 

I expect to see the keywords the ad group is targeting returned under 
KEYWORDS in the contentBidCriterionTypeGroup field of the AdGroupService 
.
 
However, when I call those fields from this service for this ad group, I 
see nothing returned for KEYWORDS.

How do I find the display keywords being targeted by an ad group in a 
display campaign? Am I using the correct service?



Thanks,
Tim

-- 
---
essenceglobal.com 

Facebook 
 • Twitter 
 • YouTube 
 • Instagram 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/65892d6d-5a88-4731-9e69-57a5e44fa617%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Missing SearchExactMatchImpressionShare values in CAMPAIGN_PERFORMANCE_REPORT

2018-07-12 Thread 'Teja Makani' via AdWords API and Google Ads API Forum
Hello Varun,

Please find my response below inline:

   1. The first question is regarding why there are more rows than the 
   number of unique values for "Labels", which is the only attribute that 
   we're segmenting by.
   The Campaigns Performance report 
   

 includes 
   all statistics aggregated by default at the campaign level, one row per 
   campaign. If two campaigns have the same Labels 
   
,
 
   then you will see duplicates. To get the details of the labels you could 
   use Label Report 
   
, 
   note that label report is a structured report it does not report any stats.
   
   2. But the main question is regarding why there are values like "--" for 
   certain rows. Are these values meant to be interpreted as Zero or are they 
   just unavailable?
   When the particular field of the report does not record any values than 
   "--" appear in the result. 

Let me know if you have any further questions.

Regards,
Sai Teja, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/a1a8a627-eb54-4a11-88b9-f48894b20370%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: FeedItemTargetService (v201806) - strange behaviour

2018-07-12 Thread 'Bharani Cherukuri (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello Adam, 

I was able to replicate the issue. I have shared this information with the 
team. I will keep you posted as soon as I have an update. As a workaround, 
you will be able to filter based on the TargetType 

 as 
Criterion which will return all the Criteria and then look up for the Ad 
schedule criteria.
  
Thanks,
Bharani, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/2d987d3f-1c7a-4ea7-b4c0-e994bf896635%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Demographical report (AgeRanges + Gender)

2018-07-12 Thread 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello, 

Our team is aware of this feature request. Unfortunately, I cannot comment 
on the timeline for this to be available. My suggestion is to keep an eye 
on our blog  
for any updates and announcement about the future releases. Thank you for 
sharing your feedback with us!

Thanks,
Sreelakshmi, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/39dfcd6f-beae-4b04-999e-389540fa790f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to target an adGroup with FeedItemService\FeedItem in v201806

2018-07-12 Thread 'Milind Sankeshware (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Dave,

You can use the FeedItemTargetService.mutate 

 
API call to target specific ad group. Please refer to sample Java code here 
.
 
Samples in other languages can be found here 
. Let me 
know if you have further questions. 

Thanks,
Milind, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/217a484d-69e7-4e5e-a453-daaf1e8e37ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to get user list id in get campaign

2018-07-12 Thread 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Tharun, 

About getting the UserListId and UserListName via the 
CampaignCriterionService.get() 
.
 
Please find the available selector fields for CampaignCriterionService here 
.
 
You could try an API call with the SOAP request as given below: 

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

UserListId
UserListName
CampaignId
CriteriaType

CriteriaType
IN
USER_LIST


CampaignId
IN
734382460


0
100





To add or update a email in an existing user list, you will need to use 
AdwordsUserListService.mutateMembers() 
.
 
Please check this section 

 of 
the python code sample for reference to add members to a user list. Please 
let me know if you have any additional questions. 

Thanks,
Sreelakshmi, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/5d50bb07-4099-4ee7-9197-f2d5ce7887d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Performance Reports on Paused Campaigns

2018-07-12 Thread 'Dhanya Sundararaju (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi PI.X,

Thank you for sending the details. I was able to test this on my test 
account and found that I was indeed able to get paused Campaigns in Geo 
Performance Report. In order to troubleshoot further, could you please 
reply back with your client customer id and specific examples of where you 
find the data discrepancy?

Regards,
Dhanya, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/4a960ad2-3975-4115-ab0c-12eedaa0137c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: UAC Reporting Api return 400 Bad Request

2018-07-12 Thread 'Dhanya Sundararaju (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi,

UAC Campaigns are not supported via the Criteria Performance Report. For 
the fields you have selected, you can run the Campaign Performance Report 
.
 
That is:

SELECT CampaignId, Impressions, Clicks, Cost FROM 
CAMPAIGN_PERFORMANCE_REPORT WHERE AdvertisingChannelSubType = 
UNIVERSAL_APP_CAMPAIGN DURING LAST_7_DAYS 

Other reports you can run for UAC Campaigns, are as mentioned in this 
section 

 of 
the guide. Please let me know if you have any further questions.

Regards,
Dhanya, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/7b3c8208-0ffa-4824-8f9e-ba105548d483%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Showcase Shopping API/Web UI Mismatch

2018-07-12 Thread 'Milind Sankeshware (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Charlie,

Could you please share the CID for which you were running the report? You 
could choose 'Reply privately to author' option while responding.

Thanks,
Milind, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/2e8c6f79-23e7-4a28-9e43-31a5a9ae4710%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Can we use AdService to update only specific parts of an ETA?

2018-07-12 Thread 'Bharani Cherukuri (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello Yang, 

You're right. I was able to replicate the issue that the AdService changes 
are not showing up in the Change history. I have shared this information 
with the team. I will keep you posted as soon as I have an update from the 
team. 

Thanks,
Bharani, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/92b9a3c0-0a61-4f54-869f-854c46914a4b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: KeywordsPerformanceReport Quality Score Device Segmentation

2018-07-12 Thread 'Teja Makani' via AdWords API and Google Ads API Forum
Hello Bansal,

Are you able to get this data from the AdWords UI? If so, could you share 
the screenshot of that report view? The quality score is tied to the 
keyword and ideally not specific to the platform. Please check here 
 for more details. 
While running the  
*Keywords
 
Performance Report 

 *using 
the API even if you segment by *Device 
*,
 
you will get the same quality score for all the devices. If your question 
was different, could you share the screenshot as requested?

Regards,
Sai Teja, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/0c6bd12e-61bf-4763-a20a-842f2740de9a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: KPI estimates for display campaign

2018-07-12 Thread 'Bharani Cherukuri (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello, 

The Targeting Reach and Remarketing reach setting in the UI corresponds to 
the estimate for the specific Targeting settings for Display Network Ad 
campaigns. You could consider using the Display Planner 
 to generate ideas 
for display campaigns. Please note that it is currently not possible to 
pull this data through the API. Currently we do not have an ETA of when or 
if this feature will be available. I have shared your interest with the 
team. Please keep an eye out on our blog 
 for more 
updates.

Regards,
Bharani, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/06812ce7-d347-423f-a6fc-8f16ccbcfabd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Display Campaigns not showing in UI but included in Campaign Report

2018-07-12 Thread Oksana Sulyma
Thanks, I sent private message with details.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/90a772f9-f3b6-4775-a551-b5dd2ec70b70%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Showcase Shopping API/Web UI Mismatch

2018-07-12 Thread charlie
Hello all,

We've been experience an issue across multiple accounts where metrics for 
Showcase Shopping campaigns don't match when comparing API reports with the 
web interface.

The query we're making looks like this:
SELECT Month, Impressions, Conversions, CampaignName from 
SHOPPING_PERFORMANCE_REPORT WHERE CampaignName = "" 
DURING 20180101,20180630

We've reproduced this with API versions v201710, v201802, and v201806.

In the web interface, we've checked both the old and new versions and seen 
consistent data between them, but a significant discrepancy in all metrics 
when compared to the API data.

Please let me know if we're missing something here, or if this is a known 
issue.

Thanks!

Charlie

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/ba013d4e-116f-4872-90a3-85a3e375da04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to target an adGroup with FeedItemService\FeedItem in v201806

2018-07-12 Thread Dave B
As adGroupTargeting is being removed from FeedItemService\FeedItem with 
v201806 
(https://developers.google.com/adwords/api/docs/guides/migration/v201806), 
how can you now target a specific ad group in Ad customizer data?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/ed4cd1bc-eaaf-47d2-9539-c8b0900a7531%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Does criteria performance report reveal every criteria combination by specifying zeroimpression ?

2018-07-12 Thread hzzlzz
Because from the report description it seems not contain exclusion 
associations and I need that too.

On Thursday, July 12, 2018 at 7:05:29 PM UTC+8, hzz...@hotmail.com wrote:
>
> Thank you for the help. I wonder if I can also retrieve them from 
> structural report like combining CampaignCriterionService and 
> AdgroupCriterionService?
>
>
> On Thursday, July 12, 2018 at 6:19:13 PM UTC+8, Peter Oliquino (AdWords 
> API Team) wrote:
>>
>> Hi,
>>
>> Thank you for providing more information about what you wish to retrieve 
>> using the AdWords API's reports. Based on what you said, you can use the 
>> Audience 
>> Performance Report 
>> 
>>  instead. 
>> The CampaignId 
>> 
>>  and AdGroupId 
>> 
>>  fields 
>> are supported in this report along with performance related fields such as 
>> the Impressions 
>> 
>> , Clicks 
>> ,
>>  
>> and Cost 
>> 
>>  of 
>> your userlists.
>>
>> Let me know if this helps.
>>
>> Thanks and regards,
>> Peter
>> AdWords API Team
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/31a4812b-9ed7-402f-b262-700b743cb627%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Does criteria performance report reveal every criteria combination by specifying zeroimpression ?

2018-07-12 Thread hzzlzz
Thank you for the help. I wonder if I can also retrieve them from 
structural report like combining CampaignCriterionService and 
AdgroupCriterionService?


On Thursday, July 12, 2018 at 6:19:13 PM UTC+8, Peter Oliquino (AdWords API 
Team) wrote:
>
> Hi,
>
> Thank you for providing more information about what you wish to retrieve 
> using the AdWords API's reports. Based on what you said, you can use the 
> Audience 
> Performance Report 
> 
>  instead. 
> The CampaignId 
> 
>  and AdGroupId 
> 
>  fields 
> are supported in this report along with performance related fields such as 
> the Impressions 
> 
> , Clicks 
> ,
>  
> and Cost 
> 
>  of 
> your userlists.
>
> Let me know if this helps.
>
> Thanks and regards,
> Peter
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/490ec162-6ab7-4fe2-8c26-ba217203532b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


UAC Reporting Api return 400 Bad Request

2018-07-12 Thread gilbertmmiller2017
hi,i use reporting api to get UAC campaign data,but i got 400 error code.

here is my query code.

$query = (new ReportQueryBuilder())
->select([
'CampaignId',
'CampaignName',
'Impressions',
'Clicks',
'AllConversions',
'Conversions',
'CostPerConversion',
'Cost'
])
->from(ReportDefinitionReportType::CRITERIA_PERFORMANCE_REPORT)
->where('AdvertisingChannelSubType')->equalTo('UNIVERSAL_APP_CAMPAIGN')
->duringDateRange(ReportDefinitionDateRangeType::LAST_7_DAYS)
->build();


here is error message:

POST /api/adwords/reportdownload/v201802 HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Host: adwords.google.com
Authorization: REDACTED
developerToken: REDACTED
clientCustomerId:
User-Agent: unknown (AwApi-PHP, googleads-php-lib/35.1.0, PHP/7.1.17, 
GuzzleHttp/6.3.3, curl/7.53.1, ReportQueryBuilder)
skipReportHeader: false


skipColumnHeader: false


skipReportSummary: false
useRawEnumValues: false
includeZeroImpressions: false

__rdquery=SELECT CampaignId, Impressions, Clicks, Cost FROM 
CRITERIA_PERFORMANCE_REPORT WHERE AdvertisingChannelSubType = 
'UNIVERSAL_APP_CAMPAIGN' DURING LAST_7_DAYS&__fmt=CSV

Response:
REDACTED REPORT DATA

Error:
Client error: `POST 
https://adwords.google.com/api/adwords/reportdownload/v201802` resulted in 
a `400 Bad Request` response

PHP Fatal error:  Uncaught Google\AdsApi\AdWords\v201802\cm\ApiException: 
Details: [fieldPath: AdvertisingChannelSubType; trigger: Invalid predicate 
name: AdvertisingChannelSubType; errorString: 
SelectorError.INVALID_PREDICATE_FIELD_NAME] in 
/googleads/googleads-php-lib/src/Google/AdsApi/AdWords/Reporting/v201802/ReportDownloader.php:234

I take the guide code 

 to 
use the field 'AdvertisingChannelSubType' to filter UAC campaign,but i not 
working.

how can i fix this?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/b3b37542-4e78-4252-b3ef-a0c5e9587e9d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Does criteria performance report reveal every criteria combination by specifying zeroimpression ?

2018-07-12 Thread 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi,

Thank you for providing more information about what you wish to retrieve 
using the AdWords API's reports. Based on what you said, you can use the 
Audience 
Performance Report 

 instead. 
The CampaignId 

 and AdGroupId 

 fields 
are supported in this report along with performance related fields such as 
the Impressions 

, Clicks 
,
 
and Cost 

 of 
your userlists.

Let me know if this helps.

Thanks and regards,
Peter
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/7d12c80c-ebcd-4eaa-a9db-38ddb7aca643%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Shopping Campaigns: Pausing products temporarily

2018-07-12 Thread David Miguel Antunes
Hi Peter,

Ok, thank you!

David

On 12 July 2018 at 08:16, 'Peter Oliquino (AdWords API Team)' via AdWords
API and Google Ads API Forum  wrote:

> Hi David,
>
> Being that the ProductParition
> 
>  is
> an ad group criterion, you should be able to update its status using the
> AdGroupCriterionService.mutate()
> 
>  method.
> You'll simply need to pass its Id
> 
>  and
> the Status
> 
>  value
> you prefer (except for REMOVED).
>
> Thanks and regards,
> Peter
> AdWords API Team
>
> --
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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 a topic in the
> Google Groups "AdWords API and Google Ads API Forum" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/adwords-api/1UybFhNrfD8/unsubscribe.
> To unsubscribe from this group and all its topics, 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/e815615d-7c2d-41f3-84fe-d231456446aa%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

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


Re: How to get user list id in get campaign

2018-07-12 Thread Tarun Jain
Hi Sreelakshmi ,

Please confirm me for updating/add email in userList we have to 
use AdwordsUserListService.Mutate() service or  
CampaignCriterionService.mutate() 


On Wednesday, July 11, 2018 at 8:49:42 PM UTC+5:30, Sreelakshmi Sasidharan 
(AdWords API Team) wrote:
>
> Hi Tarun, 
>
> To get the AdWordsUserList associated with a campaign as a 
> CriterionUserList 
> ,
>  
> you can use the CampaignCriterionService.get() 
> 
>  and 
> filter with the campaign Id. You can look for the attributes userListId 
> 
> , userListName 
> 
>  etc., 
> in the API response. You could check the GetCampaignTargetingCriteria 
> 
>  sample 
> in Java client library to get all the campaign level targeting criterion. 
> Samples in other languages can also be found here 
> . 
>
> Thanks,
> Sreelakshmi, AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/3b8539ec-0563-4f76-b40d-073957a2133f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Does criteria performance report reveal every criteria combination by specifying zeroimpression ?

2018-07-12 Thread hzzlzz
Hi,

I wish to get complete user list attachment with campaign and adgroup.

On Thursday, July 12, 2018 at 4:34:02 PM UTC+8, Peter Oliquino (AdWords API 
Team) wrote:
>
> Hi,
>
> My apologies for the error and the confusion. Yes, what I meant was 
> *includeZeroImpressions 
> = true*, and as for the information discussed by my colleague, that is 
> indeed the correct behavior. The confusion originated from me thinking that 
> the question was getting information of other criteria's hierarchies, where 
> as what you meant was for a single criterion and its other associations to 
> other entities. 
>
> That being said, could you confirm what information exactly it is you wish 
> to retrieve using the Criteria Performance Report? I asked because there 
> are other report types available in the AdWords API that exclusively 
> service specific criteria types.
>
> Best regards,
> Peter
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/b24db6ab-453f-4db5-acf2-b0ec45ab268b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Demographical report (AgeRanges + Gender)

2018-07-12 Thread Ramanan Subramanian
+1. I second this request. Can you let us know if this feature will be made 
available in the immediate future?

On Wednesday, April 26, 2017 at 12:26:58 AM UTC+10, adamos...@beamly.com 
wrote:
>
> Hi Sreelakshmi,
>
> I understand, thanks for the reply.
> We would be very much interested in such a feature.
> What is the process of requesting it to your team?
>
> Thanks,
> Adamos
>
> On Monday, April 24, 2017 at 3:59:31 PM UTC+1, Sreelakshmi Sasidharan 
> (AdWords API Team) wrote:
>>
>> Hi Adamos, 
>>
>> The metrics and stats will only be available via reports. Since the Age 
>> and Gender fields are not available in one report, it might not be possible 
>> to combine the stats of both. The services can be used to get the targeting 
>> criterion of type AGE_RANGE and GENDER set at a specific campaign/AdGroup 
>> level. Unfortunately, to get the stats segmented based on both Age and 
>> gender as you are looking for might not be possible. 
>>
>> Thanks,
>> Sreelakshmi, AdWords API Team
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/e7cb0297-b19f-4757-842e-c6fb1659e4f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


UAC reporting api error ?

2018-07-12 Thread gilbertmmiller2017
hi,i use reporting api to get UAC campaign data,but get this error:
在此输入代码...

PHP Fatal error:  Uncaught Google\AdsApi\AdWords\v201802\cm\ApiException: 
Details: [fieldPath: AdvertisingChannelSubType; trigger: Invalid predicate 
name: AdvertisingChannelSubType; errorString: 
SelectorError.INVALID_PREDICATE_FIELD_NAME] in 
googleads/googleads-php-lib/src/Google/AdsApi/AdWords/Reporting/v201802/ReportDownloader.php:234
Stack trace:

my searching code:
$query = (new ReportQueryBuilder())

->select([
'CampaignId',
'CampaignName',
'Impressions',
'Clicks',
'AllConversions',
'Conversions',
'CostPerConversion',
'Cost'
])
->from(ReportDefinitionReportType::CRITERIA_PERFORMANCE_REPORT)
->where('AdvertisingChannelType')->equalTo('MULTI_CHANNEL')
->where('AdvertisingChannelSubType')->equalTo('UNIVERSAL_APP_CAMPAIGN')

->duringDateRange(ReportDefinitionDateRangeType::LAST_7_DAYS)
->build();




how i fix this?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/7e787f8a-2973-44c4-af8a-9918a35fdbd2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Missing SearchExactMatchImpressionShare values in CAMPAIGN_PERFORMANCE_REPORT

2018-07-12 Thread VG

Hello,

I would like to get some clarification on this issue we're facing. Below 
are the parameters used for the request:

{'reportName': u"My sample report", 'selector': {'fields': ['Labels', 
'SearchExactMatchImpressionShare', 'SearchImpressionShare', 'Impressions'], 
'dateRange': {'max': datetime.date(2018, 6, 30), 'min': datetime.date(2018, 
6, 1)}}, 'reportType': u'CAMPAIGN_PERFORMANCE_REPORT', 'dateRangeType': 
'CUSTOM_DATE', 'downloadFormat': 'CSV'}

The API version being used is v201710

I have attached the response that we get.

The first question is regarding why there are more rows than the number of 
unique values for "Labels", which is the only attribute that we're 
segmenting by.

But the main question is regarding why there are values like "--" for 
certain rows. Are these values meant to be interpreted as Zero or are they 
just unavailable?

The missing values are preventing us from accurately representing the data. 
So any help would be much appreciated.

Thank you! 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/35b2eb88-b421-4dce-93b1-321a9a609206%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ga_response.json
Description: application/json


Re: Sunset date for 201710 is July 25th but I recieved an email saying it would stop working on June 25th.

2018-07-12 Thread Roman Nagovitsyn
Hi AdWords API Team,

I have another question close to the topic theme since I've got the same 
message as the author.

Are there any other issues concerning API version changes, except sunset 
date and?

Is it enough to simply load and start to use new version of API lib, or I 
need to renew develper token for example or implement other actions?

понедельник, 2 июля 2018 г., 11:43:25 UTC+4 пользователь Luis Xander Talag 
(AdWords API Team) написал:
>
> Hi Robert,
>
> Unfortunately, the email you received contains typographical error. The 
> sunset date should be 07/25/2018 as stated in our deprecation schedule 
> . I would 
> also suggest to migrate to the latest v201806 
>  to 
> avoid any technical issues in the future.
>
> Thanks and regards,
> Luis
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/2b5c4427-1735-43bd-a401-3fb859988d70%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Reports on Paused Campaigns

2018-07-12 Thread PI.X
Hi,

(Apologies if this is being posted twice.)

We have noticed that we cannot obtain data on Paused campaigns in certain 
types of reports. E.g., for a given date range, we can see data of Paused 
campaigns in a Campaign Performance Report, but not in the Geo Performance 
Report.

As an example, we can run the following query for a Geo Performance Report 
(python dict notation):

geo_q = {
'reportName': 'Missing Paused Campaigns',
'dateRangeType': 'CUSTOM_DATE',
'reportType': 'GEO_PERFORMANCE_REPORT',
'downloadFormat': 'CSV',
'selector': {
'fields': ['Date', 'CountryCriteriaId', 'CampaignName', 
'CampaignStatus'],
'dateRange': {
'min': '20171001',
'max': '20171231',
},
'predicates': [
{
'field': 'CampaignStatus',
'operator': 'IN',
'values': ['PAUSED', 'REMOVED']
},
],
},
}

This gives data only on Removed campaigns, and not Paused ones. Meanwhile, 
we can run the following query for a Campaign Performance Report with the 
same selector:

camp_q = {
'reportName': 'Missing Paused Campaigns',
'dateRangeType': 'CUSTOM_DATE',
'reportType': 'CAMPAIGN_PERFORMANCE_REPORT',
'downloadFormat': 'CSV',
'selector': {
'fields': ['Date', 'CampaignName', 'CampaignStatus'],
'dateRange': {
'min': '20171001',
'max': '20171231',
},
'predicates': [
{
'field': 'CampaignStatus',
'operator': 'IN',
'values': ['PAUSED', 'REMOVED']
},
],
},
}

The above query *does* yield data of both our Paused and Removed campaigns.

We are using python to load the data into DataFrames:

geo = pd.read_csv(rd.DownloadReportAsStream(geo_q, skip_report_header=True, 
skip_report_summary=True))
camp = pd.read_csv(rd.DownloadReportAsStream(camp_q, skip_report_header=True
, skip_report_summary=True))
print(set(geo['Campaign state']))
print(set(camp['Campaign state']))

# Output:

{'removed'}
{'removed', 'paused'}


We would just like to know if there is a specific reason why Paused 
campaigns are not in these kinds of reports, while Removed campaigns are, 
or if there is a bug somewhere.

Best,
PI.X


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/614431f5-f67e-4674-a6b0-a62e8637040b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Performance Reports on Paused Campaigns

2018-07-12 Thread PI.X
Hi,

We are finding that we cannot retrieve data on paused campaigns in some 
performance reports. Using the following query (python dict notation):

geo_q = {
'reportName': 'Missing Paused Campaigns',
'dateRangeType': 'CUSTOM_DATE',
'reportType': 'GEO_PERFORMANCE_REPORT',
'downloadFormat': 'CSV',
'selector': {
'fields': ['Date', 'CountryCriteriaId', 'CampaignName', 
'CampaignStatus'],
'dateRange': {
'min': '20171001',
'max': '20171231',
},
'predicates': [
{
'field': 'CampaignStatus',
'operator': 'IN',
'values': ['PAUSED', 'REMOVED']
},
],
},
}

Where we have data visible in the UI for some paused campaigns, we only get 
results for our removed campaigns.

Meanwhile, if we request a Campaign Performance Report over the same date 
range, we *do* get our paused campaigns:
campaign_q = {
'reportName': 'Missing Paused Campaigns',
'dateRangeType': 'CUSTOM_DATE',
'reportType': 'CAMPAIGN_PERFORMANCE_REPORT',
'downloadFormat': 'CSV',
'selector': {
'fields': ['Date', 'CampaignName', 'CampaignStatus'],
'dateRange': {
'min': '20171001',
'max': '20171231',
},
'predicates': [
{
'field': 'CampaignStatus',
'operator': 'IN',
'values': ['PAUSED', 'REMOVED']
},
],
},
}

Using the above definitions, we loaded the results into dataframes:
geo = pd.read_csv(rd.DownloadReportAsStream(geo_q, skip_report_header=True, 
skip_report_summary=True))
camp = pd.read_csv(rd.DownloadReportAsStream(camp_q, skip_report_header=True
, skip_report_summary=True))
print(set(geo['Campaign state']))
print(set(camp['Campaign state']))

# output:

# {'removed'}
# {'removed', 'paused'}


We're just curious to know if this is a bug or if for some reasons some 
reports are simply not available for paused campaigns while they are 
available for removed campaigns.

Best,
PI.X

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/cb57f1fb-79d6-432f-b409-bbdd3ac03771%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Does criteria performance report reveal every criteria combination by specifying zeroimpression ?

2018-07-12 Thread 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi,

My apologies for the error and the confusion. Yes, what I meant was 
*includeZeroImpressions 
= true*, and as for the information discussed by my colleague, that is 
indeed the correct behavior. The confusion originated from me thinking that 
the question was getting information of other criteria's hierarchies, where 
as what you meant was for a single criterion and its other associations to 
other entities. 

That being said, could you confirm what information exactly it is you wish 
to retrieve using the Criteria Performance Report? I asked because there 
are other report types available in the AdWords API that exclusively 
service specific criteria types.

Best regards,
Peter
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/0241b3a2-11c5-4af4-858f-6fcee93c2a11%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Expression Rule User List Error

2018-07-12 Thread danny+awtest
For all who will has same problem as me. Here is solution:

Correct code :

In CustomAffinityService (initialized with 
*Google\AdsApi\AdWords\v201806\rm\CustomAffinityService*) you need create 
Custom Intent:

/**
 * $data example:
 *   [
 *   'test' => 'www.test.com',
 *   'test 2' => 'www.test2.com',
 *   ]
 *
 * @param array $data
 * @param string $audienceName
 * @return mixed
 */
public function addCustomIntentList(array $data, $audienceName)
{
$keywordsList = new CustomAffinity();


$keywordsList->setName($audienceName);
$keywordsList->setDescription(
$audienceName . ' created at ' . date('Y-m-d H:i:s')
);


$keywordsList->setType(
CustomAffinityType::CUSTOM_INTENT
);


$keywordsList->setTokens(self::createTokensList($data));


$operation = new CustomAffinityOperation();
$operation->setOperand($keywordsList);
$operation->setOperator(Operator::ADD);


return $this->mutateOperations([$operation], 'getEntries');
}


/**
 * Create a intent list rule composed of keywords/urls
 * @param array $data
 *
 * @return \Google\AdsApi\AdWords\v201806\rm\CustomAffinityToken[] $tokens
 */
private static function createTokensList(array $data)
{
$items = [];


foreach ($data as $name => $ruleItem) {
$stringKey = new CustomAffinityToken();
$stringKey->setParameter($ruleItem);
$stringKey->setTokenType(CustomAffinityTokenTokenType::URL);
$stringKey->setCustomAffinityId(1);


$items[] = $stringKey;
}


return $items;
}

And in AdGroupCriterionService (initialized with 
*Google\AdsApi\AdWords\v201806\cm\AdGroupCriterionService**)* you need to 
connect Intent and AdGroup:

/**
 * $data example:
 *   [
 *   'AdGroupId' => 12345,
 *   'CustomIntentId' => 67890,
 *   ]
 *
 *
 * @param array $data
 * @return array
 * @throws AdWordsClientException
 */
public function createCustomIntentCriterion(array $data)
{
$operations = [];


foreach ($data as $item) {
if (!isset($item['AdGroupId'])) {
throw new AdWordsClientException('AdGroupId is not set');
}
if (!isset($item['CustomIntentId'])) {
throw new AdWordsClientException('CustomIntentId is not set');
}


$intentListCriterion = new CriterionCustomIntent();
$intentListCriterion->setCustomIntentId($item['CustomIntentId']);
$intentListCriterion->setCriterionType(CriterionType::CUSTOM_INTENT
);


$adGroupCriterion = new BiddableAdGroupCriterion();
$adGroupCriterion->setAdGroupId($item['AdGroupId']);
$adGroupCriterion->setCriterion($intentListCriterion);


$operation = new AdGroupCriterionOperation();
$operation->setOperand($adGroupCriterion);
$operation->setOperator(Operator::ADD);


$operations[] = $operation;
}


return $this->mutateOperations($operations);
}

Error way is to try usage of BiddableAdGroupCriterion and 
AdGroupCriterionOperation not from AdGroupCriterionService.
Both of services extends same \Google\AdsApi\Common\AdsSoapClient but 
method mutateOperations() will has different endpoints in this 2 services, 
so generated SOAP for connecting intent to AdGroup will be incorrect if 
call  mutateOperations()  not from AdGroupCriterionService.

Nadine, thank for your support! Request can be closed.

Sincerely, Danny.

On Wednesday, July 11, 2018 at 4:44:22 PM UTC+3, Nadine Sundquist (AdWords 
API Team) wrote:
>
> Hello Danny,
>
> I do understand that you told me that you can create a Custom Intent in 
> that account. However, the request ID you sent me and the error you sent me 
> are tied to a request to create a Custom Intent failed. I was only 
> debugging exactly what you sent me. Now, i'm guessing you may have 
> accidentally sent me the incorrect request ID and error if it is indeed 
> successful as you say it is. 
>
> Could you please send me the other request ID and error that correspond 
> with the request you're making to create the ad group criterion? It would 
> be later in your logs than the request ID you sent me. That way I can 
> verify how you're structuring your request and what the error is for that 
> specific call.
>
> Thanks,
> Nadine, AdWords API Team
>
> On Wednesday, July 11, 2018 at 6:11:13 AM UTC-4, danny+...@pdffiller.com 
>  wrote:
>>
>> Hi Nadine!
>>
>> As I explained before, I am creating custom intent in one part of code, 
>> and created it successful. I am getting response with all info about custom 
>> intent (id, name, desc etc.).
>> May be I need create Intent with AdGroupCriterion, not as separate 
>> logic? But CriterionCustomAffinity has no method for setting 
>> CustomAffinity.  
>>
>> Real problem for me now is that you can not show me example for PHP. And 
>> there is no example in examples folder in lib.
>>
>> I thought about analogy of BiddableAdGroupCriterion, where when I create 
>> Keyword I set it as criterion (Keyword extends Criterion) to 
>> 

Re: Can I use API to get AdWords Notes

2018-07-12 Thread 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Biao Jiang,

Unfortunately, notes are currently not supported in the AdWords API. We 
only provide AdWords API concerns in this forum. If you wish to know other 
APIs that can support get notes in the AdWords UI, you may open your 
concern in the Advertiser's Community Forum 
 
as 
the product owners are better equipped in answering your concerns.

Regards,
Dannison
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/26b95a18-93a1-47da-ab60-18f7c85dac70%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Expression Rule User List Error

2018-07-12 Thread danny+awtest
For all who will has same problem as me. Here is solution:

Correct code :
In CustomAffinityService (initialized with Google\AdsApi\AdWords\v201806\rm\
CustomAffinityService) you need create Custom Intent:

/**
 * $data example:
 *   [
 *   'test' => 'www.test.com',
 *   'test 2' => 'www.test2.com',
 *   ]
 *
 * @param array $data
 * @param string $audienceName
 * @return mixed
 * @throws \pdffiller\adwords\api\AdWordsApiException
 */
public function addCustomIntentList(array $data, $audienceName)
{
$keywordsList = new CustomAffinity();

$keywordsList->setName($audienceName);
$keywordsList->setDescription(
$audienceName . ' created at ' . date('Y-m-d H:i:s')
);

$keywordsList->setType(
CustomAffinityType::CUSTOM_INTENT
);

$keywordsList->setTokens(self::createTokensList($data));

$operation = new CustomAffinityOperation();
$operation->setOperand($keywordsList);
$operation->setOperator(Operator::ADD);

return $this->mutateOperations([$operation], 'getEntries');
}

/**
 * Create a intent list rule composed of keywords/urls
 * @param array $data
 *
 * @return \Google\AdsApi\AdWords\v201806\rm\CustomAffinityToken[] $tokens
 */
private static function createTokensList(array $data)
{
$items = [];

foreach ($data as $name => $ruleItem) {
$stringKey = new CustomAffinityToken();
$stringKey->setParameter($ruleItem);
$stringKey->setTokenType(CustomAffinityTokenTokenType::URL);
$stringKey->setCustomAffinityId(1);

$items[] = $stringKey;
}

return $items;
}


And in AdGroupCriterionService (initialized with 
Google\AdsApi\AdWords\v201806\cm\AdGroupCriterionService) you need to 
connect Intent and AdGroup:

/**
 * $data example:
 *   [
 *   'AdGroupId' => 12345,
 *   'CustomIntentId' => 67890,
 *   ]
 *
 *
 * @param array $data
 * @return array
 * @throws AdWordsClientException
 * @throws \pdffiller\adwords\api\AdWordsApiException
 */
public function createCustomIntentCriterion(array $data)
{
$operations = [];

foreach ($data as $item) {
if (!isset($item['AdGroupId'])) {
throw new AdWordsClientException('AdGroupId is not set');
}
if (!isset($item['CustomIntentId'])) {
throw new AdWordsClientException('CustomIntentId is not set');
}

$intentListCriterion = new CriterionCustomIntent();
$intentListCriterion->setCustomIntentId($item['CustomIntentId']);
$intentListCriterion->setCriterionType(CriterionType::CUSTOM_INTENT);

$adGroupCriterion = new BiddableAdGroupCriterion();
$adGroupCriterion->setAdGroupId($item['AdGroupId']);
$adGroupCriterion->setCriterion($intentListCriterion);

$operation = new AdGroupCriterionOperation();
$operation->setOperand($adGroupCriterion);
$operation->setOperator(Operator::ADD);

$operations[] = $operation;
}

return $this->mutateOperations($operations);
}


Error way is to try usage of BiddableAdGroupCriterion and 
AdGroupCriterionOperation not from AdGroupCriterionService.
Both of services extends same \Google\AdsApi\Common\AdsSoapClient but 
method mutateOperations() will has different endpoints in this 2 services, 
so generated SOAP for connecting intent to AdGroup will be incorrect if 
call  mutateOperations()  not from AdGroupCriterionService.

Nadine, thank for your support! Request can be closed.

Sincerely, Danny.

On Wednesday, July 11, 2018 at 4:44:22 PM UTC+3, Nadine Sundquist (AdWords 
API Team) wrote:
>
> Hello Danny,
>
> I do understand that you told me that you can create a Custom Intent in 
> that account. However, the request ID you sent me and the error you sent me 
> are tied to a request to create a Custom Intent failed. I was only 
> debugging exactly what you sent me. Now, i'm guessing you may have 
> accidentally sent me the incorrect request ID and error if it is indeed 
> successful as you say it is. 
>
> Could you please send me the other request ID and error that correspond 
> with the request you're making to create the ad group criterion? It would 
> be later in your logs than the request ID you sent me. That way I can 
> verify how you're structuring your request and what the error is for that 
> specific call.
>
> Thanks,
> Nadine, AdWords API Team
>
> On Wednesday, July 11, 2018 at 6:11:13 AM UTC-4, danny+...@pdffiller.com 
>  wrote:
>>
>> Hi Nadine!
>>
>> As I explained before, I am creating custom intent in one part of code, 
>> and created it successful. I am getting response with all info about custom 
>> intent (id, name, desc etc.).
>> May be I need create Intent with AdGroupCriterion, not as separate 
>> logic? But CriterionCustomAffinity has no method for setting 
>> CustomAffinity.  
>>
>> Real problem for me now is that you can not show me example for PHP. And 
>> there is no example in examples folder in lib.
>>
>> I thought about analogy of BiddableAdGroupCriterion, where 

Re: FeedItemTargetService (v201806) - strange behaviour

2018-07-12 Thread Adam Orczyk
In given Feed Item there are 10 Feed Item Targets, in each request we would 
like to get all of them.

W dniu czwartek, 12 lipca 2018 09:53:13 UTC+2 użytkownik Adam Orczyk 
napisał:
>
> Hi,
> We found two strange behaviours in FeedItemTargetService.
>
> 1. Select fields ex.: "Status","Id","CriteriaType"
>
> Request:
> http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd="
> http://www.w3.org/2001/XMLSchema; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance;> soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next; 
> soapenv:mustUnderstand="0" xmlns:ns1="
> https://adwords.google.com/api/adwords/cm/v201806;> soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next; 
> soapenv:mustUnderstand="0">7631750729 soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next; 
> soapenv:mustUnderstand="0">Hurra 
> Communicationshttp://schemas.xmlsoap.org/soap/actor/next; 
> soapenv:mustUnderstand="0"/>  
> xmlns="https://adwords.google.com/api/adwords/cm/v201806
> ">StatusIdCriteriaTypeFeedIdIN45551970FeedItemIdIN25939292902
>
> Response:
>  xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/;>  
> xmlns="https://adwords.google.com/api/adwords/cm/v201806;>000570b8f91c3cc10a37854760082ebaFeedItemTargetServiceget1254  
> xmlns="https://adwords.google.com/api/adwords/cm/v201806
> ">10FeedItemTargetPage
>
> Selecting only "Status" and "Id" works fine.
>
> 2. Use "IN" operator ex.:
> operator => "IN",
> field => "CriteriaType",
> values => ['AD_SCHEDULE']
>
> Request:
> http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd="
> http://www.w3.org/2001/XMLSchema; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance;> soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next; 
> soapenv:mustUnderstand="0" xmlns:ns1="
> https://adwords.google.com/api/adwords/cm/v201806;> soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next; 
> soapenv:mustUnderstand="0">7631750729 soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next; 
> soapenv:mustUnderstand="0">Hurra 
> Communicationshttp://schemas.xmlsoap.org/soap/actor/next; 
> soapenv:mustUnderstand="0"/>  
> xmlns="https://adwords.google.com/api/adwords/cm/v201806
> ">StatusIdFeedIdIN45551970FeedItemIdIN25939292902CriteriaTypeINAD_SCHEDULE
>
> Response:
>  xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/;>  
> xmlns="https://adwords.google.com/api/adwords/cm/v201806;>000570b9063f5db00a374846270138c2FeedItemTargetServiceget1260  
> xmlns="https://adwords.google.com/api/adwords/cm/v201806
> ">0FeedItemTargetPage
>
> When you use operator "NOT_IN" instead, you get proper response contains 
> 'AD_SCHEDULE' objects only.
>
> Regards,
> Adam
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/b57959ea-7bb7-4b38-b849-925baa3517d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


FeedItemTargetService (v201806) - strange behaviour

2018-07-12 Thread Adam Orczyk
Hi,
We found two strange behaviours in FeedItemTargetService.

1. Select fields ex.: "Status","Id","CriteriaType"

Request:
http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;>http://schemas.xmlsoap.org/soap/actor/next; 
soapenv:mustUnderstand="0" 
xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201806;>http://schemas.xmlsoap.org/soap/actor/next; 
soapenv:mustUnderstand="0">7631750729http://schemas.xmlsoap.org/soap/actor/next; 
soapenv:mustUnderstand="0">Hurra 
Communicationshttp://schemas.xmlsoap.org/soap/actor/next; 
soapenv:mustUnderstand="0"/>https://adwords.google.com/api/adwords/cm/v201806;>StatusIdCriteriaTypeFeedIdIN45551970FeedItemIdIN25939292902

Response:
http://schemas.xmlsoap.org/soap/envelope/;>https://adwords.google.com/api/adwords/cm/v201806;>000570b8f91c3cc10a37854760082ebaFeedItemTargetServiceget1254https://adwords.google.com/api/adwords/cm/v201806;>10FeedItemTargetPage

Selecting only "Status" and "Id" works fine.

2. Use "IN" operator ex.:
operator => "IN",
field => "CriteriaType",
values => ['AD_SCHEDULE']

Request:
http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;>http://schemas.xmlsoap.org/soap/actor/next; 
soapenv:mustUnderstand="0" 
xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201806;>http://schemas.xmlsoap.org/soap/actor/next; 
soapenv:mustUnderstand="0">7631750729http://schemas.xmlsoap.org/soap/actor/next; 
soapenv:mustUnderstand="0">Hurra 
Communicationshttp://schemas.xmlsoap.org/soap/actor/next; 
soapenv:mustUnderstand="0"/>https://adwords.google.com/api/adwords/cm/v201806;>StatusIdFeedIdIN45551970FeedItemIdIN25939292902CriteriaTypeINAD_SCHEDULE

Response:
http://schemas.xmlsoap.org/soap/envelope/;>https://adwords.google.com/api/adwords/cm/v201806;>000570b9063f5db00a374846270138c2FeedItemTargetServiceget1260https://adwords.google.com/api/adwords/cm/v201806;>0FeedItemTargetPage

When you use operator "NOT_IN" instead, you get proper response contains 
'AD_SCHEDULE' objects only.

Regards,
Adam

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/64f1c4c9-f355-49f6-8df2-2b9ffd45de42%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Does criteria performance report reveal every criteria combination by specifying zeroimpression ?

2018-07-12 Thread hzzlzz
Thanks Peter, do you mean *includeZeroImpressions  = true?*

Besides I found a previous answer which seems opposite it 
https://groups.google.com/d/msg/adwords-api/TQ9jUDtpzfw/0VDNLcrABgAJ



On Thursday, July 12, 2018 at 1:43:26 PM UTC+8, Peter Oliquino (AdWords API 
Team) wrote:
>
> Hi,
>
> I did a test on my local using my test account and what you have observed 
> should be correct. Setting the *includeZeroImpressions = false* would 
> also return those other information that could help you better identify 
> your ad group criterion's hierarchy. 
>
> However, you may take note that the CriteriaType 
> 
>  returned 
> would depend on AdWords, so what you would retrieve may not be entirely 
> that of a Campaign to a UserList criterion structure. 
>
> Thanks and regards,
> Peter
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/200840e1-e411-4026-a63a-27b11d7a7c12%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: v201806/AdService mutate SET trackingUrlTemplate yields AdError.INVALID_AD_TYPE

2018-07-12 Thread 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Chris,

Thank you for sending the information I requested. However, after further 
checking on our end, it appears that TextAds are not included in the 
supported ad types that can be passed to the AdService.mutate() method. For 
more information, you can refer here 

 for 
the supported ad types.

I hope this helps.

Thanks and regards,
Peter
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/55e1ce0a-78ce-47b9-8ecb-b64c638b4f31%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Shopping Campaigns: Pausing products temporarily

2018-07-12 Thread 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi David,

Being that the ProductParition 

 is 
an ad group criterion, you should be able to update its status using the 
AdGroupCriterionService.mutate() 

 method. 
You'll simply need to pass its Id 

 and 
the Status 

 value 
you prefer (except for REMOVED).

Thanks and regards,
Peter
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/e815615d-7c2d-41f3-84fe-d231456446aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Can we use AdService to update only specific parts of an ETA?

2018-07-12 Thread Yang Gao
Ok thanks for the confirmation. Mutate worked once I passed in the required 
fields. That said, it seems that these changes are not showing up in change 
history? Is this expected? Do you know if undo is supported for this 
operation?

Yang

On Wednesday, July 11, 2018 at 10:48:04 PM UTC+8, Bharani Cherukuri 
(AdWords API Team) wrote:
>
> Hello Yang, 
>
> With the previous versions of the API, v201802 and earlier, the Ads were 
> immutable. Using v201806, you will be able to mutate your ads without 
> losing their performance data using AdService 
> . 
> For this, you will have to add all the required fields listed here 
> .
>  
> Currently, it is not possible to update only specific elements without the 
> required fields. However, I have shared your concern with the team. Please 
> keep an eye on our blog 
>  for any 
> updates or announcements related to this feature. 
>
> Thanks,
> Bharani, AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/bd8bb56c-be3a-4ec9-b23f-d8f71e279cc2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to get user list id in get campaign

2018-07-12 Thread Tarun Jain
Hi Sreelakshmi,

Actually I have only campaign id and I want to get linked UserListId and 
UserListName of that campaign. In  CampaignCriterionService.get() 

  
there no such field to get userListId.

I am using as below selector and method:

CampaignCriterionService = user.getService('CampaignCriterionService', 
'v201802')
 CustomerServiceSelector = {
'fields': ['CampaignId'],
"predicates": [{
"field": 'CampaignId',
"operator": "EQUALS",
"values": ["x"]
}],
}
CampaignCriterionService.get({ serviceSelector: CustomerServiceSelector }


I found userListId 

, userListName 

 are used in CampaignCriterionService.mutate() 
;
 
not in  CampaignCriterionService.get() 

 but 
I want in get service.

If is possible then pls share the selector example might I am doing some 
mistake in selector that I share above.

Thanks,
Tarun Jain

On Wednesday, July 11, 2018 at 8:49:42 PM UTC+5:30, Sreelakshmi Sasidharan 
(AdWords API Team) wrote:
>
> Hi Tarun, 
>
> To get the AdWordsUserList associated with a campaign as a 
> CriterionUserList 
> ,
>  
> you can use the CampaignCriterionService.get() 
> 
>  and 
> filter with the campaign Id. You can look for the attributes userListId 
> 
> , userListName 
> 
>  etc., 
> in the API response. You could check the GetCampaignTargetingCriteria 
> 
>  sample 
> in Java client library to get all the campaign level targeting criterion. 
> Samples in other languages can also be found here 
> . 
>
> Thanks,
> Sreelakshmi, AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/ecb66f7b-9646-4f19-921c-48e72c97a15c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: GetKeywordIdeas - Keyword limit?

2018-07-12 Thread 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Stephen,

Being that it is an array, there should be no limit to the number of 
keywords you could include into it. However, should your attempt result in 
an error, let me know and provide to me the SOAP request and response or 
any helpful logs so I can investigate further.

For the details I requested, you may reply to me using the *Reply privately 
to author* option.

Thanks and regards,
Peter
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
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/4b954753-0444-4cb4-acc6-7751e7898f45%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.