Re: What does the field Cost in the Shopping Performance Report mean?

2016-08-25 Thread 'Joyce Lava' via AdWords API Forum
Hi Vitor, 

Additionally, the micro amounts of the report fields with type Money refers 
to the account's local currency. That said, the conversion should be done 
only to convert from micros and no longer need to convert into your 
account's currency.

Thanks,
Joyce, AdWords API Team

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

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


Re: What does the field Cost in the Shopping Performance Report mean?

2016-08-25 Thread 'Joyce Lava' via AdWords API Forum
Hi Vitor,

The field Cost 

 in Shopping Performance Report 

 should 
return the sum of the CPC and CPM costs during the specified period. You 
may set the includeZeroImpressions 

 to *false* to return Cost values that are non-zero, however, even if it is 
set to false and the Cost value is 0 but there are some other specified 
metrics fields that have non-zero values, then the row will still be 
returned in the report output. Since Cost is of type Money 
,
 
this will return data in micros (x 1,000,000). I'm afraid you have to do 
the conversion on your side.

Thanks,
Joyce, AdWords API Team

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

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


Re: OfflineCredentials.Api.ADWORDS is giving value null and causing nullPointerException

2016-08-25 Thread 'Joyce Lava' via AdWords API Forum
Hi,

I noticed this thread is a bit old. Please open a new thread with your 
concerns.

Thanks,
Joyce, AdWords API Team

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

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


What does the field Cost in the Shopping Performance Report mean?

2016-08-25 Thread vitor . lobao
Hi,

I know this field represents the amount spent on and ad.
But it's showing me lots of zeros and I don't know for sure how to get a 
real number out of it.

For example:

One of my ads has a average CPC of 15. Is it 1/1000 of a cent?
How am I supposed to convert this value to my currency?

Thanks!

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

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


Re: OfflineCredentials.Api.ADWORDS is giving value null and causing nullPointerException

2016-08-25 Thread kumar
Hi All,

I have the same issue right now. I am trying to run my Adwords project as a 
spark job in scala. It works well on my local machine but when I compile 
and create a jar for it, it fails because of the following error. 
I am using the two dependencies for my Adwords project.
"com.google.api-ads" % "ads-lib" % "2.14.0" 
"com.google.api-ads" % "adwords-axis" % "2.15.0"

Would be nice if someone can point out possible solutions. I have made sure 
that I added commons configuration jar to my build, but it still cant find 
it during runtime. 

