Getting a second token with readonly access

2017-09-12 Thread Assaf Frank
Hi,

We currently have a standard token (read/write) but would like to offer a 
service to customers that only requires read access.
We would like to display the "grant access"  message to the users that we 
would like access to "read" only and not to fully manage their accounts (I 
understand this message is according to the token access).

Is there a way to as for ready only access from the user - even if the 
token has full read/write access?
If not, can we under the same Manager ID get a second token with only read 
access for this purpose?

Thanks,

Assaf

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

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


Re: Reaching Time Lag and other Attribution reports

2016-03-21 Thread assaf
Thank you.

On Monday, March 21, 2016 at 5:03:27 PM UTC+2, Yin Niu wrote:
>
> Hello, 
>
> This is not supported. Please see supported report types 
> . 
>
> For new features and new releases, Please refer to the AdWords API blog 
>  for any updates or 
> announcements. 
>
> Thanks,
> Yin, AdWords API Team. 
>

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

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


Re: Performance issue with ACCOUNT_PERFORMANCE_REPORT

2016-01-06 Thread Assaf Frank
I would like to add that these reports* ran OK up to a couple of days ago.*
Now the same reports seem to be taking too much time so we get an exception 
- com.google.api.ads.adwords.lib.utils.ReportException: Problem sending 
data to report download server

Is there currently an issue with the reporting on large accounts causing 
the report to fail?

Thanks.

On Wednesday, January 6, 2016 at 9:59:14 AM UTC+2, di...@easyleads.com 
wrote:
>
> Hi,
>
> We encounter a heavy performance issue with ACCOUNT_PERFORMANCE_REPORT on 
> one of our accounts. 
>
> We understand that the query isn't the simplest in terms of complexity, 
> but the response time is reasonable for several hundreds of accounts we 
> tested.
>
> Query 1 (last year): SELECT Device, AdNetworkType1, Date, Impressions, 
> Clicks, Cost, ConvertedClicks, AveragePosition, SearchImpressionShare, 
> ContentImpressionShare FROM ACCOUNT_PERFORMANCE_REPORT DURING 20150101, 
> 20151231
> Result on the problematic account: 1095 rows retrieved in 21.8 seconds (
> *21.164* seconds spent on the google api call)
> Result on one of other accounts: 1095 rows retrieved in 3.49 seconds (
> *2.79* seconds spent on the google api call)
>
> Query 2 (all time): SELECT Device, AdNetworkType1, Date, Impressions, 
> Clicks, Cost, ConvertedClicks, AveragePosition, SearchImpressionShare, 
> ContentImpressionShare FROM ACCOUNT_PERFORMANCE_REPORT DURING 20001101, 
> 20160106
> Result on the problematic account: 5436 rows retrieved in 42.204 seconds (
> *40.967* seconds spent on the google api call)
> Result on one of other accounts: 11013 rows retrieved in 6.543 seconds (
> *4.604* seconds spent on the google api call)
>
> What could be the reason?
>
> Thanks
>

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

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


Re: Large number of 'Problem sending data to report download server.' errors

2016-01-06 Thread Assaf Frank
Hi Anash,

This same issue is happening since yesterday.
We have a few large clients that their  account performance report with 
several segments (date/device) is causing time out and failing.
The same reports worked fine up to yesterday.
We are using Java to fetch the reports.

Is there any know issue at the moment?

Thanks,

Assaf

On Friday, August 22, 2014 at 10:07:33 PM UTC+3, Anash P. Oommen (AdWords 
API Team) wrote:
>
> Hi,
>
> We had some issues with our reporting server yesterday, that should be the 
> cause for the errors you were seeing. This has been fixed at our end, your 
> code should work fine now.
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor.
>
> On Thursday, August 21, 2014 8:00:44 PM UTC-4, mm wrote:
>>
>> Hey guys -
>> This afternoon we started seeing a large number of these errors, across 
>> multiple accounts in our production environment. They seem to resolve 
>> themselves with a lot of wait/retry-ing, but in some cases that is taking 
>> as much as 30 mins. These are all just reports for today's performance 
>> data, so the reports are generally of reasonable size.  Is there any other 
>> way to handle these besides wait/retry? 
>>
>> 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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/98434199-6346-472b-88ce-1e66fb95e3b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Adding subdomain to OAuth valid redirect urls

2015-10-28 Thread assaf
Thanks, we did it and seems to work. I thought that adding a new client 
will require to pass the approval process for developer token again.

On Monday, October 26, 2015 at 7:54:05 PM UTC+2, Josh Radcliff (AdWords API 
Team) wrote:
>
> Hi,
>
> The flow you described sounds like a *Web application* flow to me, rather 
> than an *Other/Native application* flow. The *Web* flow will allow you to 
> enter multiple redirect URIs, as you noted.
>
> I'd recommend switching over to the *Web application* client ID and 
> secret, then adding all required redirect URIs to that application.
>
> Cheers,
> Josh, AdWords API Team
>
> On Sunday, October 25, 2015 at 12:07:28 PM UTC-4, assaf wrote:
>>
>> Hi,
>>
>> We have a developer token with enabled Adwords API. Recently we decided 
>> to allow customers to authorize using the OAuth protocol. It's working fine 
>> when in the redirect_uri we specify is http://ourdomain.com or 
>> http://localhost, but fails on http://app.ourdomain.com
>>
>> *400.* That’s an error.
>>
>> *Error: redirect_uri_mismatch*
>>
>> A native application: *xxx*
>>
>> You can email the developer of this application at: yyy
>> Request Details
>>
>>- access_type=offline
>>- approval_prompt=force
>>- hl=en
>>- scope=https://www.googleapis.com/auth/adwords
>>- response_type=code
>>- redirect_uri=http://app.ourdomain.com
>>- client_id=zzz
>>
>> That’s all we know.
>>
>> As far as we understand this uri (subdomain) should be authorized 
>> somewhere in the Developers Console, but we don't see this option. Just for 
>> test purposes we created a new Client of type Web Application and it indeed 
>> has a section called Authorized redirect URIs, but it's missing in the our 
>> original Client which is of type Other.
>>
>> How can we solve this while preserving all the permissions we have in the 
>> original client? Should we migrate it from Other to Web application?
>>
>> 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/faef5325-1069-42c4-b9c9-7e7ed80baa7f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Adding subdomain to OAuth valid redirect urls

2015-10-25 Thread assaf
Hi,

We have a developer token with enabled Adwords API. Recently we decided to 
allow customers to authorize using the OAuth protocol. It's working fine 
when in the redirect_uri we specify is http://ourdomain.com or 
http://localhost, but fails on http://app.ourdomain.com

*400.* That’s an error.

*Error: redirect_uri_mismatch*

A native application: *xxx*

You can email the developer of this application at: yyy
Request Details

   - access_type=offline
   - approval_prompt=force
   - hl=en
   - scope=https://www.googleapis.com/auth/adwords
   - response_type=code
   - redirect_uri=http://app.ourdomain.com
   - client_id=zzz
   
That’s all we know.

As far as we understand this uri (subdomain) should be authorized somewhere 
in the Developers Console, but we don't see this option. Just for test 
purposes we created a new Client of type Web Application and it indeed has 
a section called Authorized redirect URIs, but it's missing in the our 
original Client which is of type Other.

How can we solve this while preserving all the permissions we have in the 
original client? Should we migrate it from Other to Web application?

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/b00fe79d-782e-428a-a4c9-c91fdbed8e7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Exception downloading Performance Report with java

2015-08-20 Thread Assaf Frank
Hi Anash,

Is there anyway to use the AccountPerformaceReport (or any other report) to 
get statistics for each account (1 row per account) under my MCC account?

Many thanks,



On Monday, February 4, 2013 at 9:40:19 AM UTC+2, Anash P. Oommen (AdWords 
API Team) wrote:
>
> Hi Adrian,
>
> When setting String Cid = "XXX-XXX-"; is this an advertiser account's 
> CID or an MCC account's CID? From the error it looks like you are setting 
> an MCC account CID here.
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor.
>
> On Wednesday, January 30, 2013 10:12:20 PM UTC+5:30, Adrian Castro Solís 
> wrote:
>>
>> Hi
>>
>> Im having this error in my java code, when I trying to download an adhoc 
>> report...  This is exception:
>>
>> Report was not downloaded. 400: HTTP code: 400, type: 
>> "ReportDefinitionError.CUSTOMER_SERVING_TYPE_REPORT_MISMATCH", trigger: "", 
>> fieldPath: ""
>>
>> This is the java code
>>
>>
>>
>> import com.google.api.adwords.lib.AdWordsServiceLogger;
>>
>> import com.google.api.adwords.lib.AdWordsUser;
>>
>> import com.google.api.adwords.lib.AuthToken;
>>
>> import com.google.api.adwords.lib.utils.v201209.ReportDownloadResponse;
>>
>> import com.google.api.adwords.lib.utils.v201209.ReportUtils;
>>
>> import com.google.api.adwords.v201209.jaxb.cm.DownloadFormat;
>>
>> import com.google.api.adwords.v201209.jaxb.cm.ReportDefinition;
>>
>> import 
>> com.google.api.adwords.v201209.jaxb.cm.ReportDefinitionDateRangeType;
>>
>> import com.google.api.adwords.v201209.jaxb.cm.ReportDefinitionReportType;
>>
>> import com.google.api.adwords.v201209.jaxb.cm.Selector;
>>
>>
>> import java.io.File;
>>
>> import java.io.FileOutputStream;
>>
>> import java.net.HttpURLConnection;
>>
>> import java.util.List;
>>
>>
>> public class AddMccReportDefinition {
>>
>>   public static void main(String[] args) {
>>
>> try {
>>
>> String email = "xxx...@mail.com";
>>
>> String password = "";
>>
>> String userAgent = "mycompany.com";
>>
>> String developerToken = "";
>>
>> String Cid = "XXX-XXX-";
>>
>>   // Log SOAP XML request and response.
>>
>>   AdWordsServiceLogger.log();
>>
>>
>>   // Get AdWordsUser from "~/adwords.properties".
>>
>>   AdWordsUser user = new AdWordsUser(email, password, Cid, 
>> userAgent, developerToken);
>>
>>   // Location to download report to.
>>
>>   String reportFile = "report.csv";
>>
>>
>>   // Create selector.
>>
>>   Selector selector = new Selector();
>>
>>   List fields = selector.getFields();
>>
>>   fields.add("AdGroupId");
>>
>>   fields.add("Id");
>>
>>   fields.add("KeywordText");
>>
>>   fields.add("KeywordMatchType");
>>
>>   fields.add("Impressions");
>>
>>   fields.add("Clicks");
>>
>>   fields.add("Cost");
>>
>>
>>   // Create report definition.
>>
>>   ReportDefinition reportDefinition = new ReportDefinition();
>>
>>   reportDefinition.setReportName("Keywords performance report #" + 
>> System.currentTimeMillis());
>>
>>   reportDefinition.setDateRangeType(ReportDefinitionDateRangeType.
>> LAST_30_DAYS );
>>
>>   reportDefinition.setReportType(ReportDefinitionReportType.
>> ACCOUNT_PERFORMANCE_REPORT);
>>
>>   reportDefinition.setDownloadFormat(DownloadFormat.CSV);
>>
>>   reportDefinition.setIncludeZeroImpressions(false);
>>
>>   reportDefinition.setSelector(selector);
>>
>>
>>   
>>
>>   FileOutputStream fos = new FileOutputStream(new File(reportFile));
>>
>>   
>>
>>  
>>
>>   ReportDownloadResponse response = ReportUtils.downloadReport( user 
>> , reportDefinition, fos);
>>
>>   
>>
>>   if (response.getHttpStatus() == HttpURLConnection.HTTP_OK) {
>>
>> System.out.println("Report successfully downloaded: " + 
>> reportFile);
>>
>>   } else {
>>
>> System.out.println("Report was not downloaded. " + 
>> response.getHttpStatus() + ": "
>>
>> + response.getHttpResponseMessage());
>>
>>   }
>>
>> } catch (Exception e) {
>>
>>   e.printStackTrace();
>>
>> }
>>
>>   }
>>
>> }
>>
>>

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

Error during creation of ads - CANNOT_SET_FIELD - URL - V201502

2015-07-14 Thread Assaf Frank
Hi,

My creation of ads *worked properly a week ago and now *, for some reason, 
I can't create ads.
Is this due to the last changed in upgraded URLs etc ?

I do set all parameters -

AdWordsServices adwordsServices = new AdWordsServices();
// Get the CampaignService.
AdGroupAdServiceInterface adGroupAdService = 
adwordsServices.get(session, AdGroupAdServiceInterface.class);
 
 long adGroupId = Long.parseLong(pAdGroupID);

 // Create ad group ad.
  AdGroupAd textAdGroupAd = new AdGroupAd();
  textAdGroupAd.setAdGroupId(adGroupId);
 
  textAdGroupAd.setStatus(pStatus);
  
  TextAd textAd = new TextAd();
  textAd.setHeadline(pHeadline);
  textAd.setDescription1(pDescription1);
  textAd.setDescription2(pDescription2);
  textAd.setDisplayUrl(pDisplayURL);
  textAd.setUrl(pURL);
 
  textAdGroupAd.setAd(textAd);

  // Create operations.
  AdGroupAdOperation textAdGroupAdOperation = new AdGroupAdOperation();
  textAdGroupAdOperation.setOperand(textAdGroupAd); 
 textAdGroupAdOperation.setOperator(Operator.ADD);

  AdGroupAdOperation[] operations = new AdGroupAdOperation[] 
{textAdGroupAdOperation};   
  // Add ads.
  AdGroupAdReturnValue result = adGroupAdService.mutate(operations);

The error I get is: 

faultString: [AdError.CANNOT_SET_FIELD @ operations[0].operand.ad.url]
 faultActor: 
 faultNode: 
 faultDetail: 
{https://adwords.google.com/api/adwords/cm/v201502}ApiExceptionFault:[AdError.CANNOT_SET_FIELD
 
@ 
operations[0].operand.ad.url]ApiExceptionhttp://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="AdError">operations[0].operand.ad.urlAdError.CANNOT_SET_FIELDAdErrorCANNOT_SET_FIELD

