Google Adwords API java - Exception in thread main AxisFault

2015-01-02 Thread Rajalakshmi Thangavelu

Hi Team,

I have connected the Google Adwords through the java and have set all the 
properties including the client secret,clientid,etc.

I m getting the below error...



log4j:WARN No appenders could be found for logger 
(org.apache.commons.configuration.PropertiesConfiguration).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for 
more info.
Exception in thread main AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: javax.net.ssl.SSLHandshakeException: 
sun.security.validator.ValidatorException: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target
 faultActor: 
 faultNode: 
 faultDetail: 

{http://xml.apache.org/axis/}stackTrace:javax.net.ssl.SSLHandshakeException: 
sun.security.validator.ValidatorException: PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
valid certification path to requested target
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
at sun.security.ssl.Handshaker.processLoop(Unknown Source)
at sun.security.ssl.Handshaker.process_record(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown 
Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at 
org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:186)
at 
org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
at 
org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at 
com.google.api.ads.adwords.axis.v201406.cm.CampaignServiceSoapBindingStub.get(CampaignServiceSoapBindingStub.java:1364)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
com.google.api.ads.common.lib.soap.SoapClientHandler.invoke(SoapClientHandler.java:109)
at 
com.google.api.ads.common.lib.soap.axis.AxisHandler.invokeSoapCall(AxisHandler.java:213)
at 
com.google.api.ads.common.lib.soap.SoapServiceClient.callSoapClient(SoapServiceClient.java:64)
at 
com.google.api.ads.common.lib.soap.SoapServiceClient.invoke(SoapServiceClient.java:93)
at $Proxy14.get(Unknown Source)
at 
adwords.axis.v201406.basicoperations.GetCampaigns.runExample(GetCampaigns.java:82)
at 
adwords.axis.v201406.basicoperations.GetCampaigns.main(GetCampaigns.java:59)
Caused by: sun.security.validator.ValidatorException: PKIX path building 
failed: sun.security.provider.certpath.SunCertPathBuilderException: unable 
to find valid certification path to requested target
at sun.security.validator.PKIXValidator.doBuild(Unknown Source)
at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)
at sun.security.validator.Validator.validate(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown 
Source)
... 33 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: 
unable to find valid certification path to requested target
at 
sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown 
Source)
at java.security.cert.CertPathBuilder.build(Unknown Source)
... 39 more