16/08/25 17:33:45 ERROR yarn.ApplicationMaster: User class threw exception: 
java.lang.NoSuchMethodError: 
org.apache.commons.configuration.MapConfiguration.(Ljava/util/Properties;)V
java.lang.NoSuchMethodError: 
org.apache.commons.configuration.MapConfiguration.(Ljava/util/Properties;)V
at 
com.google.api.ads.common.lib.conf.ConfigurationHelper.fromSystem(ConfigurationHelper.java:118)
at 
com.google.api.ads.common.lib.conf.ConfigurationHelper.createCombinedConfiguration(ConfigurationHelper.java:144)
at 
com.google.api.ads.common.lib.conf.ConfigurationProvider.get(ConfigurationProvider.java:67)
at 
com.google.api.ads.common.lib.conf.ConfigurationProvider.get(ConfigurationProvider.java:31)
at 
com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
at 
com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
at 
com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
at 
com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:84)
at 
com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)
at 
com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
at 
com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
at 
com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.Scopes$1$1.get(Scopes.java:65)
at 
com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
at 
com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:204)
at 
com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:198)
at 
com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)
at 
com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:198)
at 
com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:179)
at 
com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:109)
at com.google.inject.Guice.createInjector(Guice.java:95)
at com.google.inject.Guice.createInjector(Guice.java:72)
at com.google.inject.Guice.createInjector(Guice.java:62)
at 
com.google.api.ads.adwords.lib.utils.AdWordsInternals.(AdWordsInternals.java:36)
at 
com.google.api.ads.common.lib.auth.OfflineCredentials$Api.(OfflineCredentials.java:66)
at config.APISConfig$.create_adwords_session(APISConfig.scala:18)
at 
campaign_by_apisearches.APICampaignStarter$.(APICampaignStarter.scala:18)
at 
campaign_by_apisearches.APICampaignStarter$.(APICampaignStarter.scala)
at 
campaign_by_apisearches.APICampaignStarter.main(APICampaignStarter.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.apache.spark.deploy.yarn.ApplicationMaster$$anon$2.run(ApplicationMaster.scala:525)
16/08/25 17:33:45 INFO yarn.ApplicationMaster: Final app status: FAILED, 
exitCode: 15, (reason: User class threw exception: java.lang.NoSuchMethodError: 
org.apache.commons.configuration.MapConfiguration.(Ljava/util/Properties;)V)
16/08/25 17:33:55 ERROR yarn.ApplicationMaster: SparkContext did not initialize 
after waiting for 10 ms. Please check earlier log output for errors. 
Failing the application.
16/08/25 17:33:55 INFO util.ShutdownHookManager: Shutdown hook called


On Tuesday, September 29, 2015 at 2:24:58 PM UTC-6, Umesh Dengale wrote:
>
> Hello,
>
> Thanks for providing the stacktrace.  It seems that the classpath may be 
> missing some essential dependencies (e.g. commons-configuration jar 
> etc.). Again, this could be caused by many things that may be beyond the 
> AdWords API: missing dependency, or dupli

Re: Complaint about ad showing as 'disapproved' with the reason being 'destination not working', but the destination does work. Support did not help.

2016-08-25 Thread 'Joyce Lava' via AdWords API Forum
Hi Chloe,

Apologies if the AdWords Community support didn't provide better help in 
this case, but that is the only go-to for questions like ads 
review/approval as this forum is dedicated for AdWords API related concerns 
only.

I found a post 

 that 
you might want to check to confirm your website is complying with those 
things specified in the link. However, if you need further assistance and 
clarifications about this, the AdWords Community Forum is the best place to 
ask.

Thanks,
Joyce, AdWords API Team

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

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


Re: QPS - RATE_EXCEEDED

2016-08-25 Thread 'Peter Oliquino' via AdWords API Forum
Hi Joe,

My apologies for the delayed response. I am unsure how the RateExceedError 
object did not include the retryAfterSeconds attribute in your Post as I 
can only provide recommendations while using the AdWords API libraries. 
With this, I would suggest that you use instead our client libraries 

 as 
it should provide more detailed responses and ease of access to all AdWords 
API objects specifically the RateExceedError.retryAfterSeconds.

Best regards,
Peter
AdWords API Team

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

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


Re: Create copy of entire shopping campaign

2016-08-25 Thread 'Peter Oliquino' via AdWords API Forum
Hi Phil,

The PRODUCT_PARTITION_ALREADY_EXISTS error suggests that the partition can 
no longer be added to the AdGroup because it already exists. I noticed in 
the operand[2] ( [2] => AdGroupCriterionOperation Object ) you are using 
the same temporary ID ([parentCriterionId] => -1). Could you try assigning 
a different value instead? Although they are temporary, these IDs also need 
to be distinct when used in a single request.

Best regards,
Peter
AdWords API Team

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

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


Re: Following api example and getting 'no campaigns found'

2016-08-25 Thread 'Peter Oliquino' via AdWords API Forum
Hi Arieh,

I checked your test client account and saw that you have 2 campaigns under 
that account. There should be no issues if you are using the test client 
account ID when running the GetCampaigns example. Could you provide any 
SOAP request and response so I can further investigate? You may send it 
through *Reply privately to author*.

Best regards,
Peter
AdWords API Team

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

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


Complaint about ad showing as 'disapproved' with the reason being 'destination not working', but the destination does work. Support did not help.

2016-08-25 Thread Chloe
I filled out a form for AdWords support for them to review why this ad is 
showing 'disapproved' even after I clicked 'Test again' and even after I 
verified the destination URL was working. They merely replied "A review was 
conducted, and as a result, the site was re-enabled." The rep was Anna U. 
The form I filled was 
https://support.google.com/adwords/contact/site_policy?authuser=0

The URL in the ad is
www.bestsales.com/shopping/search?q={keyword}

That would lead to
http://www.bestsales.com/shopping/search?q=motorola+h730+bluetooth+headset

Here is a screenshot of the disabled ad.



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

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


Re: TargetingIdeaService, 800 keywords provided, the limit, yet still get an error

2016-08-25 Thread Chloe
The real limit seems to be 700 (discovered with manual binary search). I 
think someone made a typo somewhere.

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

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


Re: TargetingIdeaService, 800 keywords provided, the limit, yet still get an error

2016-08-25 Thread Chloe
Here is the `request_info.log`. This request was for test environment, but 
it doesn't work in production either.

> [Aug 25 2016 18:33:08.00 - ERROR] effectiveUser=9 
> service=TargetingIdeaService method=get operators={} responseTime=163 
> requestId=00053aecfb454cc80ac15e28de0d2694 operations=1 units= server=
> adwords.google.com isFault=true 
> faultMessage=[CollectionSizeError.TOO_MANY @ 
> selector.searchParameters[1].queries]

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

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


Re: TargetingIdeaService, 800 keywords provided, the limit, yet still get an error

2016-08-25 Thread Chloe
Here is the `request_info.log`. This request was for test environment, but 
it don't work in production either.
>
> [Aug 25 2016 18:33:08.00 - ERROR] effectiveUser=9 
> service=TargetingIdeaService method=get operators={} responseTime=163 
> requestId=00053aecfb454cc80ac15e28de0d2694 operations=1 units= 
> server=adwords.google.com isFault=true 
> faultMessage=[CollectionSizeError.TOO_MANY @ 
> selector.searchParameters[1].queries]

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

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


Re: TargetingIdeaService, 800 keywords provided, the limit, yet still get an error

2016-08-25 Thread Chloe
RECOMMENDED_PAGE_SIZE is 500 but I still tried to hardcode 800 but it 
didn't help.

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

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


TargetingIdeaService, 800 keywords provided, the limit, yet still get an error

2016-08-25 Thread Chloe
I submitted 800 keywords for TargetingIdeaService. The limit is 800. 
https://developers.google.com/adwords/api/docs/reference/v201605/TargetingIdeaService#get

It's giving me an error anyways.

> $ yii kw/stats 

Warning: [CollectionSizeError.TOO_MANY @ 
> selector.searchParameters[1].queries]
> Error: Giving up.


Here is the code.
  function actionStats() {
// 800 limit: 
https://developers.google.com/adwords/api/docs/appendix/limits#targetingidea
$keywords = Keyword::find()->orderBy('modified_on')->limit(800)->all();
$this->targetingIdeaService('STATS', $keywords);

  }
  
  function targetingIdeaService($requestType, $keywords) {
$gaw = new GoogleAdWords();
$user = $gaw->getUser();
// Get the service, which loads the required classes.
$targetingIdeaService = $user->GetService('TargetingIdeaService');
// Create selector.
$selector = new TargetingIdeaSelector();
$selector->requestType = $requestType;
$selector->ideaType = 'KEYWORD';
// 'TARGETED_MONTHLY_SEARCHES' returns monthly historical data
$selector->requestedAttributeTypes = array('KEYWORD_TEXT', 
'SEARCH_VOLUME', 'CATEGORY_PRODUCTS_AND_SERVICES', 'AVERAGE_CPC', 
'COMPETITION');

// Create language search parameter (optional).
// The ID can be found in the documentation:
//   
https://developers.google.com/adwords/api/docs/appendix/languagecodes
// Note: As of v201302, only a single language parameter is allowed.
$languageParameter = new LanguageSearchParameter();
$english = new Language();
$english->id = 1000;
$languageParameter->languages = array($english);

// Create related to query search parameter. Keyword goes in here.
$relatedToQuerySearchParameter = new RelatedToQuerySearchParameter();

// Set the network.
$networkSearchParameter = new NetworkSearchParameter();
$networkSetting = new NetworkSetting();
$networkSetting->targetGoogleSearch = true;
$networkSetting->targetSearchNetwork = false;
$networkSetting->targetContentNetwork = false;
$networkSetting->targetPartnerNetwork = false;
$networkSearchParameter->networkSetting = $networkSetting;


// Set the location parameter
$location = new Location(); // USA // 
https://developers.google.com/adwords/api/docs/appendix/geotargeting
$location->id = 2840;
$locationParameter = new LocationSearchParameter();
$locationParameter->locations = array($location); 


// $categoryProductsAndServicesSearchParameter = new 
CategoryProductsAndServicesSearchParameter();

// Set all the search parameters to the Selector
$selector->searchParameters[] = $relatedToQuerySearchParameter;
$selector->searchParameters[] = $languageParameter;
$selector->searchParameters[] = $networkSearchParameter;
$selector->searchParameters[] = $locationParameter;

$relatedToQuerySearchParameter->queries = array();
$index = 0;
foreach ($keywords as $keyword) {
  $relatedToQuerySearchParameter->queries[] = $keyword->keyword;
  // echo "$index: $keyword->keyword\n"; $index++;
}


// Set selector paging (required by this service).
$selector->paging = new Paging(0, max(AdWordsConstants::
RECOMMENDED_PAGE_SIZE, 800));
do {
  // Make the get request.
  try {
$retry = false;
$page = $targetingIdeaService->get($selector);
  } catch (\SoapFault $e) { 
Yii::error($e->getMessage());
echo ("Warning: ".$e->getMessage().PHP_EOL);


I'm using v201605, and versions : * 10.0.0 of PHP composer client library.

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

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


Complaint about PHP client library not fixing problems and closing issues prematurely

2016-08-25 Thread Chloe
I want to complain about the PHP client library maintainers closing issues 
and preventing comments on problems without even fixing them. I had to open 
a new ticket.
https://github.com/googleads/googleads-php-lib/issues/152
https://github.com/googleads/googleads-php-lib/issues/160

I continue to get the error even for separate projects. I cannot provide a 
SOAP log because 1) the project is on Heroku with ephemeral file systems, 
2) it's not possible to enable logging without a config 
file https://groups.google.com/d/msg/adwords-api/ydrmX4lVL4E/dlelWlmKCQAJ, 
3) I cannot check a config file into Git with credentials, 4) I cannot use 
config file as we use different logins depending on environment and have 
multiple accounts, 5) the problem is intermittent.

The maintainer even closed the new ticket. They re-opened the old one, but 
they still won't let me comment. I even reloaded the page several times. 
Now I can't comment on either issue.
https://ipfs.pics/Qmb7gUqLqQ7qc8KZXEjN3W41jHkv3oqZkgzH2XtvRNk7Gv

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

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


Re: AdWords API Python - Internal Error or Parsing Error

2016-08-25 Thread Tejas Manohar
Moreover, looks like TextIOWrapper accepts an encoding option...
https://docs.python.org/2/library/io.html#io.TextIOWrapper - what would you
suggest here (considering what sort of data the googleadwords lib / AdWords
API is returning)?

On Thu, Aug 25, 2016 at 2:05 PM Tejas Manohar  wrote:

> *from csv import DictReader as parse_csv*
> *from io import TextIOWrapper*
>
> Gotcha. Those are both standard library methods. Do you have an
> alternative way you'd suggest decoding in a Python 3 environment (given the
> Unicode changes)? I'd be happy to migrate. If really needed, I can move
> this service to Python 2 (fixing this error is top priority)... but that
> may require some widespread changes (though small ones). Thanks again!
>
> (Sorry if I've asked a stupid question. Python frankly isn't my strong
> point. Used it because maintaining an AdWords SOAP wrapper in Go or Node is
> quite a burden.)
>
> On Thu, Aug 25, 2016 at 1:58 PM Mark Saniscalchi <
> msanis88.adxbuyerapiadvi...@gmail.com> wrote:
>
>> Hello Tejas,
>>
>> Based on the stacktrace, I can see that the root cause is that you're
>> decoding with ASCII specified as the encoding. That will produce a
>> UnicodeEncode error if non-ASCII text appears in the reporting data. It
>> appears that one of the libraries you're using is probably the culprit
>> here, but it's hard to tell which. I'm pretty confident this isn't caused
>> by the googleads library though. I suggest taking a closer look at
>> TextIOWrapper and the parse_csv method.
>>
>> Regards,
>> Mark
>>
>>
>> On Thursday, August 25, 2016 at 4:24:43 PM UTC-4, Tejas Manohar wrote:
>>
>>> Hey Mark,
>>>
>>> The issue is back and is not being solved by retries for our customer. 
>>> Here's
>>> code + logs-
>>> https://gist.github.com/tejasmanohar/24f15ddb830f8bc611e9e50fdf56f688.
>>> Let me know what other information I can provide to help you debug this.
>>> It's currently blocking syncs with our beta AdWords Source at Segment (
>>> https://segment.com/sources) for a subset of customers (launch date
>>> next week).
>>>
>>> On Tue, Aug 23, 2016 at 4:57 PM Tejas Manohar  wrote:
>>>
>> Got it. We have not seen the error today. I'll follow-up if it comes
 back. Thanks!

 On Tue, Aug 23, 2016 at 4:21 PM Mark Saniscalchi <
 msanis88.adxb...@gmail.com> wrote:

>>> Hello Tejas,
>
> The stacktrace you linked to actually seems indicative of a separate
> issue, I suspect you're seeing this issue
> 
> instead. I can tell because the UnicodeDecodeError you're receiving
> indicates that you're likely receiving something that was gzipped, but 
> your
> report definition indicates that you set the format to CSV.
>
> That said, I can't verify whether the original issue is still in
> effect. If you're still experiencing issues with new reports, can you send
> another report definition / stacktrace?
>
> Regards,
> Mark
>
> On Friday, August 19, 2016 at 10:12:39 PM UTC-4, Tejas Manohar wrote:
>
>> Hey Mark,
>>
>> Sorry for the delay here. Here's report definition + error in logs-
>> https://gist.github.com/tejasmanohar/fd539957f8653a6c8375cd3b5a2cd7f5.
>> How can I determine the locale of customers? Btw, this error happens on
>> many reports for this customer, not just one, so I can provide more
>> examples, and retries are solving the problem for now, but it slows
>> everything down.
>>
>> Let me know what else I can provide to help. Thanks!
>>
>> On Fri, Jul 29, 2016 at 3:13 PM Tejas Manohar 
>> wrote:
>>
> Hey Mark,
>>>
>>> Thanks! I will get all this information to you on Monday.
>>>
>>> On Fri, Jul 29, 2016 at 3:05 PM Mark Saniscalchi <
>>> msanis88.adxb...@gmail.com> wrote:
>>>
>> Hello Tejas,

 I'm the owner of the Python Client Library, and am taking a look at
 this issue. It's difficult to say for certain whether this is a client 
 or
 server-based issue because the snippet and stacktrace are incomplete, 
 but
 I'm leaning towards this being a server issue or a mixture of both.
 The AdWordsReportBadRequestError is raised when a reportDownloadError 
 is
 detected in the response--this is usually the result of bad input.

 The UnicodeDecodeError is a bit of a mystery at the moment, as I
 can't replicate it (also in Python 3) with a data source known to 
 contain
 utf-8. The fact that it seems to be expecting ascii input is telling, 
 and
 I'm wondering if something else in your program would be expecting 
 ascii
 input? It might be the TextIOWrapper, which will default to the system
 encoding (which may be ascii in your case).

 In short, I can't specifically point out what went wrong here

Re: AdWords API Python - Internal Error or Parsing Error

2016-08-25 Thread Tejas Manohar
*from csv import DictReader as parse_csv*
*from io import TextIOWrapper*

Gotcha. Those are both standard library methods. Do you have an alternative
way you'd suggest decoding in a Python 3 environment (given the Unicode
changes)? I'd be happy to migrate. If really needed, I can move this
service to Python 2 (fixing this error is top priority)... but that may
require some widespread changes (though small ones). Thanks again!

(Sorry if I've asked a stupid question. Python frankly isn't my strong
point. Used it because maintaining an AdWords SOAP wrapper in Go or Node is
quite a burden.)

On Thu, Aug 25, 2016 at 1:58 PM Mark Saniscalchi <
msanis88.adxbuyerapiadvi...@gmail.com> wrote:

> Hello Tejas,
>
> Based on the stacktrace, I can see that the root cause is that you're
> decoding with ASCII specified as the encoding. That will produce a
> UnicodeEncode error if non-ASCII text appears in the reporting data. It
> appears that one of the libraries you're using is probably the culprit
> here, but it's hard to tell which. I'm pretty confident this isn't caused
> by the googleads library though. I suggest taking a closer look at
> TextIOWrapper and the parse_csv method.
>
> Regards,
> Mark
>
>
> On Thursday, August 25, 2016 at 4:24:43 PM UTC-4, Tejas Manohar wrote:
>
>> Hey Mark,
>>
>> The issue is back and is not being solved by retries for our customer. Here's
>> code + logs-
>> https://gist.github.com/tejasmanohar/24f15ddb830f8bc611e9e50fdf56f688.
>> Let me know what other information I can provide to help you debug this.
>> It's currently blocking syncs with our beta AdWords Source at Segment (
>> https://segment.com/sources) for a subset of customers (launch date next
>> week).
>>
>> On Tue, Aug 23, 2016 at 4:57 PM Tejas Manohar  wrote:
>>
> Got it. We have not seen the error today. I'll follow-up if it comes back.
>>> Thanks!
>>>
>>> On Tue, Aug 23, 2016 at 4:21 PM Mark Saniscalchi <
>>> msanis88.adxb...@gmail.com> wrote:
>>>
>> Hello Tejas,

 The stacktrace you linked to actually seems indicative of a separate
 issue, I suspect you're seeing this issue
 
 instead. I can tell because the UnicodeDecodeError you're receiving
 indicates that you're likely receiving something that was gzipped, but your
 report definition indicates that you set the format to CSV.

 That said, I can't verify whether the original issue is still in
 effect. If you're still experiencing issues with new reports, can you send
 another report definition / stacktrace?

 Regards,
 Mark

 On Friday, August 19, 2016 at 10:12:39 PM UTC-4, Tejas Manohar wrote:

> Hey Mark,
>
> Sorry for the delay here. Here's report definition + error in logs-
> https://gist.github.com/tejasmanohar/fd539957f8653a6c8375cd3b5a2cd7f5.
> How can I determine the locale of customers? Btw, this error happens on
> many reports for this customer, not just one, so I can provide more
> examples, and retries are solving the problem for now, but it slows
> everything down.
>
> Let me know what else I can provide to help. Thanks!
>
> On Fri, Jul 29, 2016 at 3:13 PM Tejas Manohar 
> wrote:
>
 Hey Mark,
>>
>> Thanks! I will get all this information to you on Monday.
>>
>> On Fri, Jul 29, 2016 at 3:05 PM Mark Saniscalchi <
>> msanis88.adxb...@gmail.com> wrote:
>>
> Hello Tejas,
>>>
>>> I'm the owner of the Python Client Library, and am taking a look at
>>> this issue. It's difficult to say for certain whether this is a client 
>>> or
>>> server-based issue because the snippet and stacktrace are incomplete, 
>>> but
>>> I'm leaning towards this being a server issue or a mixture of both.
>>> The AdWordsReportBadRequestError is raised when a reportDownloadError is
>>> detected in the response--this is usually the result of bad input.
>>>
>>> The UnicodeDecodeError is a bit of a mystery at the moment, as I
>>> can't replicate it (also in Python 3) with a data source known to 
>>> contain
>>> utf-8. The fact that it seems to be expecting ascii input is telling, 
>>> and
>>> I'm wondering if something else in your program would be expecting ascii
>>> input? It might be the TextIOWrapper, which will default to the system
>>> encoding (which may be ascii in your case).
>>>
>>> In short, I can't specifically point out what went wrong here
>>> because I don't have the full picture. I need to at least see what the
>>> report definition contains in order to attempt to reproduce
>>> theAdWordsReportBadRequestError; it'd also be helpful if I knew what 
>>> locale
>>> settings are.
>>>
>>> Regards,
>>> Mark
>>>
>>> On Tuesday, July 26, 2016 at 9:18:17 PM UTC-4, Tejas Manohar wrote:
>>>
 Hey Shwetha,

 I've confirmed that th