[AdError.CANNOT_SET_FIELD @ operations[0].operand.ad.url]

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/273407b1-9588-4c67-bcbd-4cb043caead7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: MutateJobService and UNDO option is adwords web UI

2015-03-19 Thread assaf
Hi Daniel,

Thanks for pointing this out. I Could not find any reference there to 
MutateJobService and it's affects regarding Undo.
I understand not all operations can have the Undo option.
I was just wondering if it is connected to the usage of MutateJobService 
rather than the operation itself and if the API
can generate actions the will allow a "group" Undo in the UI.

I would greatly appreciate a clarification regarding this.

Thanks.,

Assaf

On Thursday, March 19, 2015 at 3:25:34 PM UTC+2, Danial Klimkin wrote:
>
> Hello Assaf,
>
>
> Please check with the general AdWords support on the UI features:
>
>   https://support.google.com/adwords/?hl=en
>
>
> -Danial, AdWords API Team.
>
>
> On Thursday, March 19, 2015 at 3:27:42 PM UTC+3, assaf wrote:
>>
>> Hi,
>>
>> I started using MutateJobService for creating negative criterian on 
>> Campaign level and noticed that
>> there is no UNDO option in the adwords "View Change History" section.
>>
>> I do see that other operations via API do have undo.
>>
>> 1. Does MutateJobService support undo via web UI (just like changing bids 
>> for instance using individual API calls) ?
>> 2. Is there any way to perform API changes and have a single UNDO option 
>> in the web UI for those API changes (just like if I choose to update
>>the bids of many keywords by checking several checkboxes and pressing 
>> edit-> "Change max CPC Bids") ?
>>
>> Thanks,
>>
>> Assaf
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/99e10604-3a83-4bd2-a1dc-5f2fde8316f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


MutateJobService and UNDO option is adwords web UI

2015-03-19 Thread assaf
Hi,

I started using MutateJobService for creating negative criterian on 
Campaign level and noticed that
there is no UNDO option in the adwords "View Change History" section.

I do see that other operations via API do have undo.

1. Does MutateJobService support undo via web UI (just like changing bids 
for instance using individual API calls) ?
2. Is there any way to perform API changes and have a single UNDO option in 
the web UI for those API changes (just like if I choose to update
   the bids of many keywords by checking several checkboxes and pressing 
edit-> "Change max CPC Bids") ?

Thanks,

Assaf

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fa8e6ecb-dbea-4b96-80a3-139c4492eeb2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Notification Account Changes via API

2015-01-19 Thread assaf
OK, I see the data is limited and I can get only the IDs of changed objects 
(I see the example GetAccountChanges.java).

Is there any what to know who performed the change?

Thanks,

Assaf

בתאריך יום שני, 19 בינואר 2015 בשעה 11:56:18 UTC+2, מאת assaf:
>
> Hi Onash,
>
> Thanks for the quick answer. A couple of followup questions:
>
> 1. Why can't I find the Selector fields for CustomerSyncService as in 
> other services in - 
> 
> https://developers.google.com/adwords/api/docs/appendix/selectorfields#v201409
> ?
>
> 2. This service only returns what object have changed but not *what *has 
> changed in them (budget/bidding/status etc.) ?
>
> Thank you.
>
> Assaf
>
> On Monday, January 19, 2015 at 8:14:01 AM UTC+2, Anash P. Oommen (AdWords 
> API Team) wrote:
>>
>> Hi Assaf,
>>
>> Unfortunately, neither of these features exist in AdWords API right now. 
>> The closest you can get is to make a call to CustomerSyncService to get 
>> details about the list of objects that changed after a given timestamp. See 
>> https://developers.google.com/adwords/api/docs/reference/v201409/CustomerSyncService
>>  
>> for details.
>>
>> Cheers,
>> Anash P. Oommen,
>> AdWords API Advisor.
>>
>> On Sunday, January 18, 2015 at 7:18:53 PM UTC+5:30, assaf wrote:
>>>
>>> Hi ,
>>>
>>> I would like to identify via API when an account had changes performed 
>>> in it (via Web interface for example).
>>>
>>> 1. Is there any notification service I can register to and get alerted 
>>> when these occur?
>>> 2. Any plans to expose the "Change History" report via API ?
>>>
>>> Thanks,
>>>
>>> Assaf
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6d168eaa-c7ed-4dc8-84d9-086cd4984843%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Notification Account Changes via API

2015-01-19 Thread assaf
Hi Onash,

Thanks for the quick answer. A couple of followup questions:

1. Why can't I find the Selector fields for CustomerSyncService as in other 
services in - 

https://developers.google.com/adwords/api/docs/appendix/selectorfields#v201409
?

2. This service only returns what object have changed but not *what *has 
changed in them (budget/bidding/status etc.) ?

Thank you.

Assaf

On Monday, January 19, 2015 at 8:14:01 AM UTC+2, Anash P. Oommen (AdWords 
API Team) wrote:
>
> Hi Assaf,
>
> Unfortunately, neither of these features exist in AdWords API right now. 
> The closest you can get is to make a call to CustomerSyncService to get 
> details about the list of objects that changed after a given timestamp. See 
> https://developers.google.com/adwords/api/docs/reference/v201409/CustomerSyncService
>  
> for details.
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor.
>
> On Sunday, January 18, 2015 at 7:18:53 PM UTC+5:30, assaf wrote:
>>
>> Hi ,
>>
>> I would like to identify via API when an account had changes performed in 
>> it (via Web interface for example).
>>
>> 1. Is there any notification service I can register to and get alerted 
>> when these occur?
>> 2. Any plans to expose the "Change History" report via API ?
>>
>> Thanks,
>>
>> Assaf
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/47c51874-671c-49e7-b433-7029666d27e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Notification Account Changes via API

2015-01-18 Thread assaf
Hi ,

I would like to identify via API when an account had changes performed in 
it (via Web interface for example).

1. Is there any notification service I can register to and get alerted when 
these occur?
2. Any plans to expose the "Change History" report via API ?

Thanks,

Assaf

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/49aac219-d0f0-402b-b370-e21a8d2d6dc0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Some help in getting of SiteLinks

2015-01-10 Thread assaf
Hi,