{http://xml.apache.org/axis/}hostname:UG-dsfdf-536

javax.net.ssl.SSLHandshakeException: 
sun.security.validator.ValidatorException: PKIX path building failed: 

Bidding Strategy changes

2015-01-02 Thread Anil Vadhavane
Hi,

Using API to change bidding scheme from Manual CPC  to Budget Optimizer 
it shows following error :

BiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN @ 
operations[0].operand.biddingStrategyConfiguration.biddingStrategyType; 
trigger:'BUDGET_OPTIMIZER'



On community forum we found reference somewhere to use 
*TargetSpendBiddingScheme* instead of *BudgetOptimizerBiddingScheme. *Using the 
*TargetSpendBiddingScheme *also shows following error :


BiddingErrors.INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE @ 
operations[0].operand.biddingStrategyConfiguration.biddingStrategyType; 
trigger:'TARGET_SPEND'


Please suggest.



Thanks



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

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


Re: Soap Fault Exception

2015-01-02 Thread Josh Radcliff (AdWords API Team)
Hi,

Starting with v201406, several status enum values were renamed (see the 
*Columns 
and fields cleanup* section of the v201406 release notes 
https://developers.google.com/adwords/api/docs/reference/#v201406). In 
particular, the *DELETED* status is now called *REMOVED*.

Thanks,
Josh, AdWords API Team

On Wednesday, December 31, 2014 1:31:06 AM UTC-5, 
sho...@multipliersolutions.in wrote:


 Hi,

 I am trying to execute the one php file in my local machine.but when I am 
 executing this file ,I am encountering one error regarding soap extensions
 please tell me how to resolve this issue

 please find the  source code in attachments 

 Error:

 PHP Fatal error:  Uncaught SoapFault exception: [soap:Server] 
 [SelectorError.INV
 ALID_PREDICATE_ENUM_VALUE @ serviceSelector; trigger:'DELETED'] in 
 C:\Users\SERV
 ER\Desktop\adwordsAPI\src\Google\Api\Ads\Common\Lib\AdsSoapClient.php:232
 Stack trace:
 #0 
 C:\Users\SERVER\Desktop\adwordsAPI\src\Google\Api\Ads\Common\Lib\AdsSoapClien
 t.php(232): SoapClient-__soapCall('get', Array, NULL, Array, Array)
 #1 
 C:\Users\SERVER\Desktop\adwordsAPI\src\Google\Api\Ads\AdWords\v201406\Campaig
 nService.php(7879): AdsSoapClient-__soapCall('get', Array)
 #2 C:\Users\SERVER\Desktop\adwords.php(38): 
 CampaignService-get(Object(Selector
 ))
 #3 {main}
   thrown in 
 C:\Users\SERVER\Desktop\adwordsAPI\src\Google\Api\Ads\Common\Lib\Ads
 SoapClient.php on line 232 


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

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


Re: Bidding Strategy changes

2015-01-02 Thread Josh Radcliff (AdWords API Team)
Hi,

Support for the Budget Optimizer strategy was removed in v201402, so you're 
correct that you should use Target Spend instead.

However, in order to use Target Spend, you need to first *separately* create 
a Target Spend *shared* bidding strategy via the BiddingStrategyService 
https://developers.google.com/adwords/api/docs/reference/v201409/BiddingStrategyService,
 
and then use the SharedBiddingStrategy id 
https://developers.google.com/adwords/api/docs/reference/v201409/BiddingStrategyService.SharedBiddingStrategy#id
 in 
your subsequent change to the campaign. That's because the Target Spend 
strategy is a *shared only* strategy type. See the Bidding guide 
https://developers.google.com/adwords/api/docs/guides/bidding for details.

Cheers,
Josh, AdWords API Team

On Friday, January 2, 2015 6:22:11 AM UTC-5, Anil Vadhavane wrote:

 Hi,

 Using API to change bidding scheme from Manual CPC  to Budget Optimizer 
 it shows following error :

 BiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN @ 
 operations[0].operand.biddingStrategyConfiguration.biddingStrategyType; 
 trigger:'BUDGET_OPTIMIZER'



 On community forum we found reference somewhere to use 
 *TargetSpendBiddingScheme* instead of *BudgetOptimizerBiddingScheme. *Using 
 the *TargetSpendBiddingScheme *also shows following error :


 BiddingErrors.INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE @ 
 operations[0].operand.biddingStrategyConfiguration.biddingStrategyType; 
 trigger:'TARGET_SPEND'


 Please suggest.



 Thanks





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

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


Re: Can ads be created in advance via API? Mobile App Install campaigns

2015-01-02 Thread Josh Radcliff (AdWords API Team)
Hi,

Using the API, ads cannot be shared across campaigns and ad groups. You'll 
need a separate *Ad* object for each ad group.

In the UI, you can use shared ads under the *Shared Library* on the left, 
but this functionality is not supported in the API.

Cheers,
Josh, AdWords API Team

On Wednesday, December 31, 2014 9:46:53 AM UTC-5, Sam wrote:

 I will only be using the API to create and manage Mobile App Install type 
 campaigns (and creating/managing text, image, and video app install ads) 
 for clients. 

 I'm wondering if via the API I can create the template ads listed above in 
 advance (before Campaign or AdGroup)? 

 For Example:

 Client: ABCDE

 Can I create a template ad X and push it to ABCDE's account, then later 
 configure a campaign/adgroup and use ad X that I previously created (tied 
 to ABCDE's account)? Or is the case that each ad must be tied to an AdGroup 
 or Campaign and cannot be tied at the adwords account level?

 Are ads in adwords unique objects that can be created in advance and 
 re-used? (can ad X present in ABCDE's account be re-used in another 
 campaign?)

 (I believe this is the case for Facebook App Install ads for a point of 
 reference)

 If you can point me to any pages on the documentation/sample code that 
 will help with this that would be awesome!

 Thank you and Happy New Year!


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

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


Re: Getting Placement URL via API?

2015-01-02 Thread Josh Radcliff (AdWords API Team)
Hi,

You can use the URL_PERFORMANCE_REPORT 
https://developers.google.com/adwords/api/docs/appendix/reports#url and 
include the *DisplayName* in your report request -- see this related post 
https://groups.google.com/d/msg/adwords-api/dJkA8Ihgzes/GKNZds-WxQ4J.

Cheers,
Josh, AdWords API Team

On Wednesday, December 31, 2014 8:49:57 AM UTC-5, Frank wrote:

 Right now I am running a display campaign without keywords, and I would 
 like to gather the placements where our ads have shown. The catch is, I 
 cannot pull all the reports available, and everything I have tried results 
 in Content, AutomaticContent, or the keywords for other campaigns / ad 
 groups when I think I am going to get the placement. Any advice on how to 
 get Mobile App:  and .com would be appreciated.


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

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


Re: Unknown locationId in Campaign Location Target Report

2015-01-02 Thread Josh Radcliff (AdWords API Team)
Hi mm,

I suspect that what's happening is that the rows with *--* for the *Id* field 
are for impressions where no location data was available. Could you share 
some campaign IDs and date ranges so I can confirm?

Thanks,
Josh, AdWords API Team

On Wednesday, December 31, 2014 2:40:34 PM UTC-5, mm wrote:

 Hey guys - 
 I'm pulling a Campaign Location Target Report for an account and I'm 
 seeing multiple rows returned with -- as the locationId. I only see this 
 when I request metrics - if I pull a 0-impression report, these rows don't 
 show up. 
  
 How should that be interpreted? 
  
 Thanks! 
 mm


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

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


developer access to mcc account

2015-01-02 Thread רועי בן נון
hi everybody
im managing multiple adwords accounts through my mcc account.
one of my clients wants me to allow api access to his account to a third 
party software that tracks the account statistics
the software company tells me they only need an api token and the clients 
id.

my questions are: 
 what will be the software company permisions on my clients adwords account?
will they be able to change or touch my campaign/budgets in any way? 

thank you for your help in advance

roey

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

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


Getting Placement URL via API?

2015-01-02 Thread Frank
Right now I am running a display campaign without keywords, and I would 
like to gather the placements where our ads have shown. The catch is, I 
cannot pull all the reports available, and everything I have tried results 
in Content, AutomaticContent, or the keywords for other campaigns / ad 
groups when I think I am going to get the placement. Any advice on how to 
get Mobile App:  and .com would be appreciated.

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

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


Re: Age_Performance_Report strange results

2015-01-02 Thread Josh Radcliff (AdWords API Team)
Hi Justin,

If you remove the predicate on the *Status* field, you'll see that several 
of the age ranges have status *REMOVED*. For example, on the campaign named 
*CPC 
- Display*, the age ranges *55-64* and *65 or more* have been removed. You 
can see this in the UI if you change the selection at the top from *All 
eligible ages* to *All ages*.

Cheers,
Josh, AdWords API Team

On Friday, January 2, 2015 11:16:58 AM UTC-5, Justin Coon wrote:

 Here is the results I get - not what I expect compared to what AdWords UI 
 shows

 report
   report-name name=AGE_RANGE_PERFORMANCE_REPORT /
   date-range date=Jan 1, 2015-Jan 2, 2015 /
   table
 columns
   column name=adGroupID display=Ad group ID /
   column name=ageRange display=Age Range /
   column name=cost display=Cost /
   column name=clicks display=Clicks /
   column name=impressions display=Impressions /
   column name=ctr display=CTR /
 /columns
 row adGroupID=14213257042 ageRange=18-24 cost=351030 clicks=0 
 impressions=1203 ctr=0.00% /
 row adGroupID=14213257042 ageRange=25-34 cost=234830 clicks=1 
 impressions=800 ctr=0.12% /
 row adGroupID=14213257042 ageRange=35-44 cost=166410 clicks=0 
 impressions=576 ctr=0.00% /
 row adGroupID=14213257042 ageRange=45-54 cost=117070 clicks=0 
 impressions=393 ctr=0.00% /
 row adGroupID=14213257042 ageRange=Undetermined cost=461130 
 clicks=0 impressions=1564 ctr=0.00% /
 row adGroupID=13922813482 ageRange=65 or more cost=0 clicks=0 
 impressions=0 ctr=0.00% /
 row adGroupID=14213257042 ageRange=55-64 cost=0 clicks=0 
 impressions=0 ctr=0.00% /
 row adGroupID=13922813482 ageRange=55-64 cost=0 clicks=0 
 impressions=0 ctr=0.00% /
 row adGroupID=14213257042 ageRange=65 or more cost=0 clicks=0 
 impressions=0 ctr=0.00% /
   /table
 /report

 On Friday, January 2, 2015 10:11:21 AM UTC-6, Justin Coon wrote:

 Hi Josh,

 Here's the report definition XML

 ?xml version=1.0 encoding=utf-8?
 reportDefinition xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
 xmlns:xsd=http://www.w3.org/2001/XMLSchema;
   selector xmlns=https://adwords.google.com/api/adwords/cm/v201406;
 fieldsAdGroupId/fields
 fieldsCriteria/fields
 fieldsCost/fields
 fieldsClicks/fields
 fieldsImpressions/fields
 fieldsCtr/fields
 predicates
   fieldStatus/field
   operatorIN/operator
   valuesENABLED/values
   valuesPAUSED/values
 /predicates
 predicates
   fieldAdGroupId/field
   operatorIN/operator
   values13922813482/values
   values13922815042/values
   values14213257042/values
   values17152499002/values
 /predicates
   /selector
   reportName xmlns=https://adwords.google.com/api/adwords/cm/v201406
 AGE_RANGE_PERFORMANCE_REPORT/reportName
   reportType xmlns=https://adwords.google.com/api/adwords/cm/v201406
 AGE_RANGE_PERFORMANCE_REPORT/reportType
   dateRangeType xmlns=https://adwords.google.com/api/adwords/cm/v201406
 THIS_MONTH/dateRangeType
   downloadFormat xmlns=
 https://adwords.google.com/api/adwords/cm/v201406
 GZIPPED_XML/downloadFormat
   includeZeroImpressions xmlns=
 https://adwords.google.com/api/adwords/cm/v201406
 true/includeZeroImpressions
 /reportDefinition

 On Friday, January 2, 2015 10:08:27 AM UTC-6, Josh Radcliff (AdWords API 
 Team) wrote:

 Hi Justin,

 I just ran the AGE_RANGE_PERFORMANCE_REPORT on your account and the 
 month of December 2014, and I get back non-zero results for multiple ad 
 group IDs.

 13922813482
 13922815042
 14213257042
 17152499002

 Could you send over the complete report request (with any sensitive 
 information removed) so I can compare it to what I'm running?

 Thanks,
 Josh, AdWords API Team

 On Thursday, January 1, 2015 2:46:57 PM UTC-5, Justin Coon wrote:

 Hi 

 I'm witnessing some odd behavior that I cant explain with 
 AGE_PERFORMANCE_REPORT. The only campaign/AdGroups returning results are 
 CPM, the other campaigns/AdGroups under the same account aren't returning 
 any results. However under the AdWords UI I can see results, so something 
 is off. Is there explanation for this behavior? Something I'm doing 
 incorrect how I'm structuring the report definition? I'm seeing the same 
 behavior with the GENDER_PERFORMANCE_REPORT, just FYI. 

 Thanks 
 Justin



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 

Re: Age_Performance_Report strange results

2015-01-02 Thread Justin Coon
Here is the results I get - not what I expect compared to what AdWords UI 
shows

report
  report-name name=AGE_RANGE_PERFORMANCE_REPORT /
  date-range date=Jan 1, 2015-Jan 2, 2015 /
  table
columns
  column name=adGroupID display=Ad group ID /
  column name=ageRange display=Age Range /
  column name=cost display=Cost /
  column name=clicks display=Clicks /
  column name=impressions display=Impressions /
  column name=ctr display=CTR /
/columns
row adGroupID=14213257042 ageRange=18-24 cost=351030 clicks=0 
impressions=1203 ctr=0.00% /
row adGroupID=14213257042 ageRange=25-34 cost=234830 clicks=1 
impressions=800 ctr=0.12% /
row adGroupID=14213257042 ageRange=35-44 cost=166410 clicks=0 
impressions=576 ctr=0.00% /
row adGroupID=14213257042 ageRange=45-54 cost=117070 clicks=0 
impressions=393 ctr=0.00% /
row adGroupID=14213257042 ageRange=Undetermined cost=461130 
clicks=0 impressions=1564 ctr=0.00% /
row adGroupID=13922813482 ageRange=65 or more cost=0 clicks=0 
impressions=0 ctr=0.00% /
row adGroupID=14213257042 ageRange=55-64 cost=0 clicks=0 
impressions=0 ctr=0.00% /
row adGroupID=13922813482 ageRange=55-64 cost=0 clicks=0 
impressions=0 ctr=0.00% /
row adGroupID=14213257042 ageRange=65 or more cost=0 clicks=0 
impressions=0 ctr=0.00% /
  /table
/report

On Friday, January 2, 2015 10:11:21 AM UTC-6, Justin Coon wrote:

 Hi Josh,

 Here's the report definition XML

 ?xml version=1.0 encoding=utf-8?
 reportDefinition xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
 xmlns:xsd=http://www.w3.org/2001/XMLSchema;
   selector xmlns=https://adwords.google.com/api/adwords/cm/v201406;
 fieldsAdGroupId/fields
 fieldsCriteria/fields
 fieldsCost/fields
 fieldsClicks/fields
 fieldsImpressions/fields
 fieldsCtr/fields
 predicates
   fieldStatus/field
   operatorIN/operator
   valuesENABLED/values
   valuesPAUSED/values
 /predicates
 predicates
   fieldAdGroupId/field
   operatorIN/operator
   values13922813482/values
   values13922815042/values
   values14213257042/values
   values17152499002/values
 /predicates
   /selector
   reportName xmlns=https://adwords.google.com/api/adwords/cm/v201406
 AGE_RANGE_PERFORMANCE_REPORT/reportName
   reportType xmlns=https://adwords.google.com/api/adwords/cm/v201406
 AGE_RANGE_PERFORMANCE_REPORT/reportType
   dateRangeType xmlns=https://adwords.google.com/api/adwords/cm/v201406
 THIS_MONTH/dateRangeType
   downloadFormat xmlns=https://adwords.google.com/api/adwords/cm/v201406
 GZIPPED_XML/downloadFormat
   includeZeroImpressions xmlns=
 https://adwords.google.com/api/adwords/cm/v201406
 true/includeZeroImpressions
 /reportDefinition

 On Friday, January 2, 2015 10:08:27 AM UTC-6, Josh Radcliff (AdWords API 
 Team) wrote:

 Hi Justin,

 I just ran the AGE_RANGE_PERFORMANCE_REPORT on your account and the month 
 of December 2014, and I get back non-zero results for multiple ad group IDs.

 13922813482
 13922815042
 14213257042
 17152499002

 Could you send over the complete report request (with any sensitive 
 information removed) so I can compare it to what I'm running?

 Thanks,
 Josh, AdWords API Team

 On Thursday, January 1, 2015 2:46:57 PM UTC-5, Justin Coon wrote:

 Hi 

 I'm witnessing some odd behavior that I cant explain with 
 AGE_PERFORMANCE_REPORT. The only campaign/AdGroups returning results are 
 CPM, the other campaigns/AdGroups under the same account aren't returning 
 any results. However under the AdWords UI I can see results, so something 
 is off. Is there explanation for this behavior? Something I'm doing 
 incorrect how I'm structuring the report definition? I'm seeing the same 
 behavior with the GENDER_PERFORMANCE_REPORT, just FYI. 

 Thanks 
 Justin



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

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


Can ads be created in advance via API? Mobile App Install campaigns

2015-01-02 Thread Sam
I will only be using the API to create and manage Mobile App Install type 
campaigns (and creating/managing text, image, and video app install ads) 
for clients. 

I'm wondering if via the API I can create the template ads listed above in 
advance (before Campaign or AdGroup)? 

For Example:

Client: ABCDE

Can I create a template ad X and push it to ABCDE's account, then later 
configure a campaign/adgroup and use ad X that I previously created (tied 
to ABCDE's account)? Or is the case that each ad must be tied to an AdGroup 
or Campaign and cannot be tied at the adwords account level?

Are ads in adwords unique objects that can be created in advance and 
re-used? (can ad X present in ABCDE's account be re-used in another 
campaign?)

(I believe this is the case for Facebook App Install ads for a point of 
reference)

If you can point me to any pages on the documentation/sample code that will 
help with this that would be awesome!

Thank you and Happy New Year!

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

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


Problem with Adwords Api .NET ClientReport

2015-01-02 Thread Αυγερινός Καραλής
Hi, 

I'm using the google adwords.net api (googleads-dotnet-lib 
https://github.com/googleads/googleads-dotnet-lib) for my application to 
import data from adwords. The api was working fine untill recently(The 
clientId, clientsecret, refreshtoken and clientcustomerId are correct).

The problem is , that now im gettting an exception in the following call : 

ClientReport report = utilities.GetClientReport(definition);

I've read that i might need to migrate to a newer version (currently i am 
on v201402) .
The problem is that the new version v201409, is built on net framework 4 
where my application uses 3.5(which needs much work to move to 4).
My question if indeed this is the issue and if somehow moving to v201409 
will solve the problem.
Another possible issue i can think is that the developer token might have 
expired( 6 months )   if that happens..

Any help will be greatly appreciated

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

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


Re: Age_Performance_Report strange results

2015-01-02 Thread Justin Coon
Hi Josh,

Here's the report definition XML

?xml version=1.0 encoding=utf-8?
reportDefinition xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xmlns:xsd=http://www.w3.org/2001/XMLSchema;
  selector xmlns=https://adwords.google.com/api/adwords/cm/v201406;
fieldsAdGroupId/fields
fieldsCriteria/fields
fieldsCost/fields
fieldsClicks/fields
fieldsImpressions/fields
fieldsCtr/fields
predicates
  fieldStatus/field
  operatorIN/operator
  valuesENABLED/values
  valuesPAUSED/values
/predicates
predicates
  fieldAdGroupId/field
  operatorIN/operator
  values13922813482/values
  values13922815042/values
  values14213257042/values
  values17152499002/values
/predicates
  /selector
  reportName 
xmlns=https://adwords.google.com/api/adwords/cm/v201406;AGE_RANGE_PERFORMANCE_REPORT/reportName
  reportType 
xmlns=https://adwords.google.com/api/adwords/cm/v201406;AGE_RANGE_PERFORMANCE_REPORT/reportType
  dateRangeType 
xmlns=https://adwords.google.com/api/adwords/cm/v201406;THIS_MONTH/dateRangeType
  downloadFormat 
xmlns=https://adwords.google.com/api/adwords/cm/v201406;GZIPPED_XML/downloadFormat
  includeZeroImpressions 
xmlns=https://adwords.google.com/api/adwords/cm/v201406;true/includeZeroImpressions
/reportDefinition

On Friday, January 2, 2015 10:08:27 AM UTC-6, Josh Radcliff (AdWords API 
Team) wrote:

 Hi Justin,

 I just ran the AGE_RANGE_PERFORMANCE_REPORT on your account and the month 
 of December 2014, and I get back non-zero results for multiple ad group IDs.

 13922813482
 13922815042
 14213257042
 17152499002

 Could you send over the complete report request (with any sensitive 
 information removed) so I can compare it to what I'm running?

 Thanks,
 Josh, AdWords API Team

 On Thursday, January 1, 2015 2:46:57 PM UTC-5, Justin Coon wrote:

 Hi 

 I'm witnessing some odd behavior that I cant explain with 
 AGE_PERFORMANCE_REPORT. The only campaign/AdGroups returning results are 
 CPM, the other campaigns/AdGroups under the same account aren't returning 
 any results. However under the AdWords UI I can see results, so something 
 is off. Is there explanation for this behavior? Something I'm doing 
 incorrect how I'm structuring the report definition? I'm seeing the same 
 behavior with the GENDER_PERFORMANCE_REPORT, just FYI. 

 Thanks 
 Justin



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

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


Re: Problem with Adwords Api .NET ClientReport

2015-01-02 Thread Josh Radcliff (AdWords API Team)
Hi,

Version v201402 of the library has been sunset 
https://developers.google.com/adwords/api/docs/sunset-dates, so you will 
need to either user v201406 or v201409.

The last version of the client library that supports .NET Framework 3.5 is 
AdWords_API_v17.3.0 
https://github.com/googleads/googleads-dotnet-lib/releases/tag/AdWords_API_v17.3.0.
 
However, that version of the library only supports up to v201406 of the 
API. If you want to use v201409, you'll need to get the latest version of 
the library and upgrade to .NET Framework 4.0 or higher.

Finally, to check the status of your dev token, you can log into the MCC of 
the token and go to *Settings - Account Settings - AdWords API Center*. 
Under *Developer details* on that screen, you'll see a green *Approved* next 
to your dev token if it is approved.

Thanks,
Josh, AdWords API Team

On Wednesday, December 31, 2014 7:14:43 AM UTC-5, Αυγερινός Καραλής wrote:

 Hi, 

 I'm using the google adwords.net api (googleads-dotnet-lib 
 https://github.com/googleads/googleads-dotnet-lib) for my application 
 to import data from adwords. The api was working fine untill recently(The 
 clientId, clientsecret, refreshtoken and clientcustomerId are correct).

 The problem is , that now im gettting an exception in the following call : 

 ClientReport report = utilities.GetClientReport(definition);

 I've read that i might need to migrate to a newer version (currently i am 
 on v201402) .
 The problem is that the new version v201409, is built on net framework 4 
 where my application uses 3.5(which needs much work to move to 4).
 My question if indeed this is the issue and if somehow moving to v201409 
 will solve the problem.
 Another possible issue i can think is that the developer token might have 
 expired( 6 months )   if that happens..

 Any help will be greatly appreciated


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

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


Re: KEYWORDS_PERFORMANCE_REPORT bounce rate issue

2015-01-02 Thread Josh Radcliff (AdWords API Team)
Hi,

The *BounceRate* field returns a percentage, so valid values are between *0* 
and 
*1*. Have you tried changing the *values* to 0.8 for 80% instead?

Thanks,
Josh, AdWords API Team

On Friday, January 2, 2015 8:18:16 AM UTC-5, khal...@dprodigy.com wrote:

 Hi all,

 I am downloading KEYWORDS_PERFORMANCE_REPORT using .net client libraries 
 of google adwords by using following predicate and selectors.

 var selector = new Selector { fields = new[] { Id, KeywordText, 
 AdGroupId, AdGroupName, CampaignId, CampaignName, Clicks, 
 Conversions, KeywordMatchType, BounceRate } };

 var predicate = new Predicate
 {
 field = BounceRate,
 @operator = PredicateOperator.GREATER_THAN_EQUALS,
 values = new [] { 80 }
 };
 var predicate1 = new Predicate
 {
 field = Status,
 @operator = PredicateOperator.NOT_EQUALS,
 values = new[] { REMOVED }
 };
 var predicate2 = new Predicate
 {
 field = IsNegative,
 @operator = PredicateOperator.EQUALS,
 values = new[] { FALSE }
 };

 Whenever I try to download report using above predicates it gives 
 SelectorError.INVALID_PREDICATE_OPERATOR error. But when i change 
 BounceRate predicate to following then it downloads data successfully

 var predicate = new Predicate
 {
 field = BounceRate,
 @operator = PredicateOperator.LESS_THAN_EQUALS,
 values = new [] { 80 }
 };

 Whats wrong with my predicate??? I am wondering why google api throws 
 exception. Even when I try to download report using 
 PredicateOperator.GREATER_THAN then it does not throw exception but no data 
 available in the report.

 Even all these operator works correctly if i use Clicks field in 
 predicate then what is the issue with BounceRate field.

 I want to download keyword performance report for only those keywords 
 whose bounce rate is greater than 80%.

 Can anyone help me on this!


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

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


Re: How can we get the Campain ID and Ad Group ID

2015-01-02 Thread Josh Radcliff (AdWords API Team)
Hi,

There are a few ways to get this information.

*1.* *AdWords SOAP services*
You can use the AdGroupService 
https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupService
 
to *get* all ad groups. If you include the *Id* and *CampaignId* fields in 
your *Selector*, then you'll get back the ad group ID and campaign ID 
combination for each ad group. If you are using one of our client 
libraries, check out the *GetAdGroups* example in the client library's 
*basicoperations* folder (e.g., the Java example is here 
https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201409/basicoperations/GetAdGroups.java
).

*2. Reports*
You can run the AD_GROUP_PERFORMANCE_REPORT 
https://developers.google.com/adwords/api/docs/appendix/reports#ad-group and 
include the *AdGroupId* and *CampaignId* fields in your report request. If 
you want to include ad groups without impressions, see the Zero Impression 
Reports guide 
https://developers.google.com/adwords/api/docs/guides/zero-impression-reports.
 
If you are using one of our client libraries, check out the 
DownloadCriteriaReport 
https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201409/reporting/DownloadCriteriaReport.java
 example 
in the client library's *reporting* folder.

Cheers,
Josh, AdWords API Team

On Friday, January 2, 2015 2:26:48 AM UTC-5, sho...@multipliersolutions.in 
wrote:

 Hi..

 I am integrating google adwords api in my website. For user flexibility, I 
 want to show their campaigns that they are running and also to show their 
 ad groups for their account.
 I just wanted to know the Code  to generate the Campaign ID with name and 
 Ad group ID with name 

 Thanks


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

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


Re: developer access to mcc account

2015-01-02 Thread Josh Radcliff (AdWords API Team)
Hi,

Their access level will be determined by the OAuth *access token* they use 
in their requests. The token's access level will simply mirror the access 
level of the user whose credentials were used to generate the OAuth token. 
If that user has read-only access, then the OAuth access token will only 
permit read operations (for example).

For more information on the various access levels available in AdWords, 
please see this Help Center article 
https://support.google.com/adwords/answer/1704346?hl=en.

Thanks,
Josh, AdWords API Team

On Thursday, January 1, 2015 6:37:48 AM UTC-5, רועי בן נון wrote:

 hi everybody
 im managing multiple adwords accounts through my mcc account.
 one of my clients wants me to allow api access to his account to a third 
 party software that tracks the account statistics
 the software company tells me they only need an api token and the clients 
 id.

 my questions are: 
  what will be the software company permisions on my clients adwords 
 account?
 will they be able to change or touch my campaign/budgets in any way? 

 thank you for your help in advance

 roey


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

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


Re: Age_Performance_Report strange results

2015-01-02 Thread Josh Radcliff (AdWords API Team)
Hi Justin,

I just ran the AGE_RANGE_PERFORMANCE_REPORT on your account and the month 
of December 2014, and I get back non-zero results for multiple ad group IDs.

13922813482
13922815042
14213257042
17152499002

Could you send over the complete report request (with any sensitive 
information removed) so I can compare it to what I'm running?

Thanks,
Josh, AdWords API Team

On Thursday, January 1, 2015 2:46:57 PM UTC-5, Justin Coon wrote:

 Hi 

 I'm witnessing some odd behavior that I cant explain with 
 AGE_PERFORMANCE_REPORT. The only campaign/AdGroups returning results are 
 CPM, the other campaigns/AdGroups under the same account aren't returning 
 any results. However under the AdWords UI I can see results, so something 
 is off. Is there explanation for this behavior? Something I'm doing 
 incorrect how I'm structuring the report definition? I'm seeing the same 
 behavior with the GENDER_PERFORMANCE_REPORT, just FYI. 

 Thanks 
 Justin

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

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


Re: Get mobile app name

2015-01-02 Thread Josh Radcliff (AdWords API Team)
Hi Justin,

I see you already posted this question separately here 
https://groups.google.com/d/msg/adwords-api/_2XsBGK5d7A/NHlsdezLdZwJ. 
I'll reply to your question on that post.

Just an FYI - we generally try to keep each post to a single question/topic 
to make it easier for others who are searching the forum to find the most 
relevant answers to their questions.

Thanks,
Josh, AdWords API Team

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

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


Re: Google Adwords API java - Exception in thread main AxisFault

2015-01-02 Thread Josh Radcliff (AdWords API Team)
Hi,

Could you share the code you are using to create your *AdWordsSession*?

Also, the error suggests that you are using a service account, but as 
mentioned in our Service Accounts guide 
https://developers.google.com/adwords/api/docs/guides/service-accounts:

OAuth2 offline and web flows require user interaction only once: when 
 access to the account is granted. From that point, all operations can be 
 executed with no manual steps until the access token is revoked. We 
 strongly recommend using offline or web flows instead of service accounts 
 *unless 
 you need domain-specific features* (e.g. impersonation).


Please make sure you remove any sensitive information when posting.

Thanks,
Josh, AdWords API Team

On Friday, January 2, 2015 4:26:43 AM UTC-5, Rajalakshmi Thangavelu wrote:


 Hi Team,

 I have connected the Google Adwords through the java and have set all the 
 properties including the client secret,clientid,etc.

 I m getting the below error...



 log4j:WARN No appenders could be found for logger 
 (org.apache.commons.configuration.PropertiesConfiguration).
 log4j:WARN Please initialize the log4j system properly.
 log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for 
 more info.
 Exception in thread main AxisFault
  faultCode: {
 http://schemas.xmlsoap.org/soap/envelope/}Server.userException
  faultSubcode: 
  faultString: javax.net.ssl.SSLHandshakeException: 
 sun.security.validator.ValidatorException: PKIX path building failed: 
 sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
 valid certification path to requested target
  faultActor: 
  faultNode: 
  faultDetail: 
 {
 http://xml.apache.org/axis/}stackTrace:javax.net.ssl.SSLHandshakeException: 
 sun.security.validator.ValidatorException: PKIX path building failed: 
 sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
 valid certification path to requested target
 at sun.security.ssl.Alerts.getSSLException(Unknown Source)
 at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
 at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
 at sun.security.ssl.Handshaker.fatalSE(Unknown Source)
 at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)
 at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
 at sun.security.ssl.Handshaker.processLoop(Unknown Source)
 at sun.security.ssl.Handshaker.process_record(Unknown Source)
 at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
 at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown 
 Source)
 at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
 at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
 at 
 org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:186)
 at 
 org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
 at 
 org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
 at 
 org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
 at 
 org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
 at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
 at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
 at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
 at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
 at org.apache.axis.client.Call.invoke(Call.java:2767)
 at org.apache.axis.client.Call.invoke(Call.java:2443)
 at org.apache.axis.client.Call.invoke(Call.java:2366)
 at org.apache.axis.client.Call.invoke(Call.java:1812)
 at 
 com.google.api.ads.adwords.axis.v201406.cm.CampaignServiceSoapBindingStub.get(CampaignServiceSoapBindingStub.java:1364)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at 
 com.google.api.ads.common.lib.soap.SoapClientHandler.invoke(SoapClientHandler.java:109)
 at 
 com.google.api.ads.common.lib.soap.axis.AxisHandler.invokeSoapCall(AxisHandler.java:213)
 at 
 com.google.api.ads.common.lib.soap.SoapServiceClient.callSoapClient(SoapServiceClient.java:64)
 at 
 com.google.api.ads.common.lib.soap.SoapServiceClient.invoke(SoapServiceClient.java:93)
 at $Proxy14.get(Unknown Source)
 at 
 adwords.axis.v201406.basicoperations.GetCampaigns.runExample(GetCampaigns.java:82)
 at 
 adwords.axis.v201406.basicoperations.GetCampaigns.main(GetCampaigns.java:59)
 Caused by: sun.security.validator.ValidatorException: PKIX path building 
 failed: sun.security.provider.certpath.SunCertPathBuilderException: unable 
 to find valid certification path to requested target
 at sun.security.validator.PKIXValidator.doBuild(Unknown Source)
 at 

Re: Age_Performance_Report strange results

2015-01-02 Thread Justin Coon
Hi Josh

That worked! My report result set matches what I see in the AdWords UI - 
however I think I'm now eve more confused. I am asking the API for only 
active/paused *Status*, and there are no impressions/metrics on the 
removed ones, so why are the active ones filtered from the result set? 
Seems unintuitive to me, unless I am doing something wrong, or am 
misunderstanding

Thanks
Justin

On Friday, January 2, 2015 10:23:02 AM UTC-6, Josh Radcliff (AdWords API 
Team) wrote:

 Hi Justin,

 If you remove the predicate on the *Status* field, you'll see that 
 several of the age ranges have status *REMOVED*. For example, on the 
 campaign named *CPC - Display*, the age ranges *55-64* and *65 or more* have 
 been removed. You can see this in the UI if you change the selection at the 
 top from *All eligible ages* to *All ages*.

 Cheers,
 Josh, AdWords API Team

 On Friday, January 2, 2015 11:16:58 AM UTC-5, Justin Coon wrote:

 Here is the results I get - not what I expect compared to what AdWords UI 
 shows

 report
   report-name name=AGE_RANGE_PERFORMANCE_REPORT /
   date-range date=Jan 1, 2015-Jan 2, 2015 /
   table
 columns
   column name=adGroupID display=Ad group ID /
   column name=ageRange display=Age Range /
   column name=cost display=Cost /
   column name=clicks display=Clicks /
   column name=impressions display=Impressions /
   column name=ctr display=CTR /
 /columns
 row adGroupID=14213257042 ageRange=18-24 cost=351030 
 clicks=0 impressions=1203 ctr=0.00% /
 row adGroupID=14213257042 ageRange=25-34 cost=234830 
 clicks=1 impressions=800 ctr=0.12% /
 row adGroupID=14213257042 ageRange=35-44 cost=166410 
 clicks=0 impressions=576 ctr=0.00% /
 row adGroupID=14213257042 ageRange=45-54 cost=117070 
 clicks=0 impressions=393 ctr=0.00% /
 row adGroupID=14213257042 ageRange=Undetermined cost=461130 
 clicks=0 impressions=1564 ctr=0.00% /
 row adGroupID=13922813482 ageRange=65 or more cost=0 
 clicks=0 impressions=0 ctr=0.00% /
 row adGroupID=14213257042 ageRange=55-64 cost=0 clicks=0 
 impressions=0 ctr=0.00% /
 row adGroupID=13922813482 ageRange=55-64 cost=0 clicks=0 
 impressions=0 ctr=0.00% /
 row adGroupID=14213257042 ageRange=65 or more cost=0 
 clicks=0 impressions=0 ctr=0.00% /
   /table
 /report

 On Friday, January 2, 2015 10:11:21 AM UTC-6, Justin Coon wrote:

 Hi Josh,

 Here's the report definition XML

 ?xml version=1.0 encoding=utf-8?
 reportDefinition xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
 xmlns:xsd=http://www.w3.org/2001/XMLSchema;
   selector xmlns=https://adwords.google.com/api/adwords/cm/v201406;
 fieldsAdGroupId/fields
 fieldsCriteria/fields
 fieldsCost/fields
 fieldsClicks/fields
 fieldsImpressions/fields
 fieldsCtr/fields
 predicates
   fieldStatus/field
   operatorIN/operator
   valuesENABLED/values
   valuesPAUSED/values
 /predicates
 predicates
   fieldAdGroupId/field
   operatorIN/operator
   values13922813482/values
   values13922815042/values
   values14213257042/values
   values17152499002/values
 /predicates
   /selector
   reportName xmlns=https://adwords.google.com/api/adwords/cm/v201406
 AGE_RANGE_PERFORMANCE_REPORT/reportName
   reportType xmlns=https://adwords.google.com/api/adwords/cm/v201406
 AGE_RANGE_PERFORMANCE_REPORT/reportType
   dateRangeType xmlns=
 https://adwords.google.com/api/adwords/cm/v201406
 THIS_MONTH/dateRangeType
   downloadFormat xmlns=
 https://adwords.google.com/api/adwords/cm/v201406
 GZIPPED_XML/downloadFormat
   includeZeroImpressions xmlns=
 https://adwords.google.com/api/adwords/cm/v201406
 true/includeZeroImpressions
 /reportDefinition

 On Friday, January 2, 2015 10:08:27 AM UTC-6, Josh Radcliff (AdWords API 
 Team) wrote:

 Hi Justin,

 I just ran the AGE_RANGE_PERFORMANCE_REPORT on your account and the 
 month of December 2014, and I get back non-zero results for multiple ad 
 group IDs.

 13922813482
 13922815042
 14213257042
 17152499002

 Could you send over the complete report request (with any sensitive 
 information removed) so I can compare it to what I'm running?

 Thanks,
 Josh, AdWords API Team

 On Thursday, January 1, 2015 2:46:57 PM UTC-5, Justin Coon wrote:

 Hi 

 I'm witnessing some odd behavior that I cant explain with 
 AGE_PERFORMANCE_REPORT. The only campaign/AdGroups returning results are 
 CPM, the other campaigns/AdGroups under the same account aren't returning 
 any results. However under the AdWords UI I can see results, so something 
 is off. Is there explanation for this behavior? Something I'm doing 
 incorrect how I'm structuring the report definition? I'm seeing the same 
 behavior with the GENDER_PERFORMANCE_REPORT, just FYI. 

 Thanks 
 Justin



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

Re: Age_Performance_Report strange results

2015-01-02 Thread Josh Radcliff (AdWords API Team)
Hi Justin,

I agree - the *Status* column doesn't seem to be working correctly, or at 
least it isn't consistent with the UI. I'm following up with the reporting 
team and will post back once I hear from them.

In the meantime, I'd recommend *not* filtering by *Status* to ensure you 
get back all relevant rows.

Cheers,
Josh, AdWords API Team

On Friday, January 2, 2015 11:38:27 AM UTC-5, Justin Coon wrote:

 Hi Josh

 That worked! My report result set matches what I see in the AdWords UI - 
 however I think I'm now eve more confused. I am asking the API for only 
 active/paused *Status*, and there are no impressions/metrics on the 
 removed ones, so why are the active ones filtered from the result set? 
 Seems unintuitive to me, unless I am doing something wrong, or am 
 misunderstanding

 Thanks
 Justin

 On Friday, January 2, 2015 10:23:02 AM UTC-6, Josh Radcliff (AdWords API 
 Team) wrote:

 Hi Justin,

 If you remove the predicate on the *Status* field, you'll see that 
 several of the age ranges have status *REMOVED*. For example, on the 
 campaign named *CPC - Display*, the age ranges *55-64* and *65 or more* have 
 been removed. You can see this in the UI if you change the selection at the 
 top from *All eligible ages* to *All ages*.

 Cheers,
 Josh, AdWords API Team

 On Friday, January 2, 2015 11:16:58 AM UTC-5, Justin Coon wrote:

 Here is the results I get - not what I expect compared to what AdWords 
 UI shows

 report
   report-name name=AGE_RANGE_PERFORMANCE_REPORT /
   date-range date=Jan 1, 2015-Jan 2, 2015 /
   table
 columns
   column name=adGroupID display=Ad group ID /
   column name=ageRange display=Age Range /
   column name=cost display=Cost /
   column name=clicks display=Clicks /
   column name=impressions display=Impressions /
   column name=ctr display=CTR /
 /columns
 row adGroupID=14213257042 ageRange=18-24 cost=351030 
 clicks=0 impressions=1203 ctr=0.00% /
 row adGroupID=14213257042 ageRange=25-34 cost=234830 
 clicks=1 impressions=800 ctr=0.12% /
 row adGroupID=14213257042 ageRange=35-44 cost=166410 
 clicks=0 impressions=576 ctr=0.00% /
 row adGroupID=14213257042 ageRange=45-54 cost=117070 
 clicks=0 impressions=393 ctr=0.00% /
 row adGroupID=14213257042 ageRange=Undetermined cost=461130 
 clicks=0 impressions=1564 ctr=0.00% /
 row adGroupID=13922813482 ageRange=65 or more cost=0 
 clicks=0 impressions=0 ctr=0.00% /
 row adGroupID=14213257042 ageRange=55-64 cost=0 clicks=0 
 impressions=0 ctr=0.00% /
 row adGroupID=13922813482 ageRange=55-64 cost=0 clicks=0 
 impressions=0 ctr=0.00% /
 row adGroupID=14213257042 ageRange=65 or more cost=0 
 clicks=0 impressions=0 ctr=0.00% /
   /table
 /report

 On Friday, January 2, 2015 10:11:21 AM UTC-6, Justin Coon wrote:

 Hi Josh,

 Here's the report definition XML

 ?xml version=1.0 encoding=utf-8?
 reportDefinition xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
 xmlns:xsd=http://www.w3.org/2001/XMLSchema;
   selector xmlns=https://adwords.google.com/api/adwords/cm/v201406;
 fieldsAdGroupId/fields
 fieldsCriteria/fields
 fieldsCost/fields
 fieldsClicks/fields
 fieldsImpressions/fields
 fieldsCtr/fields
 predicates
   fieldStatus/field
   operatorIN/operator
   valuesENABLED/values
   valuesPAUSED/values
 /predicates
 predicates
   fieldAdGroupId/field
   operatorIN/operator
   values13922813482/values
   values13922815042/values
   values14213257042/values
   values17152499002/values
 /predicates
   /selector
   reportName xmlns=https://adwords.google.com/api/adwords/cm/v201406
 AGE_RANGE_PERFORMANCE_REPORT/reportName
   reportType xmlns=https://adwords.google.com/api/adwords/cm/v201406
 AGE_RANGE_PERFORMANCE_REPORT/reportType
   dateRangeType xmlns=
 https://adwords.google.com/api/adwords/cm/v201406
 THIS_MONTH/dateRangeType
   downloadFormat xmlns=
 https://adwords.google.com/api/adwords/cm/v201406
 GZIPPED_XML/downloadFormat
   includeZeroImpressions xmlns=
 https://adwords.google.com/api/adwords/cm/v201406
 true/includeZeroImpressions
 /reportDefinition

 On Friday, January 2, 2015 10:08:27 AM UTC-6, Josh Radcliff (AdWords 
 API Team) wrote:

 Hi Justin,

 I just ran the AGE_RANGE_PERFORMANCE_REPORT on your account and the 
 month of December 2014, and I get back non-zero results for multiple ad 
 group IDs.

 13922813482
 13922815042
 14213257042
 17152499002

 Could you send over the complete report request (with any sensitive 
 information removed) so I can compare it to what I'm running?

 Thanks,
 Josh, AdWords API Team

 On Thursday, January 1, 2015 2:46:57 PM UTC-5, Justin Coon wrote:

 Hi 

 I'm witnessing some odd behavior that I cant explain with 
 AGE_PERFORMANCE_REPORT. The only campaign/AdGroups returning results are 
 CPM, the other campaigns/AdGroups under the same account aren't 
 returning 
 any results. However under the AdWords UI I can see results, so 
 

Re: Can ads be created in advance via API? Mobile App Install campaigns

2015-01-02 Thread Sam
Thank you for the clarification Josh. 

1) Is it planned to support this functionality via the API in the future?