Re: AdWords API Python - Internal Error or Parsing Error

2016-08-25 Thread Mark Saniscalchi
Hello Tejas,

Based on the stacktrace, I can see that the root cause is that you're 
decoding with ASCII specified as the encoding. That will produce a 
UnicodeEncode error if non-ASCII text appears in the reporting data. It 
appears that one of the libraries you're using is probably the culprit 
here, but it's hard to tell which. I'm pretty confident this isn't caused 
by the googleads library though. I suggest taking a closer look at 
TextIOWrapper and the parse_csv method.

Regards,
Mark

On Thursday, August 25, 2016 at 4:24:43 PM UTC-4, Tejas Manohar wrote:
>
> Hey Mark,
>
> The issue is back and is not being solved by retries for our customer. Here's 
> code + logs- 
> https://gist.github.com/tejasmanohar/24f15ddb830f8bc611e9e50fdf56f688. 
> Let me know what other information I can provide to help you debug this. 
> It's currently blocking syncs with our beta AdWords Source at Segment (
> https://segment.com/sources) for a subset of customers (launch date next 
> week).
>
> On Tue, Aug 23, 2016 at 4:57 PM Tejas Manohar  > wrote:
>
>> Got it. We have not seen the error today. I'll follow-up if it comes 
>> back. Thanks!
>>
>> On Tue, Aug 23, 2016 at 4:21 PM Mark Saniscalchi <
>> msanis88.adxb...@gmail.com > wrote:
>>
>>> Hello Tejas,
>>>
>>> The stacktrace you linked to actually seems indicative of a separate 
>>> issue, I suspect you're seeing this issue 
>>>  
>>> instead. I can tell because the UnicodeDecodeError you're receiving 
>>> indicates that you're likely receiving something that was gzipped, but your 
>>> report definition indicates that you set the format to CSV.
>>>
>>> That said, I can't verify whether the original issue is still in effect. 
>>> If you're still experiencing issues with new reports, can you send another 
>>> report definition / stacktrace?
>>>
>>> Regards,
>>> Mark
>>>
>>> On Friday, August 19, 2016 at 10:12:39 PM UTC-4, Tejas Manohar wrote:
>>>
 Hey Mark,

 Sorry for the delay here. Here's report definition + error in logs- 
 https://gist.github.com/tejasmanohar/fd539957f8653a6c8375cd3b5a2cd7f5. 
 How can I determine the locale of customers? Btw, this error happens on 
 many reports for this customer, not just one, so I can provide more 
 examples, and retries are solving the problem for now, but it slows 
 everything down. 

 Let me know what else I can provide to help. Thanks!

 On Fri, Jul 29, 2016 at 3:13 PM Tejas Manohar  
 wrote:

>>> Hey Mark,
>
> Thanks! I will get all this information to you on Monday.
>
> On Fri, Jul 29, 2016 at 3:05 PM Mark Saniscalchi <
> msanis88.adxb...@gmail.com> wrote:
>
 Hello Tejas,
>>
>> I'm the owner of the Python Client Library, and am taking a look at 
>> this issue. It's difficult to say for certain whether this is a client 
>> or 
>> server-based issue because the snippet and stacktrace are incomplete, 
>> but 
>> I'm leaning towards this being a server issue or a mixture of both. 
>> The AdWordsReportBadRequestError is raised when a reportDownloadError is 
>> detected in the response--this is usually the result of bad input.
>>
>> The UnicodeDecodeError is a bit of a mystery at the moment, as I 
>> can't replicate it (also in Python 3) with a data source known to 
>> contain 
>> utf-8. The fact that it seems to be expecting ascii input is telling, 
>> and 
>> I'm wondering if something else in your program would be expecting ascii 
>> input? It might be the TextIOWrapper, which will default to the system 
>> encoding (which may be ascii in your case).
>>
>> In short, I can't specifically point out what went wrong here because 
>> I don't have the full picture. I need to at least see what the report 
>> definition contains in order to attempt to reproduce 
>> theAdWordsReportBadRequestError; it'd also be helpful if I knew what 
>> locale 
>> settings are.
>>
>> Regards,
>> Mark
>>
>> On Tuesday, July 26, 2016 at 9:18:17 PM UTC-4, Tejas Manohar wrote:
>>
>>> Hey Shwetha,
>>>
>>> I've confirmed that this issue is resolved by retrying, but it 
>>> happens very consistently. Since it's resolved by retrying and I'm 
>>> using 
>>> codecs#getreader which knows how to handle Python unicode in both v2 
>>> and 
>>> v3, I really believe this issue is due to malformed data sent back from 
>>> the 
>>> API as a result of an error. Let me know what more info I could provide 
>>> to 
>>> help. Thanks!
>>>
>>> On Wed, Jul 20, 2016 at 1:56 PM 'Shwetha Vastrad (AdWords API Team)' 
>>> via AdWords API Forum  wrote:
>>>
>> Hi Tejas,

 This issue is related to how Python handles data streams and not 
 specific to AdWords API. I suggest that you post your query in the 
 AdWords 
>

Re: Create copy of entire shopping campaign

2016-08-25 Thread phil
Hi Peter, 

Thank you for this, it has been very helpful.I have followed the guide and 
have made some progress.

I have now hit the following issue:
I send off my operations array containing 3 operations: [The root, a unit, 
and a negativeAdGroupCriterion unit].
This gives me the error of:
 AdGroupCriterionError.PRODUCT_PARTITION_ALREADY_EXISTS @ 
operations[2].operand.criterion

If I run with just the root and the negative, it succeeds but I have 
nothing in my product group (obviously)
Running without the negative fails with 
PRODUCT_PARTITION_SUBDIVISION_REQUIRES_OTHERS_CASE.

I hope you can point me in the right direction.

Here is my operations array. Maybe that will shed some light on the 
situation. 