I followed closely with the AddSiteLinks /UpdateSiteLinks examples but 
still have an issue fully implementing getting campaign site links.
1. FeedMappingServiceInterface - Create Map for each FeedMappingID and it's 
placeholder type.
2. FeedItemServiceInterface - Created a list of FeedItemID (called 
siteLinkItemIDs) that their feedMappingID is of placeholder type 1 (from 
the Map in #1)
3. CampaignFeedServiceInterface - got the Feed ID and matching Function. -> 
here I got stuck - not sure how to user the Matching function to
   get the actual site link details .

Is there any example for the "get" implementation? 

Help is greatly appreciated.

This is how far I got:

   Function f = campaignFeed.getMatchingFunction(); // 
this is from campaignFeedService
 
   RequestContextOperand requestContextOperand = new 
RequestContextOperand();
   
 
requestContextOperand.setContextType(RequestContextOperandContextType.FEED_ITEM_ID);

Function feedItemFunction = new Function();
feedItemFunction.setLhsOperand(new FunctionArgumentOperand[] 
{requestContextOperand});
feedItemFunction.setOperator(FunctionOperator.IN);

List operands = new 
ArrayList();
for (long feedItemId : siteLinkItemIDs) {
  ConstantOperand constantOperand = new ConstantOperand();
  constantOperand.setLongValue(feedItemId);
  constantOperand.setType(ConstantOperandConstantType.LONG);
  operands.add(constantOperand);
}
feedItemFunction.setRhsOperand(operands.toArray(new 
FunctionArgumentOperand[operands.size()])); 
FunctionOperand feedItemFunctionOperand = new 
FunctionOperand();
feedItemFunctionOperand.setValue(feedItemFunction);

Function combinedFunction = new Function();
combinedFunction.setOperator(FunctionOperator.AND);
combinedFunction.setLhsOperand(
new FunctionArgumentOperand[] {feedItemFunctionOperand});

CampaignFeed campaignFeed2 = new CampaignFeed();
campaignFeed2.setFeedId(feedId);
campaignFeed2.setCampaignId(campaignId);
campaignFeed2.setMatchingFunction(combinedFunction);
campaignFeed2.setPlaceholderTypes(new int[] 
{PLACEHOLDER_SITELINKS});

CampaignFeedOperation operation = new CampaignFeedOperation();
operation.setOperand(campaignFeed2);
operation.setOperator(Operator.ADD);


Thanks for any help.

Assaf

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/42456bbd-0652-46cb-8c48-5dc87b69c88a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


API report for fetching account's "View Change History"

2014-12-17 Thread assaf
Hi,

I was wondering if there is anyway to get via API 
all the changes that are listed in the web interface under "View Change 
History" link?

Many Thanks,

Assaf

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0e145a1b-b178-400d-9997-b67d4e128693%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Need to Change email address of my API Account

2014-12-05 Thread assaf
Hi,

But what if I must delete (or revoke access from my current gmail to the 
MCC) -
Meaning - I wish to add an additional email with administrative access 
rights to my MCC.
Once I have done this I wish to revoke access from my original email access 
- the one my developer token was approved.
Once I did this my API call stopped working and got an Exception (I think 
it was No AD permission or something like this).

Thanks,

Assaf

On Thursday, September 13, 2012 5:47:24 PM UTC+3, Kevin Winter wrote:
>
> Hi,
>   This won't affect your API access.  The developer token is tied to the 
> MCC account, which itself can have multiple logins.
>
> - Kevin Winter
> AdWords API Team
>
> On Tuesday, September 11, 2012 7:31:39 PM UTC-4, tuco salamanca wrote:
>>
>> Hi,
>>
>> Due to moving the domain I had my MCC account registered to with to 
>> Google Apps, I now need to select a new email address for the account that 
>> has API access. Currently using a Google temp address.
>>
>> Can someone confirm that changing the address on my account won't affect 
>> my already-approved API access?
>>
>> 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/b749f8c8-ca27-42ba-8e22-f49f41d744a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Not all Keyword returned by AdGroupCriterionServiceInterface

2014-11-18 Thread assaf
Hi Josh,

I have 2 predicates - for Status (Paused and Enabled) and according to 
AdgroupIDs.
The keywords missing are enabled and belong to the specific adgroup.

for Example -

AdgroupID = 7062803524

I don't have the IDs of missing keywords but at the moment the API returns 
only *16 *keywords while in Web interface there are *34.*

*I Say at the moment because* that last time I checked (over the past 
weekend) this adgroup was missing only 3 keywords and now this number got 
greater.
I also see now that missing keyword in another adgroup are "back" now and 
the number is the same (API vs. Web interface).
*No Code changes were done in this period to explain the change in numbers.*


On Monday, November 17, 2014 6:13:55 PM UTC+2, Josh Radcliff (AdWords API 
Team) wrote:
>
> Hi,
>
> Do you have any filters/predicates defined in your *Selector*, e.g., 
> filters on the criterion's status?
>
> If that doesn't explain the behavior, please send along the AdGroup ID and 
> the IDs of the missing criteria.
>
> Thanks,
> Josh, AdWords API Team
>
> On Saturday, November 15, 2014 1:06:32 PM UTC-5, assaf wrote:
>>
>> Hi,
>>
>> I witness strange behavior that the  AdGroupCriterionServiceInterface 
>> does not return all the keywords defined under certain adgroups.
>> This happened in a certain account for 2 different adgroups.
>> I thought it might be some kind of paging issue (too many adgroups or 
>> keywords) but added a few other keywords as well and these
>> were returned just fine.
>>
>> Any specific reason why this can happen?
>>
>> I appreciate any input on the matter,
>>
>> 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/285d29d7-d6d9-45d4-84dc-028a22c11f38%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Not all Keyword returned by AdGroupCriterionServiceInterface

2014-11-15 Thread assaf
Hi,

I witness strange behavior that the  AdGroupCriterionServiceInterface does 
not return all the keywords defined under certain adgroups.
This happened in a certain account for 2 different adgroups.
I thought it might be some kind of paging issue (too many adgroups or 
keywords) but added a few other keywords as well and these
were returned just fine.

Any specific reason why this can happen?

I appreciate any input on the matter,

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/257f37d8-7cd9-43fb-b195-8f85d143d539%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Creating MCC Accounts via API

2014-08-22 Thread assaf
Hi Anash,

Is there any way to achieve what I am looking for:

Via API to create an account and be able to execute API calls on it using 
my MCC developer token?
(I need the new account to appear under my MCC managed accounts).

Thanks

On Friday, August 22, 2014 7:33:46 PM UTC+3, Anash P. Oommen (AdWords API 
Team) wrote:
>
> Hi Assaf,
>
> 1. You can only create normal advertiser accounts using AdWords API, you 
> cannot create an MCC account using ManagedCustomerService.
> 2. The login credentials you are using may not be authorized to create an 
> account in your MCC (e.g. it may not have administrative rights).
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor.
>
> On Friday, August 22, 2014 11:25:24 AM UTC-4, assaf wrote:
>>
>> Hi,
>>
>> I want to create new Accounts under my MCC.
>>
>> I just tried to execute the sample code CreateAccount and get  an error - 
>> ManagedCustomerServiceError.NOT_AUTHORIZED
>>
>> What can be the issue?
>>
>> Thanks
>>
>>  faultString: [ManagedCustomerServiceError.NOT_AUTHORIZED @ operations[0]]
>>  faultActor: 
>>  faultNode: 
>>  faultDetail: 
>> {https://adwords.google.com/api/adwords/mcm/v201406}ApiExceptionFault:[ManagedCustomerServiceError.NOT_AUTHORIZED
>>  
>> @ 
>> operations[0]]ApiException>  
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
>> xsi:type="ManagedCustomerServiceError">operations[0]ManagedCustomerServiceError.NOT_AUTHORIZEDManagedCustomerServiceErrorNOT_AUTHORIZED
>>
>> [ManagedCustomerServiceError.NOT_AUTHORIZED @ operations[0]]
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6e4ea592-e879-4b24-b5fb-35aa1593dad7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Creating MCC Accounts via API

2014-08-22 Thread assaf
Hi,

I want to create new Accounts under my MCC.

I just tried to execute the sample code CreateAccount and get  an error - 
ManagedCustomerServiceError.NOT_AUTHORIZED

What can be the issue?

Thanks

 faultString: [ManagedCustomerServiceError.NOT_AUTHORIZED @ operations[0]]
 faultActor: 
 faultNode: 
 faultDetail: 
{https://adwords.google.com/api/adwords/mcm/v201406}ApiExceptionFault:[ManagedCustomerServiceError.NOT_AUTHORIZED
 
@ 
operations[0]]ApiExceptionhttp://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="ManagedCustomerServiceError">operations[0]ManagedCustomerServiceError.NOT_AUTHORIZEDManagedCustomerServiceErrorNOT_AUTHORIZED

[ManagedCustomerServiceError.NOT_AUTHORIZED @ operations[0]]

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e231cfda-c2fb-42c3-8f35-585fdd1d6008%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Javascript API in sandbox

2014-08-14 Thread Assaf Magen
Hi,

Got it, thanks for your reply.

Assaf


On Thu, Aug 14, 2014 at 4:20 PM, Anash P. Oommen (AdWords API Team) <
adwordsapiadvisor+an...@google.com> wrote:

> Hi Assaf,
>
> AdWords API is a SOAP API, and doesn't have a Javascript client. It would
> be difficult to do a pure client-side JS implementation, due to the same
> origin policies
> <https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy>
> enforced by modern browsers. You should explore using a server-based
> technology (we support client libraries
> <https://developers.google.com/adwords/api/docs/clientlibraries> in
> multiple languages) or use AdWords Scripts instead.
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor.
>
> On Thursday, August 14, 2014 1:06:31 AM UTC-4, Assaf Magen wrote:
>>
>> Hi,
>>
>> I'm referring to SOAP based AdWords API
>>
>> thanks
>> Assaf
>>
>>
>> On Wed, Aug 13, 2014 at 8:30 PM, Ray Tsang (AdWords API Team) <
>> adwordsapiadvisor+...@google.com> wrote:
>>
>>> Assaf,
>>>
>>> Are you referring to AdWords script, or AdWords API (SOAP based API)?
>>>
>>> Thanks,
>>>
>>> Ray
>>>
>>>
>>> On Wednesday, August 13, 2014 4:36:27 AM UTC-4, Assaf Magen wrote:
>>>>
>>>> Hello,
>>>>
>>>> I was wondering if there is a way to work against sandbox with the JS
>>>> api without the need to supply user name or password or some temporary
>>>> generated token to use instead
>>>> my goal is to imitate Create campaign location + advanced search with
>>>> all the api calls to LocationCriterionService on the client side against
>>>> sandbox, collect chosen adwords location, send to server and create new
>>>> campaign using adwords api on the server side using my account tokens and
>>>> credentials.
>>>>
>>>> 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.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>>
>> *Assaf Magen *| Team Leader
>>
>> Ha'anagar 2nd, Kfar-Sava P.O.Box 7110
>>
>> Office: +972.9.7486785 Fax:+972.9.7486786 Mobile: +972.54.719
>>
>> www.msbitsoftware.com  | as...@msbitsoftware.com 
>>
>  --
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and Google+:
> https://googleadsdeveloper.blogspot.com/
> https://plus.google.com/+GoogleAdsDevelopers/posts
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> You received this message because you are subscribed to the Google
> Groups "AdWords API Forum" group.
> To post to this group, send email to adwords-api@googlegroups.com
> To unsubscribe from this group, send email to
> adwords-api+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/adwords-api?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "AdWords API Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to adwords-api+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

*Assaf Magen *| Team Leader

Ha'anagar 2nd, Kfar-Sava P.O.Box 7110

Office: +972.9.7486785 Fax:+972.9.7486786 Mobile: +972.54.719

www.msbitsoftware.com  | as...@msbitsoftware.com 

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

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


Re: Javascript API in sandbox

2014-08-13 Thread Assaf Magen
Hi,

I'm referring to SOAP based AdWords API

thanks
Assaf


On Wed, Aug 13, 2014 at 8:30 PM, Ray Tsang (AdWords API Team) <
adwordsapiadvisor+...@google.com> wrote:

> Assaf,
>
> Are you referring to AdWords script, or AdWords API (SOAP based API)?
>
> Thanks,
>
> Ray
>
>
> On Wednesday, August 13, 2014 4:36:27 AM UTC-4, Assaf Magen wrote:
>>
>> Hello,
>>
>> I was wondering if there is a way to work against sandbox with the JS api
>> without the need to supply user name or password or some temporary
>> generated token to use instead
>> my goal is to imitate Create campaign location + advanced search with all
>> the api calls to LocationCriterionService on the client side against
>> sandbox, collect chosen adwords location, send to server and create new
>> campaign using adwords api on the server side using my account tokens and
>> credentials.
>>
>> 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.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

*Assaf Magen *| Team Leader

Ha'anagar 2nd, Kfar-Sava P.O.Box 7110

Office: +972.9.7486785 Fax:+972.9.7486786 Mobile: +972.54.719

www.msbitsoftware.com  | as...@msbitsoftware.com 

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

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


Re: Can't seem to update CampaignAdExtension

2014-08-13 Thread Assaf Magen
Hi Ray,

thanks for your reply - I'm letting this go I'm just creating new
LocationExtensions whenever I need to and removing the ones I no longer
have use for

thanks

Assaf


On Tue, Aug 12, 2014 at 9:15 PM, Ray Tsang (AdWords API Team) <
adwordsapiadvisor+...@google.com> wrote:

> Assaf,
>
> Please send me the full SOAP request/response in private.
>
> Thanks,
>
> Ray
>
>
> On Tuesday, August 12, 2014 9:31:00 AM UTC-4, Assaf Magen wrote:
>>
>> Hello,
>>
>> I'm trying to update phone number on existing CampaignAdExtension of type
>> LocationExtension using the SET operator - update fails with following
>> error:
>>
>> OperatorError.OPERATOR_NOT_SUPPORTED @ operations[0]
>>
>> Couldn't find in Adwords API  docs any restrictions regarding
>> CampaignAdExtensionService mutate and the SET operator.
>>
>> I'm using v201406
>>
>> thanks for your help...
>>
>> here's my code (C#)
>>
>>
>> var setAdExtensionResult = _campaignAdExtService.mutate(new[]
>>{
>>new CampaignAdExtensionOperation
>>{
>>operand = locExtension,
>>@operator = Operator.SET
>>}
>>});
>>
>>  --
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and Google+:
> https://googleadsdeveloper.blogspot.com/
> https://plus.google.com/+GoogleAdsDevelopers/posts
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> You received this message because you are subscribed to the Google
> Groups "AdWords API Forum" group.
> To post to this group, send email to adwords-api@googlegroups.com
> To unsubscribe from this group, send email to
> adwords-api+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/adwords-api?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "AdWords API Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to adwords-api+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

*Assaf Magen *| Team Leader

Ha'anagar 2nd, Kfar-Sava P.O.Box 7110

Office: +972.9.7486785 Fax:+972.9.7486786 Mobile: +972.54.719

www.msbitsoftware.com  | as...@msbitsoftware.com 

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

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


Javascript API in sandbox

2014-08-13 Thread Assaf Magen
Hello,

I was wondering if there is a way to work against sandbox with the JS api 
without the need to supply user name or password or some temporary 
generated token to use instead
my goal is to imitate Create campaign location + advanced search with all 
the api calls to LocationCriterionService on the client side against 
sandbox, collect chosen adwords location, send to server and create new 
campaign using adwords api on the server side using my account tokens and 
credentials.

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


Can't seem to update CampaignAdExtension

2014-08-12 Thread Assaf Magen
Hello,

I'm trying to update phone number on existing CampaignAdExtension of type 
LocationExtension using the SET operator - update fails with following 
error:

OperatorError.OPERATOR_NOT_SUPPORTED @ operations[0]

Couldn't find in Adwords API  docs any restrictions regarding 
CampaignAdExtensionService mutate and the SET operator.

I'm using v201406

thanks for your help...

here's my code (C#)


var setAdExtensionResult = _campaignAdExtService.mutate(new[]
   {
   new CampaignAdExtensionOperation
   {
   operand = locExtension,
   @operator = Operator.SET
   }
   });

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

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


Adgroup Criterion - Bid Update for Managed Placements/Genders etc.

2014-07-02 Thread assaf
Hi,

After setting the Adgroup ContentBidCriterionTypeGroup to the Targeting 
method I desire,
when trying to update the Max CPC bid to the individual criterions I 
receive an "INVLID CRITERION ID" error for those items that are
marked status="Automatic" in the adwords GUI *(the update worked fine for 
those that are "Managed")*

How can I make sure all items are "managed" before I start the update (do I 
update each one individually or update some setting
on the adgroup level?).

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


how to get Keywords special status via API

2014-05-19 Thread assaf
Hi,

I was wondering if/what keyword statuses can be fetched via API (either by 
report or AdGroupCriterion*) :*
** *Rarely shown due to low quality score
* Low search volume
* Below First page bid

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


SEARCH_QUERY_PERFORMANCE_REPORT - difference between report & GUI

2014-05-12 Thread assaf
Hi,

I am producing a search query report for ALL TIME in both API and in 
adwords GUI (keywords -> Details->All search terms).
1. I see the statistics - clicks & conversions are *greater* in the GUI 
rather than the API.
2. I see there are many more search terms in the report than I see in the 
GUI.

Should these be identical? Am I using the correct report to get what I am 
looking at in the GUI ?

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


IpBlock Campaign Criteria - Error during add

2014-05-08 Thread assaf
Hi,

I am trying to usethe newly added feature - IpBlock .
I tried to add a new IP to be blocked for a campaign and get the following 
error -

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
 faultSubcode: 
 faultString: [CriterionError.CANNOT_ADD_CRITERIA_TYPE @ 
operations[0].operand.criterion]
 faultActor: 
 faultNode: 
 faultDetail: 
{https://adwords.google.com/api/adwords/cm/v201402}ApiExceptionFault:[CriterionError.CANNOT_ADD_CRITERIA_TYPE
 
@ 
operations[0].operand.criterion]ApiExceptionhttp://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="CriterionError">operations[0].operand.criterionCriterionError.CANNOT_ADD_CRITERIA_TYPECriterionErrorCANNOT_ADD_CRITERIA_TYPE

[CriterionError.CANNOT_ADD_CRITERIA_TYPE @ operations[0].operand.criterion]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at 
org.apache.axis.encoding.ser.BeanDeserializer.(BeanDeserializer.java:104)

My code is standard -

 Credential oAuth2Credential = new 
OfflineCredentials.Builder()
.forApi(Api.ADWORDS)
.fromFile()
.build()
.generateCredential();

// Construct an AdWordsSession.
AdWordsSession session = new AdWordsSession.Builder()
.fromFile()
.withOAuth2Credential(oAuth2Credential)
.build();

session.setClientCustomerId(pClientID);

AdWordsServices adwordsServices = new AdWordsServices();
// Get the CampaignService.
CampaignCriterionServiceInterface campaignCriterionService = 
adwordsServices.get(session, 
CampaignCriterionServiceInterface.class);

  Long campaignId = Long.valueOf(pCampaignID);
  
 
  if (null != pIP) {  
  
   IpBlock ip = new IpBlock();
  ip.setIpAddress(pIP);

// not needed  ip.setType(CriterionType.IP_BLOCK);
// not needed  ip.setId((long)123456);

  List operations = new 
ArrayList();
  for (Criterion criterion : new Criterion[] {ip}) {
CampaignCriterionOperation operation = new 
CampaignCriterionOperation();
CampaignCriterion campaignCriterion = new CampaignCriterion();
campaignCriterion.setCampaignId(campaignId);


campaignCriterion.setCriterion(criterion);
 
operation.setOperand(campaignCriterion);
operation.setOperator(Operator.ADD);
operations.add(operation);
  }
  
  CampaignCriterionReturnValue result =
  campaignCriterionService.mutate(operations
  .toArray(new CampaignCriterionOperation[operations.size()]));
  }

I would appreciate some guidance.

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


Re: Exclude IP Address using Adwords API

2014-04-30 Thread assaf
Looks like what I need.
I will have a look.

Thanks !

On Wednesday, April 30, 2014 5:49:22 PM UTC+3, Ray Tsang (AdWords API Team) 
wrote:
>
> Assaf,
>
> I was researching this a bit more - could I trouble you to take a quick 
> look at 
> IpBlock<https://developers.google.com/adwords/api/docs/reference/v201402/CampaignCriterionService.IpBlock>
>  criterion?
>
> Thanks,
>
> Ray
>
> On Wednesday, April 30, 2014 10:05:06 AM UTC-4, Ray Tsang (AdWords API 
> Team) wrote:
>>
>> Assaf,
>>
>> There is no update on this at the moment.
>>
>> Thanks,
>>
>> Ray
>>
>> On Wednesday, April 30, 2014 3:08:32 AM UTC-4, assaf wrote:
>>>
>>> Hi,
>>>
>>> Is there any news with this capability?
>>>
>>> Are excluding IPs on the roadmap for the API?
>>>
>>> Thanks.
>>>
>>> On Monday, August 26, 2013 1:04:44 PM UTC+3, Takeshi Hagikura (AdWords 
>>> API Team) wrote:
>>>>
>>>> Hi Shobha, 
>>>>
>>>> Unfortunately it's not supported via the API. 
>>>>
>>>> Best,
>>>> - Takeshi, AdWords API Team
>>>>
>>>> On Friday, August 23, 2013 4:00:13 PM UTC+9, shobha.p...@gmail.comwrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> We can exclude IP addresses using Adwords. Is this feature supported 
>>>>> by Adwords API? Can we exclude IPs using the latest version of Adwords API
>>>>>
>>>>> Shobha
>>>>>
>>>>

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

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


Re: Exclude IP Address using Adwords API

2014-04-30 Thread assaf
Hi,

Is there any news with this capability?

Are excluding IPs on the roadmap for the API?

Thanks.

On Monday, August 26, 2013 1:04:44 PM UTC+3, Takeshi Hagikura (AdWords API 
Team) wrote:
>
> Hi Shobha, 
>
> Unfortunately it's not supported via the API. 
>
> Best,
> - Takeshi, AdWords API Team
>
> On Friday, August 23, 2013 4:00:13 PM UTC+9, shobha.p...@gmail.com wrote:
>>
>> Hi,
>>
>> We can exclude IP addresses using Adwords. Is this feature supported by 
>> Adwords API? Can we exclude IPs using the latest version of Adwords API
>>
>> Shobha
>>
>

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

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


Re: Report encoding issues

2014-03-12 Thread assaf
Ok , Issue solved -State the encoding in the BufferReader.

 ReportDownloadResponse response =  new 
ReportDownloader(session).downloadReport(reportDefinition);   
 InputStream in = response.getInputStream();
 BufferedReader reader = new BufferedReader(new InputStreamReader(in, 
"UTF-8"));

Thanks.

On Wednesday, March 12, 2014 6:28:42 AM UTC+2, assaf wrote:
>
> I use the reports to fetch stats on a regular basis so don't wish to 
> generate reports on the server.
> I prefer to read it directly from the InputStream.
>
> I did try the CSV report and I see that also when opening the CSV file the 
> strange chars appear as well
> (while strangely in the windows 7 preview pane of the file you can see the 
> chars OK).
>
> Any way to set the encoding for the ReportDownloadResponse or 
> ReportDownloader?
>
> Thanks
>
>
> On Tuesday, March 11, 2014 11:21:52 PM UTC+2, Josh Radcliff (AdWords API 
> Team) wrote:
>>
>> Hi,
>>
>> Please check the encoding being used on your terminal.  If it is not 
>> UTF-8 then you will get strange characters as you described.
>>
>> As an alternative, you could simply modify the DownloadCriteriaReport 
>> example<https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201402/reporting/DownloadCriteriaReport.java>to
>>  run the SEARCH_QUERY_PERFORMANCE_REPORT instead.  This example will 
>> write the output to a file named report.csv in your home directory.  That 
>> would eliminate any issues introduced by your terminal's encoding setting.
>>
>> Thanks,
>> Josh, AdWords API Team
>>
>> On Tuesday, March 11, 2014 4:10:21 PM UTC-4, assaf wrote:
>>>
>>> The campaignName that arrived from the XML is not encoded properly I 
>>> guess (just printing it out to the console produces
>>> strange chars like - ׳?׳™׳?׳× ׳?׳?׳•׳§׳“ - ׳‘׳×׳™ ׳?׳?׳•׳?)
>>> If it came in encoded properly I would be seeing proper hebrew chars..
>>>
>>>
>>>
>>> On Tuesday, March 11, 2014 6:49:49 PM UTC+2, Josh Radcliff (AdWords API 
>>> Team) wrote:
>>>>
>>>> Hi,
>>>>
>>>> The strings should be encoded in UTF-8.  It's quite possible I'm 
>>>> missing something here, but if you already have the reportCampaignName 
>>>> String below, why do you need to convert it to a new String in another 
>>>> CharSet?  Couldn't you just use reportCampaignName directly?  I just ran a 
>>>> quick test of reading the response input stream and the decoding worked as 
>>>> expected.
>>>>
>>>> Thanks,
>>>> Josh, AdWords API Team
>>>>
>>>> On Tuesday, March 11, 2014 1:07:43 AM UTC-4, assaf wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> This may be a little basic but it is a first time that I actually need 
>>>>> strings (names) from my reports and not numeric statistics..
>>>>> I generate SEARCH_QUERY_PERFORMANCE_REPORT successfully.
>>>>>
>>>>> I am trying to read the String name fields 
>>>>> (CampaignName,KeywordTextMatchingQuery etc.) directly from the 
>>>>> InputStream 
>>>>> (I do this fine in other reports).
>>>>> I can't encode the strings properly to hebrew - I tried several 
>>>>> options - but none gave proper chars (only strange chars , not '???').
>>>>>
>>>>> String campaignName1 = StringUtil.toUTF(reportCampaignName);
>>>>> String campaignName2 = new 
>>>>> String(reportCampaignName.getBytes("ISO-8859-1"),"UTF-8");
>>>>> String campaignName3 = new 
>>>>> String(reportCampaignName.getBytes("ISO-8859-1"),"WINDOWS-1255");
>>>>>
>>>>> Any idea how to convert it properly?
>>>>>
>>>>> 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.
For more options, visit https://groups.google.com/d/optout.


Re: Report encoding issues

2014-03-11 Thread assaf
I use the reports to fetch stats on a regular basis so don't wish to 
generate reports on the server.
I prefer to read it directly from the InputStream.

I did try the CSV report and I see that also when opening the CSV file the 
strange chars appear as well
(while strangely in the windows 7 preview pane of the file you can see the 
chars OK).

Any way to set the encoding for the ReportDownloadResponse or 
ReportDownloader?

Thanks


On Tuesday, March 11, 2014 11:21:52 PM UTC+2, Josh Radcliff (AdWords API 
Team) wrote:
>
> Hi,
>
> Please check the encoding being used on your terminal.  If it is not UTF-8 
> then you will get strange characters as you described.
>
> As an alternative, you could simply modify the DownloadCriteriaReport 
> example<https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201402/reporting/DownloadCriteriaReport.java>to
>  run the SEARCH_QUERY_PERFORMANCE_REPORT instead.  This example will 
> write the output to a file named report.csv in your home directory.  That 
> would eliminate any issues introduced by your terminal's encoding setting.
>
> Thanks,
> Josh, AdWords API Team
>
> On Tuesday, March 11, 2014 4:10:21 PM UTC-4, assaf wrote:
>>
>> The campaignName that arrived from the XML is not encoded properly I 
>> guess (just printing it out to the console produces
>> strange chars like - ׳?׳™׳?׳× ׳?׳?׳•׳§׳“ - ׳‘׳×׳™ ׳?׳?׳•׳?)
>> If it came in encoded properly I would be seeing proper hebrew chars..
>>
>>
>>
>> On Tuesday, March 11, 2014 6:49:49 PM UTC+2, Josh Radcliff (AdWords API 
>> Team) wrote:
>>>
>>> Hi,
>>>
>>> The strings should be encoded in UTF-8.  It's quite possible I'm missing 
>>> something here, but if you already have the reportCampaignName String 
>>> below, why do you need to convert it to a new String in another CharSet? 
>>>  Couldn't you just use reportCampaignName directly?  I just ran a quick 
>>> test of reading the response input stream and the decoding worked as 
>>> expected.
>>>
>>> Thanks,
>>> Josh, AdWords API Team
>>>
>>> On Tuesday, March 11, 2014 1:07:43 AM UTC-4, assaf wrote:
>>>>
>>>> Hi,
>>>>
>>>> This may be a little basic but it is a first time that I actually need 
>>>> strings (names) from my reports and not numeric statistics..
>>>> I generate SEARCH_QUERY_PERFORMANCE_REPORT successfully.
>>>>
>>>> I am trying to read the String name fields 
>>>> (CampaignName,KeywordTextMatchingQuery etc.) directly from the InputStream 
>>>> (I do this fine in other reports).
>>>> I can't encode the strings properly to hebrew - I tried several options 
>>>> - but none gave proper chars (only strange chars , not '???').
>>>>
>>>> String campaignName1 = StringUtil.toUTF(reportCampaignName);
>>>> String campaignName2 = new 
>>>> String(reportCampaignName.getBytes("ISO-8859-1"),"UTF-8");
>>>> String campaignName3 = new 
>>>> String(reportCampaignName.getBytes("ISO-8859-1"),"WINDOWS-1255");
>>>>
>>>> Any idea how to convert it properly?
>>>>
>>>> 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.
For more options, visit https://groups.google.com/d/optout.


Re: Report encoding issues

2014-03-11 Thread assaf
The campaignName that arrived from the XML is not encoded properly I guess 
(just printing it out to the console produces
strange chars like - ׳?׳™׳?׳× ׳?׳?׳•׳§׳“ - ׳‘׳×׳™ ׳?׳?׳•׳?)
If it came in encoded properly I would be seeing proper hebrew chars..



On Tuesday, March 11, 2014 6:49:49 PM UTC+2, Josh Radcliff (AdWords API 
Team) wrote:
>
> Hi,
>
> The strings should be encoded in UTF-8.  It's quite possible I'm missing 
> something here, but if you already have the reportCampaignName String 
> below, why do you need to convert it to a new String in another CharSet? 
>  Couldn't you just use reportCampaignName directly?  I just ran a quick 
> test of reading the response input stream and the decoding worked as 
> expected.
>
> Thanks,
> Josh, AdWords API Team
>
> On Tuesday, March 11, 2014 1:07:43 AM UTC-4, assaf wrote:
>>
>> Hi,
>>
>> This may be a little basic but it is a first time that I actually need 
>> strings (names) from my reports and not numeric statistics..
>> I generate SEARCH_QUERY_PERFORMANCE_REPORT successfully.
>>
>> I am trying to read the String name fields 
>> (CampaignName,KeywordTextMatchingQuery etc.) directly from the InputStream 
>> (I do this fine in other reports).
>> I can't encode the strings properly to hebrew - I tried several options - 
>> but none gave proper chars (only strange chars , not '???').
>>
>> String campaignName1 = StringUtil.toUTF(reportCampaignName);
>> String campaignName2 = new 
>> String(reportCampaignName.getBytes("ISO-8859-1"),"UTF-8");
>> String campaignName3 = new 
>> String(reportCampaignName.getBytes("ISO-8859-1"),"WINDOWS-1255");
>>
>> Any idea how to convert it properly?
>>
>> 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.
For more options, visit https://groups.google.com/d/optout.


Report encoding issues

2014-03-10 Thread assaf
Hi,

This may be a little basic but it is a first time that I actually need 
strings (names) from my reports and not numeric statistics..
I generate SEARCH_QUERY_PERFORMANCE_REPORT successfully.

I am trying to read the String name fields 
(CampaignName,KeywordTextMatchingQuery etc.) directly from the InputStream 
(I do this fine in other reports).
I can't encode the strings properly to hebrew - I tried several options - 
but none gave proper chars (only strange chars , not '???').

String campaignName1 = StringUtil.toUTF(reportCampaignName);
String campaignName2 = new 
String(reportCampaignName.getBytes("ISO-8859-1"),"UTF-8");
String campaignName3 = new 
String(reportCampaignName.getBytes("ISO-8859-1"),"WINDOWS-1255");

Any idea how to convert it properly?

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


Re: Memory leaks & storage consuming data

2014-01-26 Thread assaf
Hi Ray,

Just to keep you updated - I was using jxl-2.6.3.jar for excel integration 
in my application.
This Jar contained a log4j.xml properties file which affected adwords API 
log4j definitions as well and so logged all API call causing the log file 
to grow rapidly. 
By deleting the log4j.,xml from this jar the problem is solved for me.

Thanks

On Thursday, January 16, 2014 1:52:11 AM UTC+2, Ray Tsang (AdWords API 
Team) wrote:
>
> Assaf,
>
> The log is usually configured through log4j.  You will need to turn off 
> debug logging (or turn it off for specific packages).  The exact 
> configuration depends on your environment, however.  You can start with 
> AdWords 
> API Java Client 
> README<https://github.com/googleads/googleads-java-lib#how-do-i-enable-logging>or
>  Tomcat's 
> Log4j usage<http://tomcat.apache.org/tomcat-6.0-doc/logging.html#Using_Log4j>
> .
>
> Heap usage tend to grow over time due to the fact that garbage collection 
> may not be occuring and/or aggressive.  If you force a GC, you should see 
> the heap usage reduced.
>
> However, if you see that there are heap usages that grows over time 
> permanently and cannot be garbage collected then it may indicate a real 
> issue.
>
> Lastly - it's always recommended to tune your JVM garbage collector 
> specific for your application.
>
> Thanks!
>
> --
> Ray Tsang (AdWords API Advisor)
>
>
> On Monday, January 13, 2014 10:06:35 AM UTC-5, assaf wrote:
>>
>> Regarding to the storage issue-
>>
>> I see a text log file called jxl is created is it grows very very quickly.
>> The contents are something like -
>>
>> 2014-01-13 15:00:33,372 [DEBUG] org.apache.axis.utils.NSStack  - NSPop 
>> (32)
>> 2014-01-13 15:00:33,372 [DEBUG] org.apache.axis.message.SAXOutputter  - 
>> SAXOutputter.startElement ['
>> https://adwords.google.com/api/adwords/cm/v201309' Criterion.Type]
>> 2014-01-13 15:00:33,372 [DEBUG] 
>> org.apache.axis.i18n.ProjectResourceBundle  - 
>> org.apache.axis.i18n.resource::handleGetObject(startElem00)
>> 2014-01-13 15:00:33,372 [DEBUG] 
>> org.apache.axis.encoding.SerializationContext  - Start element [
>> https://adwords.google.com/api/adwords/cm/v201309]:Criterion.Type
>> 2014-01-13 15:00:33,372 [DEBUG] org.apache.axis.utils.NSStack  - NSPush 
>> (32)
>> 2014-01-13 15:00:33,372 [DEBUG] org.apache.axis.message.SAXOutputter  - 
>> SAXOutputter.characters ['Keyword']
>> 2014-01-13 15:00:33,372 [DEBUG] org.apache.axis.message.SAXOutputter  - 
>> SAXOutputter.endElement ['
>> https://adwords.google.com/api/adwords/cm/v201309' Criterion.Type]
>> 2014-01-13 15:00:33,372 [DEBUG] 
>> org.apache.axis.i18n.ProjectResourceBundle  - 
>> org.apache.axis.i18n.resource::handleGetObject(endElem00)
>> 2014-01-13 15:00:33,372 [DEBUG] 
>> org.apache.axis.encoding.SerializationContext  - End element Criterion.Type
>> 2014-01-13 15:00:33,372 [DEBUG] org.apache.axis.utils.NSStack  - NSPop 
>> (32)
>> 2014-01-13 15:00:33,372 [DEBUG] org.apache.axis.message.SAXOutputter  - 
>> SAXOutputter.startElement ['
>> https://adwords.google.com/api/adwords/cm/v201309' text]
>> 2014-01-13 15:00:33,372 [DEBUG] 
>> org.apache.axis.i18n.ProjectResourceBundle  - 
>> org.apache.axis.i18n.resource::handleGetObject(startElem00)
>> 2014-01-13 15:00:33,372 [DEBUG] 
>> org.apache.axis.encoding.SerializationContext  - Start element [
>> https://adwords.google.com/api/adwords/cm/v201309]:text
>> 2014-01-13 15:00:33,372 [DEBUG] org.apache.axis.utils.NSStack  - NSPush 
>> (32)
>>
>>
>> How can I turn off this debug because it causes my server to fill up 
>> completely every day?
>>
>> I would appreciate an answer on the memory issue / best way for 
>> creating/calling session and AdwrodsServices objects..
>>
>> Thanks.
>>
>> On Saturday, January 11, 2014 9:37:51 PM UTC+2, assaf wrote:
>>>
>>> Hi,
>>>
>>> My application calls Java API via different services ( 
>>> CampaignServiceInterface,CampaignCriterionServiceInterface etc),using -
>>>
>>>  Credential oAuth2Credential = new OfflineCredentials.Builder()
>>> .forApi(Api.ADWORDS)
>>> .fromFile()
>>> .build()
>>> .generateCredential();
>>>
>>> // Construct an AdWordsSession.
>>> AdWordsSession session = new AdWordsSession.Builder()
>>> .fromFile()
>>> .withOAuth2Credential(oAuth2Credential)
>>> .build();
>>> 
>>> session.setClientCus

Re: Memory leaks & storage consuming data

2014-01-16 Thread assaf
Thanks for the feedback.

one other issue -
What is the best practice for AdWordsSession and AdWordsServices creation?
Should I be reusing these objects during frequent API calls (as static 
variables)  - does creating new ones affect my memory?

Thanks.

On Thursday, January 16, 2014 1:52:11 AM UTC+2, Ray Tsang (AdWords API 
Team) wrote:
>
> Assaf,
>
> The log is usually configured through log4j.  You will need to turn off 
> debug logging (or turn it off for specific packages).  The exact 
> configuration depends on your environment, however.  You can start with 
> AdWords 
> API Java Client 
> README<https://github.com/googleads/googleads-java-lib#how-do-i-enable-logging>or
>  Tomcat's 
> Log4j usage<http://tomcat.apache.org/tomcat-6.0-doc/logging.html#Using_Log4j>
> .
>
> Heap usage tend to grow over time due to the fact that garbage collection 
> may not be occuring and/or aggressive.  If you force a GC, you should see 
> the heap usage reduced.
>
> However, if you see that there are heap usages that grows over time 
> permanently and cannot be garbage collected then it may indicate a real 
> issue.
>
> Lastly - it's always recommended to tune your JVM garbage collector 
> specific for your application.
>
> Thanks!
>
> --
> Ray Tsang (AdWords API Advisor)
>
>
> On Monday, January 13, 2014 10:06:35 AM UTC-5, assaf wrote:
>>
>> Regarding to the storage issue-
>>
>> I see a text log file called jxl is created is it grows very very quickly.
>> The contents are something like -
>>
>> 2014-01-13 15:00:33,372 [DEBUG] org.apache.axis.utils.NSStack  - NSPop 
>> (32)
>> 2014-01-13 15:00:33,372 [DEBUG] org.apache.axis.message.SAXOutputter  - 
>> SAXOutputter.startElement ['
>> https://adwords.google.com/api/adwords/cm/v201309' Criterion.Type]
>> 2014-01-13 15:00:33,372 [DEBUG] 
>> org.apache.axis.i18n.ProjectResourceBundle  - 
>> org.apache.axis.i18n.resource::handleGetObject(startElem00)
>> 2014-01-13 15:00:33,372 [DEBUG] 
>> org.apache.axis.encoding.SerializationContext  - Start element [
>> https://adwords.google.com/api/adwords/cm/v201309]:Criterion.Type
>> 2014-01-13 15:00:33,372 [DEBUG] org.apache.axis.utils.NSStack  - NSPush 
>> (32)
>> 2014-01-13 15:00:33,372 [DEBUG] org.apache.axis.message.SAXOutputter  - 
>> SAXOutputter.characters ['Keyword']
>> 2014-01-13 15:00:33,372 [DEBUG] org.apache.axis.message.SAXOutputter  - 
>> SAXOutputter.endElement ['
>> https://adwords.google.com/api/adwords/cm/v201309' Criterion.Type]
>> 2014-01-13 15:00:33,372 [DEBUG] 
>> org.apache.axis.i18n.ProjectResourceBundle  - 
>> org.apache.axis.i18n.resource::handleGetObject(endElem00)
>> 2014-01-13 15:00:33,372 [DEBUG] 
>> org.apache.axis.encoding.SerializationContext  - End element Criterion.Type
>> 2014-01-13 15:00:33,372 [DEBUG] org.apache.axis.utils.NSStack  - NSPop 
>> (32)
>> 2014-01-13 15:00:33,372 [DEBUG] org.apache.axis.message.SAXOutputter  - 
>> SAXOutputter.startElement ['
>> https://adwords.google.com/api/adwords/cm/v201309' text]
>> 2014-01-13 15:00:33,372 [DEBUG] 
>> org.apache.axis.i18n.ProjectResourceBundle  - 
>> org.apache.axis.i18n.resource::handleGetObject(startElem00)
>> 2014-01-13 15:00:33,372 [DEBUG] 
>> org.apache.axis.encoding.SerializationContext  - Start element [
>> https://adwords.google.com/api/adwords/cm/v201309]:text
>> 2014-01-13 15:00:33,372 [DEBUG] org.apache.axis.utils.NSStack  - NSPush 
>> (32)
>>
>>
>> How can I turn off this debug because it causes my server to fill up 
>> completely every day?
>>
>> I would appreciate an answer on the memory issue / best way for 
>> creating/calling session and AdwrodsServices objects..
>>
>> Thanks.
>>
>> On Saturday, January 11, 2014 9:37:51 PM UTC+2, assaf wrote:
>>>
>>> Hi,
>>>
>>> My application calls Java API via different services ( 
>>> CampaignServiceInterface,CampaignCriterionServiceInterface etc),using -
>>>
>>>  Credential oAuth2Credential = new OfflineCredentials.Builder()
>>> .forApi(Api.ADWORDS)
>>> .fromFile()
>>> .build()
>>> .generateCredential();
>>>
>>> // Construct an AdWordsSession.
>>> AdWordsSession session = new AdWordsSession.Builder()
>>> .fromFile()
>>> .withOAuth2Credential(oAuth2Credential)
>>> .build();
>>> 
>>> session.setClientCustomerId(pClientID);
>>> 
>>> AdWordsServices adwordsServices = new AdWor

Re: Memory leaks & storage consuming data

2014-01-13 Thread assaf
Regarding to the storage issue-

I see a text log file called jxl is created is it grows very very quickly.
The contents are something like -

2014-01-13 15:00:33,372 [DEBUG] org.apache.axis.utils.NSStack  - NSPop (32)
2014-01-13 15:00:33,372 [DEBUG] org.apache.axis.message.SAXOutputter  - 
SAXOutputter.startElement 
['https://adwords.google.com/api/adwords/cm/v201309' Criterion.Type]
2014-01-13 15:00:33,372 [DEBUG] org.apache.axis.i18n.ProjectResourceBundle 
 - org.apache.axis.i18n.resource::handleGetObject(startElem00)
2014-01-13 15:00:33,372 [DEBUG] 
org.apache.axis.encoding.SerializationContext  - Start element 
[https://adwords.google.com/api/adwords/cm/v201309]:Criterion.Type
2014-01-13 15:00:33,372 [DEBUG] org.apache.axis.utils.NSStack  - NSPush (32)
2014-01-13 15:00:33,372 [DEBUG] org.apache.axis.message.SAXOutputter  - 
SAXOutputter.characters ['Keyword']
2014-01-13 15:00:33,372 [DEBUG] org.apache.axis.message.SAXOutputter  - 
SAXOutputter.endElement 
['https://adwords.google.com/api/adwords/cm/v201309' Criterion.Type]
2014-01-13 15:00:33,372 [DEBUG] org.apache.axis.i18n.ProjectResourceBundle 
 - org.apache.axis.i18n.resource::handleGetObject(endElem00)
2014-01-13 15:00:33,372 [DEBUG] 
org.apache.axis.encoding.SerializationContext  - End element Criterion.Type
2014-01-13 15:00:33,372 [DEBUG] org.apache.axis.utils.NSStack  - NSPop (32)
2014-01-13 15:00:33,372 [DEBUG] org.apache.axis.message.SAXOutputter  - 
SAXOutputter.startElement 
['https://adwords.google.com/api/adwords/cm/v201309' text]
2014-01-13 15:00:33,372 [DEBUG] org.apache.axis.i18n.ProjectResourceBundle 
 - org.apache.axis.i18n.resource::handleGetObject(startElem00)
2014-01-13 15:00:33,372 [DEBUG] 
org.apache.axis.encoding.SerializationContext  - Start element 
[https://adwords.google.com/api/adwords/cm/v201309]:text
2014-01-13 15:00:33,372 [DEBUG] org.apache.axis.utils.NSStack  - NSPush (32)


How can I turn off this debug because it causes my server to fill up 
completely every day?

I would appreciate an answer on the memory issue / best way for 
creating/calling session and AdwrodsServices objects..

Thanks.

On Saturday, January 11, 2014 9:37:51 PM UTC+2, assaf wrote:
>
> Hi,
>
> My application calls Java API via different services ( 
> CampaignServiceInterface,CampaignCriterionServiceInterface etc),using -
>
>  Credential oAuth2Credential = new OfflineCredentials.Builder()
> .forApi(Api.ADWORDS)
> .fromFile()
> .build()
> .generateCredential();
>
> // Construct an AdWordsSession.
> AdWordsSession session = new AdWordsSession.Builder()
> .fromFile()
> .withOAuth2Credential(oAuth2Credential)
> .build();
> 
> session.setClientCustomerId(pClientID);
> 
> AdWordsServices adwordsServices = new AdWordsServices();
> CampaignServiceInterface campaignService = adwordsServices.get(session, 
> CampaignServiceInterface.class);
>
> This is done every hour for several dozen clients.
> I am using Java application running on Tomcat using API version v201309.
>
> What I see is 2 issues:
>
> 1. The Tomcat process memory consumption grows with time.
> 2. The consumed physical memory of the C drive of the server grows very 
> quickly and uses all the free space. I can't really locate where
> all the storage going but I suspect some kind of tmp file or log file 
> that is being written by the API.
> Once I restart the Tomcat all the memory and storage is released.
>
> My questions:
> 1. Is there a known issue with memory leaks?
> 2. Are there better ways for using the API than how I am implementing my 
> needs?
>
>- 
> *   Perhaps have only 1 session per client created and used every hour 
>rather than re-creating it? *
>-*Perhaps creating the AdwordsServices object every hour is not 
>correct and I should have 1 instance for the entire application or 1 per 
>service?*
>
> I appreciate any feedback and help in the matter.
>
> Many thanks.
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Memory leaks & storage consuming data

2014-01-11 Thread assaf
Hi,

My application calls Java API via different services ( 
CampaignServiceInterface,CampaignCriterionServiceInterface etc),using -

 Credential oAuth2Credential = new OfflineCredentials.Builder()
.forApi(Api.ADWORDS)
.fromFile()
.build()
.generateCredential();

// Construct an AdWordsSession.
AdWordsSession session = new AdWordsSession.Builder()
.fromFile()
.withOAuth2Credential(oAuth2Credential)
.build();

session.setClientCustomerId(pClientID);

AdWordsServices adwordsServices = new AdWordsServices();
CampaignServiceInterface campaignService = adwordsServices.get(session, 
CampaignServiceInterface.class);

This is done every hour for several dozen clients.
I am using Java application running on Tomcat using API version v201309.

What I see is 2 issues:

1. The Tomcat process memory consumption grows with time.
2. The consumed physical memory of the C drive of the server grows very 
quickly and uses all the free space. I can't really locate where
all the storage going but I suspect some kind of tmp file or log file 
that is being written by the API.
Once I restart the Tomcat all the memory and storage is released.

My questions:
1. Is there a known issue with memory leaks?
2. Are there better ways for using the API than how I am implementing my 
needs?

   - 
*   Perhaps have only 1 session per client created and used every hour 
   rather than re-creating it? *
   -*Perhaps creating the AdwordsServices object every hour is not 
   correct and I should have 1 instance for the entire application or 1 per 
   service?*
   
I appreciate any feedback and help in the matter.

Many thanks.

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: AdwordsServices import into project

2014-01-01 Thread assaf
I am running v201309 using adwords-api-8.13.1.jar.
I need some kind of adwords-axis..jar don't I?
Where can this be downloaded from?


On Wednesday, January 1, 2014 9:05:48 AM UTC+2, Ace wrote:
>
> Hi,
>
> 1. Is this method the best way of getting data from any clientID that is 
> associated with my MCC account? (by using  session.setClientCustomerId with 
> different values?)
> The other method of getting the CampaignsService does not allow this -
> AdWordsUser user = new AdWordsUser();
>  CampaignServiceInterface campaignService = 
> user.getService(AdWordsService.V201309.CAMPAIGN_SERVICE);
>
> Is the code bellow the correct way for getting the data from changing 
> customerIDs?
>
> 2. I would like to use AdwordServices to get campaigns 
> using AdWordsSession .
>The class AdwordsSession won't compile. What Jar is my Java project is 
> missing?
>
> Thanks.
>
>
>Credential oAuth2Credential = new OfflineCredentials.Builder()
> .forApi(Api.ADWORDS)
> .fromFile()
> .build()
> .generateCredential();
>
> AdWordsSession session = new AdWordsSession.Builder()
> .fromFile()
> .withOAuth2Credential(oAuth2Credential)
> .build();
> 
> session.setClientCustomerId(pCustomerID);
>
> AdwordsServices adwordsServices = new AdWordsServices();
>
> CampaignServiceInterface campaignService = 
> adWordsServices.get(session, CampaignServiceInterface.class);
> 
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Accessing AdGroupCriterion - 'TopOfPageCpc'

2013-12-19 Thread assaf
This feature is still a Beta.
Any idea when it is open for the public?
Any way to be included in the "small number of users" to use this attribute?

Thanks

On Thursday, August 15, 2013 6:57:49 PM UTC+3, Paul Matthews (AdWords API 
Team) wrote:
>
> Hi Christopher,
>
> We occasionally release features as beta which are not ready for public 
> use. We trial them with a small number of users to reduce bugs and scaling 
> issues, before evaluating whether to open up the feature to the wider 
> audience.
>
> Regards,
>
> - Paul, AdWords API Team.
>
> On Thursday, 8 August 2013 14:40:49 UTC-4, Christopher Taylor wrote:
>>
>> Wondering why accessing this value is a "BETA_FEATURE"?
>>
>> SoapFault exception: [soap:Server] [BetaError.BETA_FEATURE @ 
>> serviceSelector; trigger:'TopOfPageCpc'] in 
>> /data/source/adwords/v201306/adwords_api_php_4.4.0/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php:216
>>
>>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


setting predicates in Selector for Reports - no setter and not visible

2013-12-04 Thread assaf
Hi,

I wish to set a predicate for a report.
Using the Selector from - 
com.google.api.ads.adwords.lib.jaxb.v201309.Selector (as in the report 
examples) -

 Selector selector = new Selector();
 List columnsList = Lists.newArrayList("CampaignId", 
 "Impressions",
  "Clicks");

selector.getFields().addAll(columnsList);

 
reportDefinition.setReportType(ReportDefinitionReportType.CAMPAIGN_PERFORMANCE_REPORT);
   
 reportDefinition.setDownloadFormat(DownloadFormat.XML);
 reportDefinition.setSelector(selector);

In this Selector object there is no setter for Predicates and the attribute 
itself is not visible.

How should I set the predicate - 
 Predicate adGroupIdPredicate = new Predicate("AdGroupId", 
PredicateOperator.IN,adgroupIDs);

Thanks

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


percentServed field from Ad Performance report

2013-12-03 Thread assaf
Hi,

I can't find this field in the report.

What was once in the AdStats  :  
double percentServed = (stats.getPercentServed()).doubleValue();

How in v201309 can I fetch this field?

Thanks.

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: need an example for fetching Stats in Java without executing a report to file system - due to migration to v201309

2013-12-03 Thread assaf
OK, My mistake.
I was performing all the changes in a wrong located ads.properties.
One the new refresh Token was taken the report finished successfully.
I will now try reading the data without generating the excel itself.

Many thanks!

On Tuesday, December 3, 2013 3:28:11 PM UTC+2, assaf wrote:
>
> I regenerated the refresh token, copied to the ads.properties file and 
> still get the same error when generating the report 
> (Report was not downloaded. HTTP Response Code: 400, Trigger: , 
> Type: AuthenticationError.OAUTH_TOKEN_INVALID).
>
> Perhaps the length of the other credentials are not OK?
>
> api.adwords.refreshToken=1/xx-xxx_
> api.adwords.clientId=
> -.apps.googleusercontent.com
> api.adwords.clientSecret=
> api.adwords.developerToken=xx-xxx
> api.adwords.isPartialFailure=false
> api.adwords.returnMoneyInMicros=true
> api.adwords.reportDownloadTimeout=1
>
> Any Idea?
>
> Thanks.
>
> On Monday, December 2, 2013 7:46:55 AM UTC+2, Takeshi Hagikura (AdWords 
> API Team) wrote:
>>
>> Hi assaf,
>>
>> Let me confirm, does your refresh token look like in the form 
>> of "1/Ix" as in this 
>> guide <https://developers.google.com/adwords/api/docs/guides/soap>?
>> If not, you are likely to use a wrong token as a refresh token and I 
>> recommend to use 
>> GetRefreshToken.java<https://code.google.com/p/google-api-ads-java/source/browse/examples/adwords_axis/src/main/java/adwords/axis/auth/GetRefreshToken.java>
>>  to 
>> obtain a refresh token.
>>
>> Best,
>> - Takeshi, AdWords API Team
>>
>> On Thursday, November 28, 2013 4:17:09 AM UTC+9, assaf wrote:
>>>
>>> Hi Danial,
>>>
>>> I re-generated all the codes again (clientId,refreshToken,clientSecret) 
>>> and still receive the same error.
>>> Any other idea?
>>> Can I send all the info to someone so they can perhaps take a look?
>>>
>>> Thanks
>>>
>>> On Wednesday, November 27, 2013 3:25:44 PM UTC+2, Danial Klimkin wrote:
>>>>
>>>> Hello assaf,
>>>>
>>>>
>>>> 1. Yes, unless the token is manually revoked. You don't need to run 
>>>> GetRefreshToken for the same account again.
>>>>
>>>> 2. Make sure the ads.properties file is populated will all required 
>>>> values. Also, note, you need to be logged in under your AdWords account 
>>>> when obtaining the refresh token.
>>>>
>>>>
>>>> -Danial, AdWords API Team.
>>>>
>>>>
>>>> On Tuesday, November 26, 2013 7:27:48 PM UTC+4, assaf wrote:
>>>>>
>>>>> Thank you.
>>>>> I followed the instructions and got the clientID,clientSecret and 
>>>>> RefreshToken.
>>>>> All are in place in the ads.properties.
>>>>>
>>>>> 1. Are these credentials permanent for as many API calls as I want do 
>>>>> I need to keep on running GetRefreshToken.java and changing the 
>>>>> RefreshToken? 
>>>>> 2. I tried to run the report DownloadCriteriaReport.java and saw 
>>>>> both oAuth2Credential and session got populated with no errors.
>>>>>When running the runExample method and passing the session as 
>>>>> parameter I get the next error - 
>>>>>Report was not downloaded. HTTP Response Code: 400, Trigger: 
>>>>> , Type: AuthenticationError.OAUTH_TOKEN_INVALID
>>>>>
>>>>>What am I missing?
>>>>>
>>>>> Thanks.
>>>>>
>>>>> On Tuesday, November 26, 2013 11:45:45 AM UTC+2, Danial Klimkin wrote:
>>>>>>
>>>>>> Hello,
>>>>>>
>>>>>>
>>>>>> Yes, you need the "Dependency JARs for the AdWords library 1.22.0 and 
>>>>>> Apache Axis without Maven" one.
>>>>>>
>>>>>>
>>>>>> -Danial, AdWords API Team.
>>>>>>
>>>>>>
>>>>>> On Monday, November 25, 2013 7:29:00 PM UTC+4, assaf wrote:
>>>>>>>
>>>>>>> No special reason for avoiding the new authentication method - just 
>>>>>>> never done it before.
>>>>>>> I just need the jars so the code will compile (no Maven plugin etc).
>>&g

Re: need an example for fetching Stats in Java without executing a report to file system - due to migration to v201309

2013-12-03 Thread assaf
I regenerated the refresh token, copied to the ads.properties file and 
still get the same error when generating the report 
(Report was not downloaded. HTTP Response Code: 400, Trigger: , Type: 
AuthenticationError.OAUTH_TOKEN_INVALID).

Perhaps the length of the other credentials are not OK?

api.adwords.refreshToken=1/xx-xxx_
api.adwords.clientId=-.apps.googleusercontent.com
api.adwords.clientSecret=
api.adwords.developerToken=xx-xxx
api.adwords.isPartialFailure=false
api.adwords.returnMoneyInMicros=true
api.adwords.reportDownloadTimeout=1

Any Idea?

Thanks.

On Monday, December 2, 2013 7:46:55 AM UTC+2, Takeshi Hagikura (AdWords API 
Team) wrote:
>
> Hi assaf,
>
> Let me confirm, does your refresh token look like in the form 
> of "1/Ix" as in this 
> guide<https://developers.google.com/adwords/api/docs/guides/soap>
> ?
> If not, you are likely to use a wrong token as a refresh token and I 
> recommend to use 
> GetRefreshToken.java<https://code.google.com/p/google-api-ads-java/source/browse/examples/adwords_axis/src/main/java/adwords/axis/auth/GetRefreshToken.java>
>  to 
> obtain a refresh token.
>
> Best,
> - Takeshi, AdWords API Team
>
> On Thursday, November 28, 2013 4:17:09 AM UTC+9, assaf wrote:
>>
>> Hi Danial,
>>
>> I re-generated all the codes again (clientId,refreshToken,clientSecret) 
>> and still receive the same error.
>> Any other idea?
>> Can I send all the info to someone so they can perhaps take a look?
>>
>> Thanks
>>
>> On Wednesday, November 27, 2013 3:25:44 PM UTC+2, Danial Klimkin wrote:
>>>
>>> Hello assaf,
>>>
>>>
>>> 1. Yes, unless the token is manually revoked. You don't need to run 
>>> GetRefreshToken for the same account again.
>>>
>>> 2. Make sure the ads.properties file is populated will all required 
>>> values. Also, note, you need to be logged in under your AdWords account 
>>> when obtaining the refresh token.
>>>
>>>
>>> -Danial, AdWords API Team.
>>>
>>>
>>> On Tuesday, November 26, 2013 7:27:48 PM UTC+4, assaf wrote:
>>>>
>>>> Thank you.
>>>> I followed the instructions and got the clientID,clientSecret and 
>>>> RefreshToken.
>>>> All are in place in the ads.properties.
>>>>
>>>> 1. Are these credentials permanent for as many API calls as I want do I 
>>>> need to keep on running GetRefreshToken.java and changing the 
>>>> RefreshToken? 
>>>> 2. I tried to run the report DownloadCriteriaReport.java and saw 
>>>> both oAuth2Credential and session got populated with no errors.
>>>>When running the runExample method and passing the session as 
>>>> parameter I get the next error - 
>>>>Report was not downloaded. HTTP Response Code: 400, Trigger: , 
>>>> Type: AuthenticationError.OAUTH_TOKEN_INVALID
>>>>
>>>>What am I missing?
>>>>
>>>> Thanks.
>>>>
>>>> On Tuesday, November 26, 2013 11:45:45 AM UTC+2, Danial Klimkin wrote:
>>>>>
>>>>> Hello,
>>>>>
>>>>>
>>>>> Yes, you need the "Dependency JARs for the AdWords library 1.22.0 and 
>>>>> Apache Axis without Maven" one.
>>>>>
>>>>>
>>>>> -Danial, AdWords API Team.
>>>>>
>>>>>
>>>>> On Monday, November 25, 2013 7:29:00 PM UTC+4, assaf wrote:
>>>>>>
>>>>>> No special reason for avoiding the new authentication method - just 
>>>>>> never done it before.
>>>>>> I just need the jars so the code will compile (no Maven plugin etc).
>>>>>>
>>>>>> Is what I am looking for referred as "Api-Ads"?
>>>>>> What would be what I am looking for?
>>>>>> https://code.google.com/p/google-api-ads-java/downloads/list
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>> On Monday, November 25, 2013 11:05:44 AM UTC+2, Danial Klimkin wrote:
>>>>>>>
>>>>>>> Hello assaf,
>>>>>>>
>>>>>>>
>>>>>>> With the new Java library it is required to use AdWordsSession for 
>>>>>>> credentials. Is there any reason you want to 

Re: need an example for fetching Stats in Java without executing a report to file system - due to migration to v201309

2013-11-27 Thread assaf
Hi Danial,

I re-generated all the codes again (clientId,refreshToken,clientSecret) and 
still receive the same error.
Any other idea?
Can I send all the info to someone so they can perhaps take a look?

Thanks

On Wednesday, November 27, 2013 3:25:44 PM UTC+2, Danial Klimkin wrote:
>
> Hello assaf,
>
>
> 1. Yes, unless the token is manually revoked. You don't need to run 
> GetRefreshToken for the same account again.
>
> 2. Make sure the ads.properties file is populated will all required 
> values. Also, note, you need to be logged in under your AdWords account 
> when obtaining the refresh token.
>
>
> -Danial, AdWords API Team.
>
>
> On Tuesday, November 26, 2013 7:27:48 PM UTC+4, assaf wrote:
>>
>> Thank you.
>> I followed the instructions and got the clientID,clientSecret and 
>> RefreshToken.
>> All are in place in the ads.properties.
>>
>> 1. Are these credentials permanent for as many API calls as I want do I 
>> need to keep on running GetRefreshToken.java and changing the 
>> RefreshToken? 
>> 2. I tried to run the report DownloadCriteriaReport.java and saw 
>> both oAuth2Credential and session got populated with no errors.
>>When running the runExample method and passing the session as 
>> parameter I get the next error - 
>>Report was not downloaded. HTTP Response Code: 400, Trigger: , 
>> Type: AuthenticationError.OAUTH_TOKEN_INVALID
>>
>>What am I missing?
>>
>> Thanks.
>>
>> On Tuesday, November 26, 2013 11:45:45 AM UTC+2, Danial Klimkin wrote:
>>>
>>> Hello,
>>>
>>>
>>> Yes, you need the "Dependency JARs for the AdWords library 1.22.0 and 
>>> Apache Axis without Maven" one.
>>>
>>>
>>> -Danial, AdWords API Team.
>>>
>>>
>>> On Monday, November 25, 2013 7:29:00 PM UTC+4, assaf wrote:
>>>>
>>>> No special reason for avoiding the new authentication method - just 
>>>> never done it before.
>>>> I just need the jars so the code will compile (no Maven plugin etc).
>>>>
>>>> Is what I am looking for referred as "Api-Ads"?
>>>> What would be what I am looking for?
>>>> https://code.google.com/p/google-api-ads-java/downloads/list
>>>>
>>>> Thanks.
>>>>
>>>> On Monday, November 25, 2013 11:05:44 AM UTC+2, Danial Klimkin wrote:
>>>>>
>>>>> Hello assaf,
>>>>>
>>>>>
>>>>> With the new Java library it is required to use AdWordsSession for 
>>>>> credentials. Is there any reason you want to avoid it?
>>>>>
>>>>> As per the file part, the library provides you with the input stream 
>>>>> object, you can read from it line by line if you prefer to.
>>>>>
>>>>>
>>>>> -Danial, AdWords API Team.
>>>>>
>>>>>
>>>>> On Friday, November 22, 2013 1:25:34 PM UTC+4, assaf wrote:
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Due to the change in the API for v201309 - Stats (cost,impressions 
>>>>>> etc..) are no longer part of the regular fields fetched by the Services.
>>>>>>
>>>>>> I was already pointed to examples such as and other AdHoc reports.
>>>>>>
>>>>>> What I need is a simple *Java *example for fetching the data from 
>>>>>> the report *without writing the file to the file system.*
>>>>>> I need the authentication to be the same as the examples in the API 
>>>>>> jar-
>>>>>>
>>>>>> I mean, in the same format as the standard examples provided in the 
>>>>>> API jar - like - DownloadAdHocReport.java using :
>>>>>>
>>>>>> AdWordsUser user = new AdWordsUser(); 
>>>>>>
>>>>>> and not the authentication method (OfflineCredentials/Session etc.) 
>>>>>>  used in -
>>>>>>
>>>>>> https://code.google.com/p/google-api-ads-java/source/browse/examples/adwords_axis/src/main/java/adwords/axis/v201309/reporting/DownloadCriteriaReport.java
>>>>>>
>>>>>> Your help is greatly appreciated.
>>>>>>
>>>>>> Thank you.
>>>>>>
>>>>>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: need an example for fetching Stats in Java without executing a report to file system - due to migration to v201309

2013-11-26 Thread assaf
Thank you.
I followed the instructions and got the clientID,clientSecret and 
RefreshToken.
All are in place in the ads.properties.

1. Are these credentials permanent for as many API calls as I want do I 
need to keep on running GetRefreshToken.java and changing the 
RefreshToken? 
2. I tried to run the report DownloadCriteriaReport.java and saw 
both oAuth2Credential and session got populated with no errors.
   When running the runExample method and passing the session as parameter 
I get the next error - 
   Report was not downloaded. HTTP Response Code: 400, Trigger: , 
Type: AuthenticationError.OAUTH_TOKEN_INVALID

   What am I missing?

Thanks.

On Tuesday, November 26, 2013 11:45:45 AM UTC+2, Danial Klimkin wrote:
>
> Hello,
>
>
> Yes, you need the "Dependency JARs for the AdWords library 1.22.0 and 
> Apache Axis without Maven" one.
>
>
> -Danial, AdWords API Team.
>
>
> On Monday, November 25, 2013 7:29:00 PM UTC+4, assaf wrote:
>>
>> No special reason for avoiding the new authentication method - just never 
>> done it before.
>> I just need the jars so the code will compile (no Maven plugin etc).
>>
>> Is what I am looking for referred as "Api-Ads"?
>> What would be what I am looking for?
>> https://code.google.com/p/google-api-ads-java/downloads/list
>>
>> Thanks.
>>
>> On Monday, November 25, 2013 11:05:44 AM UTC+2, Danial Klimkin wrote:
>>>
>>> Hello assaf,
>>>
>>>
>>> With the new Java library it is required to use AdWordsSession for 
>>> credentials. Is there any reason you want to avoid it?
>>>
>>> As per the file part, the library provides you with the input stream 
>>> object, you can read from it line by line if you prefer to.
>>>
>>>
>>> -Danial, AdWords API Team.
>>>
>>>
>>> On Friday, November 22, 2013 1:25:34 PM UTC+4, assaf wrote:
>>>>
>>>> Hi,
>>>>
>>>> Due to the change in the API for v201309 - Stats (cost,impressions 
>>>> etc..) are no longer part of the regular fields fetched by the Services.
>>>>
>>>> I was already pointed to examples such as and other AdHoc reports.
>>>>
>>>> What I need is a simple *Java *example for fetching the data from the 
>>>> report *without writing the file to the file system.*
>>>> I need the authentication to be the same as the examples in the API jar-
>>>>
>>>> I mean, in the same format as the standard examples provided in the API 
>>>> jar - like - DownloadAdHocReport.java using :
>>>>
>>>> AdWordsUser user = new AdWordsUser(); 
>>>>
>>>> and not the authentication method (OfflineCredentials/Session etc.) 
>>>>  used in -
>>>>
>>>> https://code.google.com/p/google-api-ads-java/source/browse/examples/adwords_axis/src/main/java/adwords/axis/v201309/reporting/DownloadCriteriaReport.java
>>>>
>>>> Your help is greatly appreciated.
>>>>
>>>> Thank you.
>>>>
>>>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: need an example for fetching Stats in Java without executing a report to file system - due to migration to v201309

2013-11-25 Thread assaf
No special reason for avoiding the new authentication method - just never 
done it before.
I just need the jars so the code will compile (no Maven plugin etc).

Is what I am looking for referred as "Api-Ads"?
What would be what I am looking for?
https://code.google.com/p/google-api-ads-java/downloads/list

Thanks.

On Monday, November 25, 2013 11:05:44 AM UTC+2, Danial Klimkin wrote:
>
> Hello assaf,
>
>
> With the new Java library it is required to use AdWordsSession for 
> credentials. Is there any reason you want to avoid it?
>
> As per the file part, the library provides you with the input stream 
> object, you can read from it line by line if you prefer to.
>
>
> -Danial, AdWords API Team.
>
>
> On Friday, November 22, 2013 1:25:34 PM UTC+4, assaf wrote:
>>
>> Hi,
>>
>> Due to the change in the API for v201309 - Stats (cost,impressions etc..) 
>> are no longer part of the regular fields fetched by the Services.
>>
>> I was already pointed to examples such as and other AdHoc reports.
>>
>> What I need is a simple *Java *example for fetching the data from the 
>> report *without writing the file to the file system.*
>> I need the authentication to be the same as the examples in the API jar-
>>
>> I mean, in the same format as the standard examples provided in the API 
>> jar - like - DownloadAdHocReport.java using :
>>
>> AdWordsUser user = new AdWordsUser(); 
>>
>> and not the authentication method (OfflineCredentials/Session etc.) 
>>  used in -
>>
>> https://code.google.com/p/google-api-ads-java/source/browse/examples/adwords_axis/src/main/java/adwords/axis/v201309/reporting/DownloadCriteriaReport.java
>>
>> Your help is greatly appreciated.
>>
>> Thank you.
>>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


need an example for fetching Stats in Java without executing a report to file system - due to migration to v201309

2013-11-22 Thread assaf
Hi,

Due to the change in the API for v201309 - Stats (cost,impressions etc..) 
are no longer part of the regular fields fetched by the Services.

I was already pointed to examples such as and other AdHoc reports.

What I need is a simple *Java *example for fetching the data from the 
report *without writing the file to the file system.*
I need the authentication to be the same as the examples in the API jar-

I mean, in the same format as the standard examples provided in the API jar 
- like - DownloadAdHocReport.java using :

AdWordsUser user = new AdWordsUser(); 

and not the authentication method (OfflineCredentials/Session etc.)  used 
in -
https://code.google.com/p/google-api-ads-java/source/browse/examples/adwords_axis/src/main/java/adwords/axis/v201309/reporting/DownloadCriteriaReport.java

Your help is greatly appreciated.

Thank you.

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Reading stats like impressions or total cost with v201309 without downloading a file

2013-11-18 Thread assaf
Thank you Danial,

I was wondering about an example for the specific implementation of HTTP 
requests as you suggested for my needs (not actually writing the report 
data to a file).



On Monday, November 18, 2013 10:19:15 AM UTC+2, Danial Klimkin wrote:
>
> Hello assaf,
>
>
> The Java client library has support for report downloads. Please see this 
> example:
>
>   
> https://code.google.com/p/google-api-ads-java/source/browse/examples/adwords_axis/src/main/java/adwords/axis/v201309/reporting/DownloadCriteriaReport.java
>
>
> -Danial, AdWords API Team.
>
>
> On Saturday, November 16, 2013 10:49:22 PM UTC+4, assaf wrote:
>>
>> Hi,
>>
>> Can anyone post a link to such an example - using HTTP Request for 
>> adwords report in  Java ?
>>
>> Thanks.
>>
>> On Thursday, November 14, 2013 11:06:14 AM UTC+2, Danial Klimkin wrote:
>>>
>>> Hello Bastian, assaf,
>>>
>>>
>>> Bastian, please refer to the blog post mentioned above:
>>>
>>>   
>>> googleadsdeveloper.blogspot.com/2013/10/adwords-api-how-to-migrate-from-stats.html
>>>
>>> assaf, you can get a report via HTTP request and then it's up to you 
>>> whether you want to keep it in memory or save to a file. Most of our client 
>>> libraries support both flows.
>>>
>>>
>>> -Danial, AdWords API Team.
>>>
>>>
>>> On Thursday, November 14, 2013 10:40:58 AM UTC+4, assaf wrote:
>>>>
>>>> *Can some one from adwords please confirm this:*
>>>>
>>>> In order to get Campaign/Adgroup/Ad/Keywords stats 
>>>> (impressions/CPC/Cost etc.)  a report needs to be generated and written to
>>>> your file system. If you have a web application that needs this info - 
>>>> the file in the file system must be read for this???
>>>>
>>>> Thank you.
>>>>
>>>>
>>>> On Tuesday, November 12, 2013 9:35:12 AM UTC+2, 
>>>> b.ka...@mso-digital.dewrote:
>>>>>
>>>>> Hi there,
>>>>>  
>>>>> with AdWords API i want to get some stats about my campaigns like 
>>>>> impressions, costs, clicks, ctr.
>>>>> With older API versions like 201306 it was very easy to get these 
>>>>> stats with the type "Stats".
>>>>>  
>>>>> In v201309 this type is deprecated. Instead the 
>>>>> "ReportDefinitionService" should be used, to download the
>>>>> desired report file in *.csv or *.xls.
>>>>>  
>>>>> If i want to show some stats in a web application it is very 
>>>>> circumstantial to download such a report every time and parse it 
>>>>> afterwards 
>>>>> (every time
>>>>> i refresh that page).
>>>>>  
>>>>> Is there an easier way to read out these stats? I don't know why 
>>>>> things were made so complicated in v201309. Before it was very easy to 
>>>>> include these stats
>>>>> data in own web apps.
>>>>>  
>>>>> Best Regards
>>>>> Bastian K.
>>>>>
>>>>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Reading stats like impressions or total cost with v201309 without downloading a file

2013-11-16 Thread assaf
Hi,

Can anyone post a link to such an example - using HTTP Request for adwords 
report in  Java ?

Thanks.

On Thursday, November 14, 2013 11:06:14 AM UTC+2, Danial Klimkin wrote:
>
> Hello Bastian, assaf,
>
>
> Bastian, please refer to the blog post mentioned above:
>
>   
> googleadsdeveloper.blogspot.com/2013/10/adwords-api-how-to-migrate-from-stats.html
>
> assaf, you can get a report via HTTP request and then it's up to you 
> whether you want to keep it in memory or save to a file. Most of our client 
> libraries support both flows.
>
>
> -Danial, AdWords API Team.
>
>
> On Thursday, November 14, 2013 10:40:58 AM UTC+4, assaf wrote:
>>
>> *Can some one from adwords please confirm this:*
>>
>> In order to get Campaign/Adgroup/Ad/Keywords stats (impressions/CPC/Cost 
>> etc.)  a report needs to be generated and written to
>> your file system. If you have a web application that needs this info - 
>> the file in the file system must be read for this???
>>
>> Thank you.
>>
>>
>> On Tuesday, November 12, 2013 9:35:12 AM UTC+2, b.ka...@mso-digital.dewrote:
>>>
>>> Hi there,
>>>  
>>> with AdWords API i want to get some stats about my campaigns like 
>>> impressions, costs, clicks, ctr.
>>> With older API versions like 201306 it was very easy to get these stats 
>>> with the type "Stats".
>>>  
>>> In v201309 this type is deprecated. Instead the 
>>> "ReportDefinitionService" should be used, to download the
>>> desired report file in *.csv or *.xls.
>>>  
>>> If i want to show some stats in a web application it is very 
>>> circumstantial to download such a report every time and parse it afterwards 
>>> (every time
>>> i refresh that page).
>>>  
>>> Is there an easier way to read out these stats? I don't know why things 
>>> were made so complicated in v201309. Before it was very easy to include 
>>> these stats
>>> data in own web apps.
>>>  
>>> Best Regards
>>> Bastian K.
>>>
>>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Reading stats like impressions or total cost with v201309 without downloading a file

2013-11-13 Thread assaf
*Can some one from adwords please confirm this:*

In order to get Campaign/Adgroup/Ad/Keywords stats (impressions/CPC/Cost 
etc.)  a report needs to be generated and written to
your file system. If you have a web application that needs this info - the 
file in the file system must be read for this???

Thank you.


On Tuesday, November 12, 2013 9:35:12 AM UTC+2, b.ka...@mso-digital.de 
wrote:
>
> Hi there,
>  
> with AdWords API i want to get some stats about my campaigns like 
> impressions, costs, clicks, ctr.
> With older API versions like 201306 it was very easy to get these stats 
> with the type "Stats".
>  
> In v201309 this type is deprecated. Instead the "ReportDefinitionService" 
> should be used, to download the
> desired report file in *.csv or *.xls.
>  
> If i want to show some stats in a web application it is very 
> circumstantial to download such a report every time and parse it afterwards 
> (every time
> i refresh that page).
>  
> Is there an easier way to read out these stats? I don't know why things 
> were made so complicated in v201309. Before it was very easy to include 
> these stats
> data in own web apps.
>  
> Best Regards
> Bastian K.
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Reading stats like impressions or total cost with v201309 without downloading a file

2013-11-12 Thread assaf
I have the same issue.
According to this 
http://googleadsdeveloper.blogspot.co.il/2013/10/adwords-api-how-to-migrate-from-stats.html
I don't see a way of avoiding the reports.

On Tuesday, November 12, 2013 9:35:12 AM UTC+2, b.ka...@mso-digital.de 
wrote:
>
> Hi there,
>  
> with AdWords API i want to get some stats about my campaigns like 
> impressions, costs, clicks, ctr.
> With older API versions like 201306 it was very easy to get these stats 
> with the type "Stats".
>  
> In v201309 this type is deprecated. Instead the "ReportDefinitionService" 
> should be used, to download the
> desired report file in *.csv or *.xls.
>  
> If i want to show some stats in a web application it is very 
> circumstantial to download such a report every time and parse it afterwards 
> (every time
> i refresh that page).
>  
> Is there an easier way to read out these stats? I don't know why things 
> were made so complicated in v201309. Before it was very easy to include 
> these stats
> data in own web apps.
>  
> Best Regards
> Bastian K.
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Reading stats like impressions or total cost with v201309 without downloading a file

2013-11-12 Thread assaf
I have the same issue.
According to this 
http://googleadsdeveloper.blogspot.co.il/2013/10/adwords-api-how-to-migrate-from-stats.html
I don't see a way of avoiding the reports.

On Tuesday, November 12, 2013 9:35:12 AM UTC+2, b.ka...@mso-digital.de 
wrote:
>
> Hi there,
>  
> with AdWords API i want to get some stats about my campaigns like 
> impressions, costs, clicks, ctr.
> With older API versions like 201306 it was very easy to get these stats 
> with the type "Stats".
>  
> In v201309 this type is deprecated. Instead the "ReportDefinitionService" 
> should be used, to download the
> desired report file in *.csv or *.xls.
>  
> If i want to show some stats in a web application it is very 
> circumstantial to download such a report every time and parse it afterwards 
> (every time
> i refresh that page).
>  
> Is there an easier way to read out these stats? I don't know why things 
> were made so complicated in v201309. Before it was very easy to include 
> these stats
> data in own web apps.
>  
> Best Regards
> Bastian K.
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


API error - RateExceededError.RATE_EXCEEDED

2013-11-09 Thread assaf
Hi,

This morning I see my API tool was returning the error bellow -

This was only after using the tool for 1 day.
I understand that there is a 1 operations limit per day. I really don't 
think this is my case.

a. How can I know how many operations were performed yesterday from my 
developer key?
b. How can I increase this?

Thanks.

The error:

{https://adwords.google.com/api/adwords/cm/v201302}ApiExceptionFault:[RateExceededError
 
]ApiExceptionhttp://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="RateExceededError">RateExceededError.RATE_EXCEEDEDRateExceededErrorRATE_EXCEEDEDBillingPerDayDEVELOPER86400

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


how to change test account to production account after developer token approved?

2013-09-01 Thread assaf
Hi,
 
My developer token was approved but my account still appears as a "Test 
Account".
 
How do I change this to be a production account and start using real API 
calls?
 
Thanks.

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: /v201302 InternalApiError.UNEXPECTED_INTERNAL_API_ERROR in SANDBOX

2013-04-23 Thread assaf
>From what I see the update of the campaign details are fine the only issue 
is the budget.
 
*What would be the correct way to update the campaign budget -*
** 
*I try to create a new one with the BudgetService but get a duplicate name 
error when trying to create a new one (one exists with the same name).*
*Do I need to first delete the old budget and create a new one and then set 
it to the campaign or some kind of update of the budget?*
 
By the way , the example code in Java for UpdateCampaign.java return errors 
regarding SHARED_BUDGET (in this code the budget is updated
on the Campaign object like in previous versions of the API).
 
Thanks.

On Wednesday, April 17, 2013 9:06:14 PM UTC+2, assaf wrote:

> Hi,
>
> I get this error when trying to execute an update of a campaign name or 
> budget?
>
> Is there a know issue with the test environment at the moment?
>
> Thanks.
>
> {https://adwords.google.com/api/adwords/cm/v201302}ApiExceptionFault:[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
>  
> @ com.google.ads.api.services.common.error.InternalApiError
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Test account problems?

2013-04-23 Thread assaf
Hi,
 
I seem not to be getting this issue anymore as much as I did.
 
I will update if I need assitance.
 
Thank you.

On Tuesday, April 23, 2013 9:54:00 PM UTC+2, David Torres (AdWords API 
Team) wrote:

> Hi,
>
> There are not known issues with test accounts that we are aware of. What 
> specific timeout errors are you seeing? are you using a client lib? which 
> one? have your tried to target a regular production account, do you see the 
> same error? Are you sure is not a network issue on your side? have your 
> tried running at trace route?
>
> Sorry for the rant of questions, I need more information to help you 
> troubleshoot the problem.
>
> Best,
>
> - David Torres - AdWords API Team
>
> On Friday, April 19, 2013 11:11:49 AM UTC-4, Ace wrote:
>>
>> Are there any known issues now with test accounts?
>>  
>> I am trying to add campaigns or get adgroup details and encounter 
>> problems of timed out connections (as if I am not online) ?
>>  
>> Thanks.
>>  
>>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Trouble adding non ASCII keywords

2013-04-23 Thread assaf
Hi,
 
I guess this was a client encoding issue that I resolved and the keyword 
text does except the hebrew chars now.
 
Thanks anyway.

On Tuesday, April 23, 2013 9:38:15 PM UTC+2, assaf wrote:

> Hi,
>  
> I am trying to add keywords in hebrew and I get the INVALID_CHARS error.
> From what I read I need to convert the text to hex based (Unicode won't 
> work).
>
> for example:   äåè îåáééì
>
> Is this correct?
>
> This value is added properly with the API but I have trouble showing it  
> back in the GUI properly.
>
> How would I convert it in JAVA so it is shown properly? Will this same 
> logic also work with regular Latin letters?
>
>  
>
> Thanks.
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Trouble adding non ASCII keywords

2013-04-23 Thread assaf
Hi,
 
I am trying to add keywords in hebrew and I get the INVALID_CHARS error.
>From what I read I need to convert the text to hex based (Unicode won't 
work).

for example:   äåè îåáééì

Is this correct?

This value is added properly with the API but I have trouble showing it  
back in the GUI properly.

How would I convert it in JAVA so it is shown properly? Will this same 
logic also work with regular Latin letters?

 

Thanks.

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: /v201302 InternalApiError.UNEXPECTED_INTERNAL_API_ERROR in SANDBOX

2013-04-18 Thread assaf
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)

Thanks.


On Thursday, April 18, 2013 12:49:34 PM UTC+2, Anash P. Oommen (AdWords API 
Team) wrote:
>
> Hi Aasaf,
>
> Could you post a sanitized SOAP request and response log? I'll investigate 
> this further.
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor.
>
> On Thursday, April 18, 2013 12:36:14 AM UTC+5:30, assaf wrote:
>>
>> Hi,
>>
>> I get this error when trying to execute an update of a campaign name or 
>> budget?
>>
>> Is there a know issue with the test environment at the moment?
>>
>> Thanks.
>>
>> {https://adwords.google.com/api/adwords/cm/v201302}ApiExceptionFault:[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
>>  
>> @ com.google.ads.api.services.common.error.InternalApiError
>>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: upgrade api to v201302 update campaign budget issue

2013-04-18 Thread assaf
)
 at 
com.google.api.adwords.v201302.cm.CampaignServiceSoapBindingStub.mutate(CampaignServiceSoapBindingStub.java:1290)
 at handlers.MachineHandler.updateMachine(MachineHandler.java:493)
 at SaveMachine.doPrivateExecute(SaveMachine.java:73)
 at BaseServlet.doPost(BaseServlet.java:61)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
 at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
 at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
 at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
 at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
 at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
 at java.lang.Thread.run(Unknown Source)

Thanks.

On Monday, April 15, 2013 6:35:22 PM UTC+2, assaf wrote:

> Hi,
>  
> After the upgrade I get an error - [BudgetError.CANNOT_EDIT_SHARED_BUDGET 
> @ operations[0].operand.budget.amount]
>  
> From what I read I see I mustn't use the CampaignService for the update of 
> the daily budget.
> Should I be using this by updating the CampaignStats with the 
> CampaignSharedSetService?
>  
> Where can I find Java code examples for this?
>  
> Thanks.
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




/v201302 InternalApiError.UNEXPECTED_INTERNAL_API_ERROR in SANDBOX

2013-04-17 Thread assaf


Hi,

I get this error when trying to execute an update of a campaign name or 
budget?

Is there a know issue with the test environment at the moment?

Thanks.

{https://adwords.google.com/api/adwords/cm/v201302}ApiExceptionFault:[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
 
@ com.google.ads.api.services.common.error.InternalApiError

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




upgrade api to v201302 update campaign budget issue

2013-04-15 Thread assaf
Hi,
 
After the upgrade I get an error - [BudgetError.CANNOT_EDIT_SHARED_BUDGET @ 
operations[0].operand.budget.amount]
 
>From what I read I see I mustn't use the CampaignService for the update of 
the daily budget.
Should I be using this by updating the CampaignStats with the 
CampaignSharedSetService?
 
Where can I find Java code examples for this?
 
Thanks.

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Translated products & services csv file

2013-01-26 Thread assaf
Hi,
 
Are the resource CSV files , like , products & services table available in 
other languages?
 
Thanks

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en





Converting test from Sanbox env. to Test Accounts

2012-11-24 Thread assaf
Hi,
 
I read that the Sandbox is now deprecated and this is why it is stopped 
working for me.
I'm in the process of implementing the RMF for getting the developer's key.
 
I filled out the form in order to recieve access to a test account (the one 
with MCC customer_id,adwords account id and 4 chars of the developer's key 
I have).
 
My question - will the code itself I have already implemented need to be 
changed?
Where to I perform the change in order not to access the sandbox anymore 
but rather the new Test Account (once I am confirmed)?
 
Thanks.

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en





reporting in Sandbox

2012-11-20 Thread assaf
I'm trying to implement the reporting section of the RMF.
When I implemented the *ACCOUNT_PERFORMANCE_REPORT type I got an empty 
reports (with zeros).
I guess this was OK due to the fact this is a sandbox environment with no 
real activity.*
** 
*I next tried to build a Campaign performance report and I got a single row 
report where all the values where "--".*
*I guess I am doing something wrong.
I want to report on a single campaign at a time (I created a Predicate and 
set the CampaignId).
What can be the problem?
Bellow is the code.*
*Thanks.*
** 

// Create selector.
Selector selector = new Selector();
List fields = selector.getFields();
fields.add("CampaignId");
fields.add("CampaignName");
fields.add("Status");
fields.add("Clicks");
fields.add("Cost");
fields.add("Impressions");
fields.add("AverageCpc");
fields.add("Ctr");
fields.add("AverageCpm");
fields.add("AveragePosition");
fields.add("ConversionRate");
fields.add("AdNetworkType1");
fields.add("Device");
fields.add("ClickType");

List peridicates =  selector.getPredicates();
 // Create Campaign predicate
  Predicate campaignPredicate = new Predicate();
  campaignPredicate.setField("CampaignId");
  campaignPredicate.setOperator(PredicateOperator.EQUALS);
  campaignPredicate.getValues().add(String.valueOf(pCamapaignID));

// Create report definition.
ReportDefinition reportDefinition = new ReportDefinition();
reportDefinition.setReportName("Campaign Performance report for 
Campaign:" + machine.getMachineName());

reportDefinition.setDateRangeType(ReportDefinitionDateRangeType.YESTERDAY);

reportDefinition.setReportType(ReportDefinitionReportType.CAMPAIGN_PERFORMANCE_REPORT);
reportDefinition.setDownloadFormat(DownloadFormat.CSVFOREXCEL);
reportDefinition.setIncludeZeroImpressions(true);
reportDefinition.setSelector(selector);

File newFile =  File.createTempFile("reportDownload-" + 123 + 
"-",".csv");

FileOutputStream fos = new FileOutputStream(newFile); 
 

ReportDownloadResponse reportResponse = 
ReportUtils.downloadReport(user, reportDefinition, fos);

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en





Re: How can we get full list of Currencies and Timezones?

2012-10-16 Thread assaf
Hi,
 
How about the product & services categories list?
 
Thanks.
 

On Wednesday, September 5, 2012 5:20:22 PM UTC+2, Kevin Winter wrote:

> Hi Oliver,
>   Currencies and timezones change infrequently enough that making an API 
> call to retrieve live values would not be efficient.  We recommend storing 
> these values in a resource/file and re-using them rather than having your 
> application dynamically update them.
>
> - Kevin Winter
> AdWords API Team
>
> On Friday, August 31, 2012 7:00:14 AM UTC-4, Oliver wrote:
>>
>> I'd like to programmatically get the full list of currencies and 
>> timezones listed here:
>>
>> https://developers.google.com/adwords/api/docs/appendix/currencycodes
>> https://developers.google.com/adwords/api/docs/appendix/timezones
>>
>> The *ConstantDataService *allows me to get most of the System Codes, but 
>> not these two unfortunately.  
>>
>> Any ideas where else I can get these lists programmatically?
>>
>> Oliver
>>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en