2) Can Ad Objects be created separately without creating a campaign or 
AdGroup via the API? (i.e. create an ad at account level then pull this ad 
into a new campaign/adgroup later using UI since shared library is not 
supported via API yet?) 


On Friday, January 2, 2015 10:16:00 AM UTC-5, Josh Radcliff (AdWords API 
Team) wrote:

 Hi,

 Using the API, ads cannot be shared across campaigns and ad groups. You'll 
 need a separate *Ad* object for each ad group.

 In the UI, you can use shared ads under the *Shared Library* on the left, 
 but this functionality is not supported in the API.

 Cheers,
 Josh, AdWords API Team

 On Wednesday, December 31, 2014 9:46:53 AM UTC-5, Sam wrote:

 I will only be using the API to create and manage Mobile App Install type 
 campaigns (and creating/managing text, image, and video app install ads) 
 for clients. 

 I'm wondering if via the API I can create the template ads listed above 
 in advance (before Campaign or AdGroup)? 

 For Example:

 Client: ABCDE

 Can I create a template ad X and push it to ABCDE's account, then later 
 configure a campaign/adgroup and use ad X that I previously created (tied 
 to ABCDE's account)? Or is the case that each ad must be tied to an AdGroup 
 or Campaign and cannot be tied at the adwords account level?

 Are ads in adwords unique objects that can be created in advance and 
 re-used? (can ad X present in ABCDE's account be re-used in another 
 campaign?)

 (I believe this is the case for Facebook App Install ads for a point of 
 reference)

 If you can point me to any pages on the documentation/sample code that 
 will help with this that would be awesome!

 Thank you and Happy New Year!



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

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


Re: Problem with Adwords Api .NET ClientReport

2015-01-02 Thread chris h
You could switch to using the protocol directly instead of using the client 
library. This is precisely the reason that I don't use the libraries.

On Wednesday, December 31, 2014 7:14:43 AM UTC-5, Αυγερινός Καραλής wrote:

 Hi, 

 I'm using the google adwords.net api (googleads-dotnet-lib 
 https://github.com/googleads/googleads-dotnet-lib) for my application 
 to import data from adwords. The api was working fine untill recently(The 
 clientId, clientsecret, refreshtoken and clientcustomerId are correct).

 The problem is , that now im gettting an exception in the following call : 

 ClientReport report = utilities.GetClientReport(definition);

 I've read that i might need to migrate to a newer version (currently i am 
 on v201402) .
 The problem is that the new version v201409, is built on net framework 4 
 where my application uses 3.5(which needs much work to move to 4).
 My question if indeed this is the issue and if somehow moving to v201409 
 will solve the problem.
 Another possible issue i can think is that the developer token might have 
 expired( 6 months )   if that happens..

 Any help will be greatly appreciated


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

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