Again, help much appreciated!

 [0] => AdGroupCriterionOperation Object
 (
 [operand] => BiddableAdGroupCriterion Object
 (
 [userStatus] =>
 [systemServingStatus] =>
 [approvalStatus] =>
 [disapprovalReasons] =>
 [destinationUrl] =>
 [experimentData] =>
 [firstPageCpc] =>
 [topOfPageCpc] =>
 [firstPositionCpc] =>
 [qualityInfo] =>
 [biddingStrategyConfiguration] =>
 [bidModifier] =>
 [finalUrls] =>
 [finalMobileUrls] =>
 [finalAppUrls] =>
 [trackingUrlTemplate] =>
 [urlCustomParameters] =>
 [adGroupId] => 36380370201
 [criterionUse] =>
 [criterion] => ProductPartition Object
 (
 [partitionType] => SUBDIVISION
 [parentCriterionId] =>
 [caseValue] =>
 [id] => -1
 [type] =>
 [CriterionType] =>
 [_parameterMap:Criterion:private] => Array
 (
 [Criterion.Type] => CriterionType
 )

 )

 [labels] =>
 [forwardCompatibilityMap] =>
 [baseCampaignId] =>
 [baseAdGroupId] =>
 [AdGroupCriterionType] =>
 [_parameterMap:AdGroupCriterion:private] => Array
 (
 [AdGroupCriterion.Type] => AdGroupCriterionType
 )

 )

 [exemptionRequests] =>
 [operator] => ADD
 [OperationType] =>
 [_parameterMap:Operation:private] => Array
 (
 [Operation.Type] => OperationType
 )

 )

 [1] => AdGroupCriterionOperation Object
 (
 [operand] => BiddableAdGroupCriterion Object
 (
 [userStatus] =>
 [systemServingStatus] =>
 [approvalStatus] =>
 [disapprovalReasons] =>
 [destinationUrl] =>
 [experimentData] =>
 [firstPageCpc] =>
 [topOfPageCpc] =>
 [firstPositionCpc] =>
 [qualityInfo] =>
 [biddingStrategyConfiguration] => 
BiddingStrategyConfiguration Object
 (
 [biddingStrategyId] =>
 [biddingStrategyName] =>
 [biddingStrategyType] =>
 [biddingStrategySource] =>
 [biddingScheme] =>
 [bids] => Array
 (
 [0] => CpcBid Object
 (
 [bid] => Money Object
 (
 [microAmount] => 25
 [ComparableValueType] =>

 [_parameterMap:ComparableValue:private]
 (

 [ComparableValue.Type] => Compar
 )

 )

 [cpcBidSource] =>
 [BidsType] =>
 [_parameterMap:Bids:private] => 
Array
 (
 [Bids.Type] => BidsType
 )

 )

 )

 )

 [bidModifier] =>
 [finalUrls] =>
 [finalMobileUrls] =>
 [finalAppUrls] =>
 [tra

Re: AdWords API Python - Internal Error or Parsing Error

2016-08-25 Thread Tejas Manohar
Hey Mark,

The issue is back and is not being solved by retries for our customer. Here's
code + logs-
https://gist.github.com/tejasmanohar/24f15ddb830f8bc611e9e50fdf56f688. Let
me know what other information I can provide to help you debug this. It's
currently blocking syncs with our beta AdWords Source at Segment (
https://segment.com/sources) for a subset of customers (launch date next
week).

On Tue, Aug 23, 2016 at 4:57 PM Tejas Manohar  wrote:

> Got it. We have not seen the error today. I'll follow-up if it comes back.
> Thanks!
>
> On Tue, Aug 23, 2016 at 4:21 PM Mark Saniscalchi <
> msanis88.adxbuyerapiadvi...@gmail.com> wrote:
>
>> Hello Tejas,
>>
>> The stacktrace you linked to actually seems indicative of a separate
>> issue, I suspect you're seeing this issue
>> 
>> instead. I can tell because the UnicodeDecodeError you're receiving
>> indicates that you're likely receiving something that was gzipped, but your
>> report definition indicates that you set the format to CSV.
>>
>> That said, I can't verify whether the original issue is still in effect.
>> If you're still experiencing issues with new reports, can you send another
>> report definition / stacktrace?
>>
>> Regards,
>> Mark
>>
>> On Friday, August 19, 2016 at 10:12:39 PM UTC-4, Tejas Manohar wrote:
>>
>>> Hey Mark,
>>>
>>> Sorry for the delay here. Here's report definition + error in logs-
>>> https://gist.github.com/tejasmanohar/fd539957f8653a6c8375cd3b5a2cd7f5.
>>> How can I determine the locale of customers? Btw, this error happens on
>>> many reports for this customer, not just one, so I can provide more
>>> examples, and retries are solving the problem for now, but it slows
>>> everything down.
>>>
>>> Let me know what else I can provide to help. Thanks!
>>>
>>> On Fri, Jul 29, 2016 at 3:13 PM Tejas Manohar  wrote:
>>>
>> Hey Mark,

 Thanks! I will get all this information to you on Monday.

 On Fri, Jul 29, 2016 at 3:05 PM Mark Saniscalchi <
 msanis88.adxb...@gmail.com> wrote:

>>> Hello Tejas,
>
> I'm the owner of the Python Client Library, and am taking a look at
> this issue. It's difficult to say for certain whether this is a client or
> server-based issue because the snippet and stacktrace are incomplete, but
> I'm leaning towards this being a server issue or a mixture of both.
> The AdWordsReportBadRequestError is raised when a reportDownloadError is
> detected in the response--this is usually the result of bad input.
>
> The UnicodeDecodeError is a bit of a mystery at the moment, as I can't
> replicate it (also in Python 3) with a data source known to contain utf-8.
> The fact that it seems to be expecting ascii input is telling, and I'm
> wondering if something else in your program would be expecting ascii 
> input?
> It might be the TextIOWrapper, which will default to the system encoding
> (which may be ascii in your case).
>
> In short, I can't specifically point out what went wrong here because
> I don't have the full picture. I need to at least see what the report
> definition contains in order to attempt to reproduce
> theAdWordsReportBadRequestError; it'd also be helpful if I knew what 
> locale
> settings are.
>
> Regards,
> Mark
>
> On Tuesday, July 26, 2016 at 9:18:17 PM UTC-4, Tejas Manohar wrote:
>
>> Hey Shwetha,
>>
>> I've confirmed that this issue is resolved by retrying, but it
>> happens very consistently. Since it's resolved by retrying and I'm using
>> codecs#getreader which knows how to handle Python unicode in both v2 and
>> v3, I really believe this issue is due to malformed data sent back from 
>> the
>> API as a result of an error. Let me know what more info I could provide 
>> to
>> help. Thanks!
>>
>> On Wed, Jul 20, 2016 at 1:56 PM 'Shwetha Vastrad (AdWords API Team)'
>> via AdWords API Forum  wrote:
>>
> Hi Tejas,
>>>
>>> This issue is related to how Python handles data streams and not
>>> specific to AdWords API. I suggest that you post your query in the 
>>> AdWords
>>> API Python library repository
>>>  as they are
>>> better equipped to help you out.
>>>
>>> Regards,
>>> Shwetha, AdWords API Team.
>>>
>>> --
>>> --
>>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>>> Also find us on our blog and Google+:
>>> https://googleadsdeveloper.blogspot.com/
>>> https://plus.google.com/+GoogleAdsDevelopers/posts
>>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>>>
>>> You received this message because you are subscribed to the Google
>>> Groups "AdWords API Forum" group.
>>>
>> To post to this group, send email to adwor...@googlegroups.com
>>
>>
>>> To unsubscribe from this group, sen

Re: Too Many Impressions Reported in Third Party Reporting

2016-08-25 Thread 'Vishal Vinayak (Adwords API Team)' via AdWords API Forum
Hi,

Since Act-On is a third party platform, I feel that their support team 
would be the right team to help you with your queries. Even though Act-On 
uses Adwords API to perform its tasks, the application may have additional 
functionality or behavior that we aren’t familiar with. 

You could reach out to Act-On support through this link 
. Feel free to point them over to this 
thread for additional context. If their team needs additional help 
troubleshooting the issue, ask them to reach out to us with their AdWords 
API logs and we can help them address the issues.

Let me know if you have more questions or need more help.

Cheers,
Vishal, AdWords API Team

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

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


Re: API responds with a keyword that does not exist in my campaign

2016-08-25 Thread 'Anthony Madrigal' via AdWords API Forum
Hello,

It always seems to be the simplest things that cause the most frustration 
:) I am glad you were able to figure it out. Please let me know if you are 
facing any other API issues in the future.

Cheers,
Anthony
AdWords API Team

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

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


Re: API responds with a keyword that does not exist in my campaign

2016-08-25 Thread Ricardo Buitrago
Hello Anthony, thanks for your reply! Good news, I just found the cause for 
this seconds ago: the Keyword was part of the campaign at some point, but 
the Ad Group was removed months ago, so for that reason the Keyword wasn't 
appearing in my Keywords report at the interface. To see it, I went the Ad 
Groups tab in the interface, chose: "Show all ad groups", went back to 
Keywords, searched again and boom, there it was. Wow, I was going insane. 
Sigh.


On Thursday, August 25, 2016 at 2:19:32 PM UTC-5, Anthony Madrigal wrote:
>
> Hi Ricardo,
>
> I can further investigate this for you. To do so, could you please *reply 
> privately to author *your
>
>- Full report definition
>- Keyword Ids that are showing this behavior
>- Campaign and/or ad group Ids where the keywords are
>
> Thanks,
> Anthony
> AdWords API Team
>

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

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


Re: Revoking/Granting Access to Users

2016-08-25 Thread 'Vishal Vinayak (Adwords API Team)' via AdWords API Forum
Hi Sam, 

You can use ManagedCustomerService 

 for 
creating new AdWords accounts as well as establishing links between manager 
accounts and client accounts. For complete workflow, please refer to this 
article 
.
 
However, you cannot add users to an existing account using the API. 

Regards,
Vishal, AdWords API Team

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

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


Re: API responds with a keyword that does not exist in my campaign

2016-08-25 Thread 'Anthony Madrigal' via AdWords API Forum
Hi Ricardo,

I can further investigate this for you. To do so, could you please *reply 
privately to author *your

   - Full report definition
   - Keyword Ids that are showing this behavior
   - Campaign and/or ad group Ids where the keywords are

Thanks,
Anthony
AdWords API Team

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

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


API responds with a keyword that does not exist in my campaign

2016-08-25 Thread Ricardo Buitrago
*Here's the petition:*

cols = 'Criteria, Status'
report = 'KEYWORDS_PERFORMANCE_REPORT'
where_clause = 'CampaignId =  and Criteria IN [this is an 
inexistent keyword]'

*Here´s the response:*

[{u'keyword': u'this is an inexistent keyword ', u'keywordState': 
u'enabled'},
 {u'keyword': u'this is an inexistent keyword', u'keywordState': 
u'enabled'}]

*Question:*

I've tried searching for the keyword in question through the adwords 
interface many times. I also dumped an excel report to look for it in a CSV 
file to rule out browser issues, but the Keyword is nowhere to be found, 
it's simply not in my keyword list, however, the API responds as if the 
keyword exists in that campaign, with an enabled status.

¿Why could this be happening?

Thanks in advance

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

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


Re: QPS - RATE_EXCEEDED

2016-08-25 Thread 'Joe Rosenwald' via AdWords API Forum
Hi Peter,

I work with Kyle. Unfortunately, our RateExceedError object is missing the 
retryAfterSeconds, among other properties that should be returned with the 
object. 
We are unsure of how to proceed.

We are not using the SDK, but post, and the XML above is the full body of 
the response object.

Thanks!
Joe

On Thursday, August 25, 2016 at 2:25:23 AM UTC-4, Peter Oliquino wrote:
>
> Hi Kyle,
>
> Please see our example on how to handle RateExceedErrors and how to set 
> the *retryAfterSeconds* field through this link 
> .
>  
> Also, you may refer to our rate limits guide 
> 
>  and 
> our rate sheet  for 
> the quotas you need to consider in making AdWords API calls. For further 
> reference on our best practices, please also check out this link 
> .
>
> Thanks and regards,
> Peter
> AdWords API Team
>

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

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


Re: Too Many Impressions Reported in Third Party Reporting

2016-08-25 Thread Zweitze
I don't know Act-On, so this may be irrelevant...

But, maybe Act-On requests data over many segments, like date, device etc.? 
And when you ask for data, they quickly add up everything?
If that is the case, check if they also include segment "ClickType". That 
is one special segmentation that causes differences in impressions and -to 
a lesser extent- average positions. This is especially the case when your 
account uses ad extensions like site links.



On Thursday, August 25, 2016 at 4:00:26 PM UTC+2, in...@aceadwords.com 
wrote:
>
> Hi,
>
> We are currently experiencing an issue with the Adwords reporting within 
> Act-On, which uses the Adwords API.
>
> When logged into Adwords the number of impressions for the account is: 
> 24360
>
> When logged into Act-On however the number of impressions is: 27945
>
> We have ensured that the same date range is being looked at on the two 
> platforms, and the number of clicks, the cost, conversions and avg position 
> are all consistent on both. The only difference is that the number of 
> impressions reported to Act-On, from Adwords, is higher (please see table 
> of metrics below).
>
> We have tried different date ranges, and the problem persists - the 
> impressions are always reported higher, but the other metrics like clicks 
> are always correct.
>
> We are not sure what could be causing this, but would appreciate any 
> insight or suggestions.
>
>
> Interface Clicks Impressions CTR Avg CPC Cost Conv. Avg Pos
> Adwords 2121 24360 0.0871 0.81 1707.48 141 1.1
> Act-On 2121 27945 0.076 0.81 1707.48 141 1.1
>

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

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


Too Many Impressions Reported in Third Party Reporting

2016-08-25 Thread info
Hi,

We are currently experiencing an issue with the Adwords reporting within 
Act-On, which uses the Adwords API.

When logged into Adwords the number of impressions for the account is: 24360

When logged into Act-On however the number of impressions is: 27945

We have ensured that the same date range is being looked at on the two 
platforms, and the number of clicks, the cost, conversions and avg position 
are all consistent on both. The only difference is that the number of 
impressions reported to Act-On, from Adwords, is higher (please see table 
of metrics below).

We have tried different date ranges, and the problem persists - the 
impressions are always reported higher, but the other metrics like clicks 
are always correct.

We are not sure what could be causing this, but would appreciate any 
insight or suggestions.


Interface Clicks Impressions CTR Avg CPC Cost Conv. Avg Pos
Adwords 2121 24360 0.0871 0.81 1707.48 141 1.1
Act-On 2121 27945 0.076 0.81 1707.48 141 1.1

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

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


Re: INVALID_PRODUCT_BIDDING_CATEGORY

2016-08-25 Thread 'Michael Cloonan (AdWords API Team)' via AdWords API Forum
Hello,

Here is the canonical list of Products & Service 
Categories: 
https://developers.google.com/adwords/api/docs/appendix/productsservices

It is the same regardless of region.

Regards,
Mike, AdWords API Team

On Thursday, August 25, 2016 at 9:26:29 AM UTC-4, Thakur Vishal wrote:
>
> Hi Mike,
>
> We are facing this issue as our campaign is targeting India and we are 
> unable to fetch product category ids for India.
> We have tried with IN as the country code.
>
>
> On Thursday, August 18, 2016 at 6:10:44 PM UTC+5:30, Michael Cloonan 
> (AdWords API Team) wrote:
>>
>> Hello,
>>
>> Did you make any changes to the code before running the example? If so, 
>> try reverting those changes and run the example again.
>>
>> If not, you can file an issue against the Java library explaining that 
>> the example doesn't work, and the owner of that library will be able to 
>> address it. Their issue tracker is here: 
>> https://github.com/googleads/googleads-java-lib/issues
>>
>> Regards,
>> Mike, AdWords API Team
>>
>> On Thursday, August 18, 2016 at 5:24:22 AM UTC-4, Thakur Vishal wrote:
>>>
>>> Hi Team,
>>>
>>> I am trying to run the sample code to add ProductPartitionTree and 
>>> getting the following issue:
>>>
>>> INVALID_PRODUCT_BIDDING_CATEGORY 
>>>
>>> faultString: [CriterionError.INVALID_PRODUCT_BIDDING_CATEGORY @ 
>>> operations[8].operand.criterion.caseValue; 
>>> trigger:'ProductBiddingCategory{type=BIDDING_CATEGORY_L1, 
>>> value=ProductCategoryId: -5914235892932915235}']
>>>
>>

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

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


Re: INVALID_PRODUCT_BIDDING_CATEGORY

2016-08-25 Thread Thakur Vishal
Hi Mike,

We are facing this issue as our campaign is targeting India and we are 
unable to fetch product category ids for India.
We have tried with IN as the country code.


On Thursday, August 18, 2016 at 6:10:44 PM UTC+5:30, Michael Cloonan 
(AdWords API Team) wrote:
>
> Hello,
>
> Did you make any changes to the code before running the example? If so, 
> try reverting those changes and run the example again.
>
> If not, you can file an issue against the Java library explaining that the 
> example doesn't work, and the owner of that library will be able to address 
> it. Their issue tracker is here: 
> https://github.com/googleads/googleads-java-lib/issues
>
> Regards,
> Mike, AdWords API Team
>
> On Thursday, August 18, 2016 at 5:24:22 AM UTC-4, Thakur Vishal wrote:
>>
>> Hi Team,
>>
>> I am trying to run the sample code to add ProductPartitionTree and 
>> getting the following issue:
>>
>> INVALID_PRODUCT_BIDDING_CATEGORY 
>>
>> faultString: [CriterionError.INVALID_PRODUCT_BIDDING_CATEGORY @ 
>> operations[8].operand.criterion.caseValue; 
>> trigger:'ProductBiddingCategory{type=BIDDING_CATEGORY_L1, 
>> value=ProductCategoryId: -5914235892932915235}']
>>
>

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

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


Re: BatchJobService. Why some jobs go to Canceled status?

2016-08-25 Thread 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
Hi,

This is expected because the jobs are in the *CANCELED* state, which means 
not all operations were completed. See the *Note* in blue from our Batch 
Processing guide 

:

Note: In this case, some of your operations may have been attempted, so 
> it's best to check the results in the downloadUrl even though the job has a 
> final status of CANCELED.


Cheers,
Josh, AdWords API Team

On Wednesday, August 24, 2016 at 4:00:54 PM UTC-4, Jbielsa wrote:
>
> Hi!
>
>
> 3 Jobs with same problem:
>
>
> account: 3892674357 batch: 347326772 Executed: 65% Operations successful: 
> 80.000 Total operations: 122.987
>
> account: 5565835114 batch: 347326601 Executed: 70% Operations successful: 
> 100.000 Total operations: 141.429
>
> account: 7213655826 batch: 347265420 Executed: 17% Operations successful: 
> 35.000 Total operations: 198.652
>
>
> DownloadUrl only get operations executed
>
> Thanks
>

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

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


Re: Account Performance Report Cost doesn't include Universal App Costs

2016-08-25 Thread 'Anthony Madrigal' via AdWords API Forum
Hi Pavel,

Currently, UAC data is only available through the Campaign Performance 
Report 
, 
so other report types such as Account Performance Report will not include 
their data in the totals. If you run the Campaign Performance Report, the 
totals should match. 

Please follow our blog 
 for any 
announcements regarding the inclusion for UAC in other reports.

Regards,
Anthony
AdWords API Team

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

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


Re: API Errors Suddenly Occuring (InternalApiError.UNEXPECTED_INTERNAL_API_ERROR) (ReportDownloadError.ERROR_GETTING_RESPONSE_FROM_BACKEND)

2016-08-25 Thread 'Nadine Sundquist (AdWords API Team)' via AdWords API Forum
Hi Mark and Greg,

Thanks for reporting this. Yes, there were some disruptive issues that were 
happening at that time on our side. They were resolved within an hour. If 
you continue to see anything like this, please get back to me right away.

Thanks,
Nadine, AdWords API Team

On Wednesday, August 24, 2016 at 6:43:34 PM UTC-4, Mark Rogoyski wrote:
>
> The service seems to have recovered and we no longer see the abundance of 
> errors.
>
> Any update on the Google side on what the issue was?
>
> On Wednesday, August 24, 2016 at 2:44:29 PM UTC-7, GregT wrote:
>>
>> We are seeing the same kind of thing. It is taking a large number of 
>> retries to get any calls to work.
>>
>> Thanks,
>> Greg
>>
>> On Wednesday, August 24, 2016 at 4:38:29 PM UTC-5, Mark Rogoyski wrote:
>>>
>>> Starting at around 14:14 PDT, we started getting an unusually high error 
>>> rate using the API (Using v201605)
>>>
>>> We are getting the following errors on a large number of API requests:
>>> - InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
>>> - ReportDownloadError.ERROR_GETTING_RESPONSE_FROM_BACKEND
>>>
>>> Did something change on the AdWords API side around 14:14 PDT today (Aug 
>>> 24)?
>>>
>>

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

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


Revoking/Granting Access to Users

2016-08-25 Thread Sam Green
Hi,

I would like to be able to programmatically grant and revoke access to 
specific accounts, ideally without user interaction. Is there a way in 
which this can be controlled through the AdWords API?

I'd like to be able to give a user access to a single account for a period 
of time, and revoke this access once the work they are doing is complete.

If this isn't possible, what is the recommended workflow to achieve this 
without requiring substantial user interaction?

Thanks

Sam

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

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


Re: api version 201605 - batchjobservice

2016-08-25 Thread xtcsuk
Thanks Josh, much appreciated.

regards,
Zia

On Wednesday, 24 August 2016 21:22:35 UTC+1, Josh Radcliff (AdWords API 
Team) wrote:
>
> Hi Zia,
>
> Thanks for the feedback. I realize this is an important issue for everyone 
> migrating to BatchJobService. I'll be sure to update this post as 
> improvements roll out.
>
> Best regards,
> Josh, AdWords API Team
>
> On Wednesday, August 24, 2016 at 6:49:00 AM UTC-4, xtcsuk wrote:
>>
>> Hi Josh,
>>
>> Thank you for your help, as for this particular operation, the job is no 
>> longer valid (our side), because the subsequent pushes will have 
>> invalidated/overwritten it.  It is of vital importance, the underlying 
>> issue (api side) is addressed asap, by the time the issue is resolved that 
>> job is no longer valid.
>>
>> Now, that we have the sunset on api v201601 approaching fast, we are on 
>> v201605, can't rollback.  The problem in this thread as well as this api 
>> version 201605 
>> , tells 
>> us the batchjobservice is not 100% reliable, the sooner we have the fix the 
>> better.
>>
>> regards,
>> Zia
>>
>> On Tuesday, 23 August 2016 19:00:51 UTC+1, Josh Radcliff (AdWords API 
>> Team) wrote:
>>>
>>> Hi Zia,
>>>
>>> The *downloadUrl* has been regenerated for that job. Please get the 
>>> *downloadUrl* from *BatchJobService* again and try to download results.
>>>
>>> Thanks,
>>> Josh, AdWords API Team
>>>
>>> On Tuesday, August 23, 2016 at 9:40:16 AM UTC-4, Josh Radcliff (AdWords 
>>> API Team) wrote:

 Hi Zia,

 I just asked for an update on that job. I'll reply back here as soon as 
 I have more information.

 Thanks,
 Josh, AdWords API Team

 On Tuesday, August 23, 2016 at 6:32:11 AM UTC-4, xtcsuk wrote:
>
> Hi Thanet,
>
> Any luck with this issue, as instructed, posted the requested info a 
> few days ago, hope you have got it.
>
> regards,
> Zia
>
> On Thursday, 18 August 2016 03:59:53 UTC+1, Thanet Knack Praneenararat 
> (AdWords API Team) wrote:
>>
>> Hello Zia,
>>
>> I'll handle this case instead of Josh.
>> It's fine to post in this thread again, but would be more easy for 
>> you to track the answers if you create another thread instead.
>>
>> For this case, could you please pass me your download URL as well 
>> using *Reply privately to author*?
>> I saw some of the results partially executed already, so there might 
>> be a problem of download URL.
>>
>> Cheers,
>> Thanet, AdWords API Team
>>
>> On Thursday, August 18, 2016 at 1:39:04 AM UTC+9, xtcsuk wrote:
>>>
>>> Hey Josh,
>>>
>>> Its me again, this time a different issue, was not sure to create a 
>>> new thread, so here it goes:
>>>
>>> The job:
>>>
>>> job id   account id
>>> 344573194   1011654677
>>>
>>> has a "CANCELLED" status with a downloadUrl assigned to it, but on 
>>> get the results, it throws 404, may be another bug?
>>>
>>> regards,
>>> Zia
>>>
>>> On Wednesday, 17 August 2016 11:48:37 UTC+1, xtcsuk wrote:

 Hi Josh,

 Thank you for the clarification, on our side, however, as you can 
 imagine, we have logic to compare the two (upload/result) to marry up 
 the 
 operation results.  So, if the numbers do not match, it just simply 
 don't 
 work.
 Firstly, hoping for this not happen again (permanent fix), will 
 keep an eye and if so will come back to you.

 regards,
 Zia

 On Tuesday, 16 August 2016 19:06:50 UTC+1, Josh Radcliff (AdWords 
 API Team) wrote:
>
> Hi Zia,
>
> The count mismatch is an artifact of the failed download URL 
> generation. You can safely ignore the mismatch (in this particular 
> case) 
> when processing the results from the URL.
>
> Thanks,
> Josh, AdWords API Team
>
> On Monday, August 15, 2016 at 11:39:45 AM UTC-4, Josh Radcliff 
> (AdWords API Team) wrote:
>>
>> Hi Zia,
>>
>> I'm looking into that one and will get back to you with an update.
>>
>> Thanks,
>> Josh, AdWords API Team
>>
>> On Monday, August 15, 2016 at 9:08:56 AM UTC-4, xtcsuk wrote:
>>>
>>> Hi Josh,
>>>
>>> Thanks again, sorry my mistake.  
>>>
>>> On this subject, this is a job details where we have a 
>>> discrepancy in between the number of operations uploaded and number 
>>> of 
>>> operations executed:
>>>
>>> job idaccount id
>>> 342115475 7653799969
>>>
>>> our application is limited to assign maximum 3 number of 
>>> operatio

Re: Following api example and getting 'no campaigns found'

2016-08-25 Thread arieh
exactly. the client customer id
is the test client id 
136-539-1666


Thanks
Arieh

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

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


Re: Following api example and getting 'no campaigns found'

2016-08-25 Thread 'Peter Oliquino' via AdWords API Forum
Hi Arieh,

Could you confirm if you are using the test client ID as the 
clientCustomerId in your configuration file? If not, please use the test 
client ID instead since campaign information are available only at the 
client account level. I hope this helps.

Best regards,
Peter
AdWords API Team

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

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


Following api example and getting 'no campaigns found'

2016-08-25 Thread arieh
Hello


the setup is as follows:

Manager account with test access only with developer key ABC


Test manager account id 832-633-9384
with test client account with id 136-539-1666

generated clientId and secret key, logged in as the test manager
and refresh key for these clientId

trying to invoke the getCampaigns Java example and getting no campaigns, 
tough I have setup some campaigns under the test client


how do I get in work ?

Thanks
Arieh
 

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

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


Re: Clicks and money

2016-08-25 Thread 'Joyce Lava' via AdWords API Forum
Hello,

Apologies as I can only respond in English. You may use the Account 
Performance Report 

 to 
get the Clicks 

 and Cost 

 at 
account level. I am assuming that the "company" in this question refers to 
an account. If not, please elaborate so we could provide appropriate report 
type. You may refer to this link 
 to 
see how to download the report through the API. 

Thanks,
Joyce, AdWords API Team

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

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


Account Performance Report Cost doesn't include Universal App Costs

2016-08-25 Thread Pavel Guseynov
Hi,
I'm making reporting tool for total costs off all accounts (Customers) in 
manager account.
I'm using Account Performance Report with Cost field.
I noticed that for some accounts cost in Ad Words UI is different from i'm 
getting in reporting API.
The difference is that 'Total - Universal App' cost isn't summarized with 
others costs in API.  

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

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


Re: Create copy of entire shopping campaign

2016-08-25 Thread 'Peter Oliquino' via AdWords API Forum
Hi Phil,

Yes, and you should assign temporary IDs as well and that it should 
basically follow how you create a new partition as discussed in our guide 

.

Regards,
Peter
AdWords API Team

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

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


Re: Create copy of entire shopping campaign

2016-08-25 Thread phil
Hmm, I compared the Partition Object I received and the one I sent off and 
they appear identical.

I am only taking the root Product Partition though... should I be taking 
all product partitions from adgroupA, changing their adgroupIds to that of 
my target adgroup, then assign temporary ids?

Thanks,
Phil

On Thursday, August 25, 2016 at 11:08:27 AM UTC+1, Peter Oliquino wrote:
>
> Hi Phil,
>
> I believe you could do it through normal get and mutate operations. Could 
> you confirm if the information you are getting from the original partition 
> are correct and complete? It should basically follow the idea of creating a 
> new partition. Also the error suggests that the "Others" scenario could be 
> the primary cause. Could you confirm as well if the issue still persists 
> after 
> checking the existing partition is being retrieved correctly with the other 
> node?
>
> Thanks and regards,
> Peter
> AdWords API Team
>

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

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


Clicks and money

2016-08-25 Thread kostyaworks
Здравствуйте, подскажите пожалуйста как по API AdWords можно получить 
количество кликов и потраченый бюджет с начала месяца у определенной 
компании?
Буду очень благодарен. 

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

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


Re: Create copy of entire shopping campaign

2016-08-25 Thread 'Peter Oliquino' via AdWords API Forum
Hi Phil,

I believe you could do it through normal get and mutate operations. Could 
you confirm if the information you are getting from the original partition 
are correct and complete? It should basically follow the idea of creating a 
new partition. Also the error suggests that the "Others" scenario could be 
the primary cause. Could you confirm as well if the issue still persists after 
checking the existing partition is being retrieved correctly with the other 
node?

Thanks and regards,
Peter
AdWords API Team

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

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


Re: Create copy of entire shopping campaign

2016-08-25 Thread phil
Hi Peter,

Thanks for the response. I understand this, but I thought by taking the 
existing partition from a previous ad group I would be able to re-apply 
this same partition to my ad group, hopefully keeping the partition 
structure in tact.

Can you confirm whether or not this is possible?

Thanks,
Phil

On Thursday, August 25, 2016 at 9:32:52 AM UTC+1, Peter Oliquino wrote:
>
> Hi Phil,
>
> You may review our shopping campaign guide 
>  and the 
> slides 
> .
>  
> Every "subdivision" should always have an "Others" unit in addition to the 
> units with specific criteria. You may see this In the AdWords UI as the 
> "Everything else in" entry. If you require more information on how to 
> create an "Other" node, kindly refer to this forum thread 
> 
> .
>
> If you continue to experience this error, kindly send your code snippet of 
> the product partition you're trying to copy so I can take a better look at 
> the issue.
>
> Thanks and regards,
> Peter
> AdWords API Team
>

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

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


Re: Create copy of entire shopping campaign

2016-08-25 Thread 'Peter Oliquino' via AdWords API Forum
Hi Phil,

You may review our shopping campaign guide 
 and the 
slides 
.
 
Every "subdivision" should always have an "Others" unit in addition to the 
units with specific criteria. You may see this In the AdWords UI as the 
"Everything else in" entry. If you require more information on how to 
create an "Other" node, kindly refer to this forum thread 

.

If you continue to experience this error, kindly send your code snippet of 
the product partition you're trying to copy so I can take a better look at 
the issue.

Thanks and regards,
Peter
AdWords API Team

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

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


Create copy of entire shopping campaign

2016-08-25 Thread phil
Hi,

I am trying to take an existing shopping campaign and duplicate it exactly 
(different name) within the same account.

I have done the adgroups and campaign creation, but am confused by what I 
do / do not need to specify when adding the product partition to the ad 
groups. Please see my method below. I would appreciate it if you were able 
to shed some light on this.

1) Retrieve all AdGroupCriterion in my adgroup with CriteriaType 
"PRODUCT_PARTITION", fields downloaded: "AdGroupId", "CpcBid", 
"CriteriaType", "PartitionType", "CaseValue"
2) Extract the root criterion like so:

foreach ($partitions as $partition)
{
  if ($partition->criterion->parentCriterionId == "")
  {
$adGroupId = $partition->adGroupId;
$roots[$adGroupId] = $partition;
  }
}

3) Add the partition to the adgroup:

  $oldPartition = root criterion found above;

  $service  = $user->GetService("AdGroupCriterionService", ADWORDS_VERSION);
  $adGroupCriterion = new BiddableAdGroupCriterion();
  $adGroupCriterion->adGroupId = $adGroup->getId();

  $adGroupCriterion->criterion = $oldPartition->criterion;
  $adGroupCriterion->criterion->id = -1;

  $adGroupCriterion->biddingStrategyConfiguration = 
$oldPartition->biddingStrategyConfiguration;
  $adGroupCriterion->criterionUse = "BIDDABLE";
  $adGroupCriterion->AdGroupCriterionType = "BiddableAdGroupCriterion";

  $operation = new AdGroupCriterionOperation();
  $operation->operand = $adGroupCriterion;
  $operation->operator = "ADD";

4) When I perform the mutation I get the 
error: PRODUCT_PARTITION_SUBDIVISION_REQUIRES_OTHERS_CASE

Many thanks,
Phil

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

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