Re: Can ads be created in advance via API? Mobile App Install campaigns

2015-01-02 Thread Josh Radcliff (AdWords API Team)
Hi,

Regarding question #1, we're aware that there's some interest in this, but 
we don't have any immediate plans to support shared ads. You may want to 
subscribe to our blog 
http://googleadsdeveloper.blogspot.com/search/label/adwords_api so that 
if and when support is added, you'll know.

For question #2, you cannot create an ad without an ad group, and you need 
a campaign in order to create an ad group.

Cheers,
Josh, AdWords API Team

On Friday, January 2, 2015 2:19:43 PM UTC-5, Sam wrote:

 Thank you for the clarification Josh. 

 1) Is it planned to support this functionality via the API in the future?

 2) Can Ad Objects be created separately without creating a campaign or 
 AdGroup via the API? (i.e. create an ad at account level then pull this ad 
 into a new campaign/adgroup later using UI since shared library is not 
 supported via API yet?) 


 On Friday, January 2, 2015 10:16:00 AM UTC-5, Josh Radcliff (AdWords API 
 Team) wrote:

 Hi,

 Using the API, ads cannot be shared across campaigns and ad groups. 
 You'll need a separate *Ad* object for each ad group.

 In the UI, you can use shared ads under the *Shared Library* on the 
 left, but this functionality is not supported in the API.

 Cheers,
 Josh, AdWords API Team

 On Wednesday, December 31, 2014 9:46:53 AM UTC-5, Sam wrote:

 I will only be using the API to create and manage Mobile App Install 
 type campaigns (and creating/managing text, image, and video app install 
 ads) for clients. 

 I'm wondering if via the API I can create the template ads listed above 
 in advance (before Campaign or AdGroup)? 

 For Example:

 Client: ABCDE

 Can I create a template ad X and push it to ABCDE's account, then later 
 configure a campaign/adgroup and use ad X that I previously created (tied 
 to ABCDE's account)? Or is the case that each ad must be tied to an AdGroup 
 or Campaign and cannot be tied at the adwords account level?

 Are ads in adwords unique objects that can be created in advance and 
 re-used? (can ad X present in ABCDE's account be re-used in another 
 campaign?)

 (I believe this is the case for Facebook App Install ads for a point of 
 reference)

 If you can point me to any pages on the documentation/sample code that 
 will help with this that would be awesome!

 Thank you and Happy New Year!



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

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


Re: Axis doesn't generate TargetingIdea class from WSDL

2015-01-02 Thread Ari
I'm having this same issue in C#. However changing the entriesField to a 
one dimensional array causes Unexpected Internal API errors with Google.

I'm curious to how you changed the entriesField attribute to a 
TargetingIdea from Type_AttributeMapEntry

Where did that come from? Did you define it?

On Friday, March 9, 2012 10:46:01 AM UTC-5, okieb...@gmail.com wrote:

 I appreciate your time and of course the link!  Another step for me to add 
 to my documentation for generating classes from the published wsdl. Perhaps 
 you can have all the affected WSDL's modified upon your next release, to 
 add the 
   element maxOccurs=1 minOccurs=1 name=dummy type=xsd:string  
 xmlns=http://www.w3.org/2001/XMLSchema/
 So AdWords API developers' have one less source of hair loss.
 David

 On Wednesday, March 7, 2012 4:51:13 PM UTC-5, Kevin Winter wrote:

 Hi David,
   Unfortunately, I've never worked with generated classes in DotNet.  It 
 looks like the NoClientLibrary wiki page for the DotNet library mentions 
 this is a known issue: 
 http://code.google.com/p/google-api-adwords-dotnet/wiki/NoClientLibrary#b._wsdl.exe_doesn't_generate_some_types_properly.

 - Kevin Winter
 AdWords API Team

 On Wednesday, March 7, 2012 3:36:58 PM UTC-5, okieb...@gmail.com wrote:

 Kevin,
 Sorry to hijack this thread, but the same problem exists with both 
 wsdl.exe and svcutil.exe for this class generation from the provided wsdl. 
 TargetingService class is not generated and the TargetingIdeaPage 
 references unwrapped definition.  
 As pointed out the TargetingIdeaPage generates:

 System.CodeDom.Compiler.GeneratedCodeAttribute(svcutil, 
 3.0.4506.648),  _
  System.SerializableAttribute(),  _
  System.Diagnostics.DebuggerStepThroughAttribute(),  _
  System.ComponentModel.DesignerCategoryAttribute(code),  _
  System.Xml.Serialization.XmlTypeAttribute([Namespace]:=
 https://adwords.google.com/api/adwords/o/v201109;)  _
 Partial Public Class TargetingIdeaPage
 
 Private totalNumEntriesField As Integer
 
 Private totalNumEntriesFieldSpecified As Boolean
 
 Private entriesField()() As Type_AttributeMapEntry
 
 '''remarks/
 System.Xml.Serialization.XmlElementAttribute(Order:=0)  _
 Public Property totalNumEntries() As Integer
 Get
 Return Me.totalNumEntriesField
 End Get
 Set
 Me.totalNumEntriesField = value
 End Set
 End Property
 
 '''remarks/
 System.Xml.Serialization.XmlIgnoreAttribute()  _
 Public Property totalNumEntriesSpecified() As Boolean
 Get
 Return Me.totalNumEntriesFieldSpecified
 End Get
 Set
 Me.totalNumEntriesFieldSpecified = value
 End Set
 End Property
 
 '''remarks/
 System.Xml.Serialization.XmlArrayAttribute(Order:=1),  _
  System.Xml.Serialization.XmlArrayItemAttribute(data, 
 GetType(Type_AttributeMapEntry), IsNullable:=false)  _
 Public Property entries() As Type_AttributeMapEntry()()
 Get
 Return Me.entriesField
 End Get
 Set
 Me.entriesField = value
 End Set
 End Property
 End Class
 

 Rather than:

 System.CodeDom.Compiler.GeneratedCodeAttribute(wsdl, 
 2.0.50727.1432) _
 System.SerializableAttribute() _
 System.Diagnostics.DebuggerStepThroughAttribute() _
 System.ComponentModel.DesignerCategoryAttribute(code) _
 System.Xml.Serialization.XmlTypeAttribute([Namespace]:=
 https://adwords.google.com/api/adwords/o/v201109;) _
 Partial Public Class TargetingIdeaPage
 Private totalNumEntriesField As Integer

 Private totalNumEntriesFieldSpecified As Boolean

 Private entriesField As TargetingIdea()

 Public Property totalNumEntries() As Integer
 Get
 Return Me.totalNumEntriesField
 End Get
 Set(ByVal value As Integer)
 Me.totalNumEntriesField = value
 Me.totalNumEntriesSpecified = True
 End Set
 End Property

 System.Xml.Serialization.XmlIgnoreAttribute() _
 EditorBrowsable(EditorBrowsableState.Never) _
 Public Property totalNumEntriesSpecified() As Boolean
 Get
 Return Me.totalNumEntriesFieldSpecified
 End Get
 Set(ByVal value As Boolean)
 Me.totalNumEntriesFieldSpecified = value
 End Set
 End Property

 System.Xml.Serialization.XmlElementAttribute(entries) _
 Public Property entries() As TargetingIdea()
 Get
 Return Me.entriesField
 End Get
 Set(ByVal value As TargetingIdea())
 Me.entriesField = value
 End Set
   

Re: Can ads be created in advance via API? Mobile App Install campaigns

2015-01-02 Thread Sam
Great. Thank You.

I'm wondering if you have any suggested solution to my problem. I'm a 
little confused how the flow should be...

Since I won't be able to bulk create ads beforehand and then tie them to 
adgroups/campaigns afterwards is there any way to: create ads via API and 
in that same step/process specify which campaign/adgroup the ad should 
belong to if I have already created campaigns/adgroups (using API) for a 
specific adwords account?

For this I think there must be a way to get a list of all 
campaigns/adgroups associate with an adwords account and then being able to 
push the ad to a specific campaign/adgroup via the API.

Thanks! 


On Friday, January 2, 2015 2:35:01 PM UTC-5, Josh Radcliff (AdWords API 
Team) wrote:

 Hi,

 Regarding question #1, we're aware that there's some interest in this, but 
 we don't have any immediate plans to support shared ads. You may want to 
 subscribe to our blog 
 http://googleadsdeveloper.blogspot.com/search/label/adwords_api so that 
 if and when support is added, you'll know.

 For question #2, you cannot create an ad without an ad group, and you need 
 a campaign in order to create an ad group.

 Cheers,
 Josh, AdWords API Team

 On Friday, January 2, 2015 2:19:43 PM UTC-5, Sam wrote:

 Thank you for the clarification Josh. 

 1) Is it planned to support this functionality via the API in the future?

 2) Can Ad Objects be created separately without creating a campaign or 
 AdGroup via the API? (i.e. create an ad at account level then pull this ad 
 into a new campaign/adgroup later using UI since shared library is not 
 supported via API yet?) 


 On Friday, January 2, 2015 10:16:00 AM UTC-5, Josh Radcliff (AdWords API 
 Team) wrote:

 Hi,

 Using the API, ads cannot be shared across campaigns and ad groups. 
 You'll need a separate *Ad* object for each ad group.

 In the UI, you can use shared ads under the *Shared Library* on the 
 left, but this functionality is not supported in the API.

 Cheers,
 Josh, AdWords API Team

 On Wednesday, December 31, 2014 9:46:53 AM UTC-5, Sam wrote:

 I will only be using the API to create and manage Mobile App Install 
 type campaigns (and creating/managing text, image, and video app install 
 ads) for clients. 

 I'm wondering if via the API I can create the template ads listed above 
 in advance (before Campaign or AdGroup)? 

 For Example:

 Client: ABCDE

 Can I create a template ad X and push it to ABCDE's account, then later 
 configure a campaign/adgroup and use ad X that I previously created (tied 
 to ABCDE's account)? Or is the case that each ad must be tied to an 
 AdGroup 
 or Campaign and cannot be tied at the adwords account level?

 Are ads in adwords unique objects that can be created in advance and 
 re-used? (can ad X present in ABCDE's account be re-used in another 
 campaign?)

 (I believe this is the case for Facebook App Install ads for a point of 
 reference)

 If you can point me to any pages on the documentation/sample code that 
 will help with this that would be awesome!

 Thank you and Happy New Year!



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

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


Re: Can ads be created in advance via API? Mobile App Install campaigns

2015-01-02 Thread Josh Radcliff (AdWords API Team)
Hi,

For an explanation of how to get campaign and adgroup IDs from your ad 
groups, please see the following post from earlier today:

https://groups.google.com/d/msg/adwords-api/B7HQ5ZGzIx8/py-9203QrGgJ

Once you have the ID of the ad group, you can just submit the same 
AdGroupAdService.mutate 
https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupAdService#mutate
 request 
you used for other ad groups, only change the AdGroupAd id 
https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupAdService.AdGroupAd#adGroupId
 to 
the current ad group's ID.

Thanks,
Josh, AdWords API Team

On Friday, January 2, 2015 3:37:58 PM UTC-5, Sam wrote:

 Great. Thank You.

 I'm wondering if you have any suggested solution to my problem. I'm a 
 little confused how the flow should be...

 Since I won't be able to bulk create ads beforehand and then tie them to 
 adgroups/campaigns afterwards is there any way to: create ads via API and 
 in that same step/process specify which campaign/adgroup the ad should 
 belong to if I have already created campaigns/adgroups (using API) for a 
 specific adwords account?

 For this I think there must be a way to get a list of all 
 campaigns/adgroups associate with an adwords account and then being able to 
 push the ad to a specific campaign/adgroup via the API.

 Thanks! 


 On Friday, January 2, 2015 2:35:01 PM UTC-5, Josh Radcliff (AdWords API 
 Team) wrote:

 Hi,

 Regarding question #1, we're aware that there's some interest in this, 
 but we don't have any immediate plans to support shared ads. You may want 
 to subscribe to our blog 
 http://googleadsdeveloper.blogspot.com/search/label/adwords_api so 
 that if and when support is added, you'll know.

 For question #2, you cannot create an ad without an ad group, and you 
 need a campaign in order to create an ad group.

 Cheers,
 Josh, AdWords API Team

 On Friday, January 2, 2015 2:19:43 PM UTC-5, Sam wrote:

 Thank you for the clarification Josh. 

 1) Is it planned to support this functionality via the API in the future?

 2) Can Ad Objects be created separately without creating a campaign or 
 AdGroup via the API? (i.e. create an ad at account level then pull this ad 
 into a new campaign/adgroup later using UI since shared library is not 
 supported via API yet?) 


 On Friday, January 2, 2015 10:16:00 AM UTC-5, Josh Radcliff (AdWords API 
 Team) wrote:

 Hi,

 Using the API, ads cannot be shared across campaigns and ad groups. 
 You'll need a separate *Ad* object for each ad group.

 In the UI, you can use shared ads under the *Shared Library* on the 
 left, but this functionality is not supported in the API.

 Cheers,
 Josh, AdWords API Team

 On Wednesday, December 31, 2014 9:46:53 AM UTC-5, Sam wrote:

 I will only be using the API to create and manage Mobile App Install 
 type campaigns (and creating/managing text, image, and video app install 
 ads) for clients. 

 I'm wondering if via the API I can create the template ads listed 
 above in advance (before Campaign or AdGroup)? 

 For Example:

 Client: ABCDE

 Can I create a template ad X and push it to ABCDE's account, then 
 later configure a campaign/adgroup and use ad X that I previously created 
 (tied to ABCDE's account)? Or is the case that each ad must be tied to an 
 AdGroup or Campaign and cannot be tied at the adwords account level?

 Are ads in adwords unique objects that can be created in advance and 
 re-used? (can ad X present in ABCDE's account be re-used in another 
 campaign?)

 (I believe this is the case for Facebook App Install ads for a point 
 of reference)

 If you can point me to any pages on the documentation/sample code that 
 will help with this that would be awesome!

 Thank you and Happy New Year!



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

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


Re: Axis doesn't generate TargetingIdea class from WSDL

2015-01-02 Thread Josh Radcliff (AdWords API Team)
Hi,

Is there some reason why you aren't using the .NET client library 
https://github.com/googleads/googleads-dotnet-lib? It takes care of 
generating classes from WSDLs for you, and will save you from the headache 
of working with wsdl.exe.

Thanks,
Josh, AdWords API Team

On Friday, January 2, 2015 2:44:14 PM UTC-5, Ari wrote:

 I'm having this same issue in C#. However changing the entriesField to a 
 one dimensional array causes Unexpected Internal API errors with Google.

 I'm curious to how you changed the entriesField attribute to a 
 TargetingIdea from Type_AttributeMapEntry

 Where did that come from? Did you define it?

 On Friday, March 9, 2012 10:46:01 AM UTC-5, okieb...@gmail.com wrote:

 I appreciate your time and of course the link!  Another step for me to 
 add to my documentation for generating classes from the published wsdl. 
 Perhaps you can have all the affected WSDL's modified upon your next 
 release, to add the 
   element maxOccurs=1 minOccurs=1 name=dummy type=xsd:string  
 xmlns=http://www.w3.org/2001/XMLSchema/
 So AdWords API developers' have one less source of hair loss.
 David

 On Wednesday, March 7, 2012 4:51:13 PM UTC-5, Kevin Winter wrote:

 Hi David,
   Unfortunately, I've never worked with generated classes in DotNet.  It 
 looks like the NoClientLibrary wiki page for the DotNet library mentions 
 this is a known issue: 
 http://code.google.com/p/google-api-adwords-dotnet/wiki/NoClientLibrary#b._wsdl.exe_doesn't_generate_some_types_properly.

 - Kevin Winter
 AdWords API Team

 On Wednesday, March 7, 2012 3:36:58 PM UTC-5, okieb...@gmail.com wrote:

 Kevin,
 Sorry to hijack this thread, but the same problem exists with both 
 wsdl.exe and svcutil.exe for this class generation from the provided wsdl. 
 TargetingService class is not generated and the TargetingIdeaPage 
 references unwrapped definition.  
 As pointed out the TargetingIdeaPage generates:

 System.CodeDom.Compiler.GeneratedCodeAttribute(svcutil, 
 3.0.4506.648),  _
  System.SerializableAttribute(),  _
  System.Diagnostics.DebuggerStepThroughAttribute(),  _
  System.ComponentModel.DesignerCategoryAttribute(code),  _
  System.Xml.Serialization.XmlTypeAttribute([Namespace]:=
 https://adwords.google.com/api/adwords/o/v201109;)  _
 Partial Public Class TargetingIdeaPage
 
 Private totalNumEntriesField As Integer
 
 Private totalNumEntriesFieldSpecified As Boolean
 
 Private entriesField()() As Type_AttributeMapEntry
 
 '''remarks/
 System.Xml.Serialization.XmlElementAttribute(Order:=0)  _
 Public Property totalNumEntries() As Integer
 Get
 Return Me.totalNumEntriesField
 End Get
 Set
 Me.totalNumEntriesField = value
 End Set
 End Property
 
 '''remarks/
 System.Xml.Serialization.XmlIgnoreAttribute()  _
 Public Property totalNumEntriesSpecified() As Boolean
 Get
 Return Me.totalNumEntriesFieldSpecified
 End Get
 Set
 Me.totalNumEntriesFieldSpecified = value
 End Set
 End Property
 
 '''remarks/
 System.Xml.Serialization.XmlArrayAttribute(Order:=1),  _
  System.Xml.Serialization.XmlArrayItemAttribute(data, 
 GetType(Type_AttributeMapEntry), IsNullable:=false)  _
 Public Property entries() As Type_AttributeMapEntry()()
 Get
 Return Me.entriesField
 End Get
 Set
 Me.entriesField = value
 End Set
 End Property
 End Class
 

 Rather than:

 System.CodeDom.Compiler.GeneratedCodeAttribute(wsdl, 
 2.0.50727.1432) _
 System.SerializableAttribute() _
 System.Diagnostics.DebuggerStepThroughAttribute() _
 System.ComponentModel.DesignerCategoryAttribute(code) _
 System.Xml.Serialization.XmlTypeAttribute([Namespace]:=
 https://adwords.google.com/api/adwords/o/v201109;) _
 Partial Public Class TargetingIdeaPage
 Private totalNumEntriesField As Integer

 Private totalNumEntriesFieldSpecified As Boolean

 Private entriesField As TargetingIdea()

 Public Property totalNumEntries() As Integer
 Get
 Return Me.totalNumEntriesField
 End Get
 Set(ByVal value As Integer)
 Me.totalNumEntriesField = value
 Me.totalNumEntriesSpecified = True
 End Set
 End Property

 System.Xml.Serialization.XmlIgnoreAttribute() _
 EditorBrowsable(EditorBrowsableState.Never) _
 Public Property totalNumEntriesSpecified() As Boolean
 Get
 Return Me.totalNumEntriesFieldSpecified
 End Get
 Set(ByVal value As Boolean)
 Me.totalNumEntriesFieldSpecified = value
 End 

Re: KEYWORDS_PERFORMANCE_REPORT bounce rate issue

2015-01-02 Thread khalid . m
Thanks a lot. This solution solved my problem :D

On Friday, January 2, 2015 8:10:25 PM UTC+5, Josh Radcliff (AdWords API 
Team) wrote:

 Hi,

 The *BounceRate* field returns a percentage, so valid values are between 
 *0* and *1*. Have you tried changing the *values* to 0.8 for 80% 
 instead?

 Thanks,
 Josh, AdWords API Team

 On Friday, January 2, 2015 8:18:16 AM UTC-5, khal...@dprodigy.com wrote:

 Hi all,

 I am downloading KEYWORDS_PERFORMANCE_REPORT using .net client libraries 
 of google adwords by using following predicate and selectors.

 var selector = new Selector { fields = new[] { Id, KeywordText, 
 AdGroupId, AdGroupName, CampaignId, CampaignName, Clicks, 
 Conversions, KeywordMatchType, BounceRate } };

 var predicate = new Predicate
 {
 field = BounceRate,
 @operator = PredicateOperator.GREATER_THAN_EQUALS,
 values = new [] { 80 }
 };
 var predicate1 = new Predicate
 {
 field = Status,
 @operator = PredicateOperator.NOT_EQUALS,
 values = new[] { REMOVED }
 };
 var predicate2 = new Predicate
 {
 field = IsNegative,
 @operator = PredicateOperator.EQUALS,
 values = new[] { FALSE }
 };

 Whenever I try to download report using above predicates it gives 
 SelectorError.INVALID_PREDICATE_OPERATOR error. But when i change 
 BounceRate predicate to following then it downloads data successfully

 var predicate = new Predicate
 {
 field = BounceRate,
 @operator = PredicateOperator.LESS_THAN_EQUALS,
 values = new [] { 80 }
 };

 Whats wrong with my predicate??? I am wondering why google api throws 
 exception. Even when I try to download report using 
 PredicateOperator.GREATER_THAN then it does not throw exception but no data 
 available in the report.

 Even all these operator works correctly if i use Clicks field in 
 predicate then what is the issue with BounceRate field.

 I want to download keyword performance report for only those keywords 
 whose bounce rate is greater than 80%.

 Can anyone help me on this!



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

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