Re: Detect failure type

2011-11-04 Thread Paulo Fernandes
File reportFile = null;
for (int i = 0; i < RETRIES_COUNT; i++) {
  try {
reportFile =
new ReportDownloader(reportDefinitionXml, 
client.getCustomerId()).downloadReport(authToken);
if (reportFile != null) {
  int total = numCompleted.incrementAndGet();
  System.out.format("Downloaded report for %d, %d/%d\n", 
client.getCustomerId(), total, clients.size());
  break;
}
  } catch (Exception e) {
// In a production application, it would be better to use a
// logging framework and detect if the failure is temporary 
or
// permanent.
 System.out.println( client.getCustomerId() + " -> " + 
e.getMessage() );
  }

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


Detect failure type

2011-11-04 Thread Paulo Fernandes
Hi

How can I detect if a failure is temporary or permanent?

I'm using the report definition ad hoc download v201109

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


Errors while running get_client_customer_id.py

2011-11-04 Thread L
Hi,

I was initially using v201101 and now I am transitioning to v201109. I 
installed everything as given in the AdWords API Python Client Library 
Readme. 
Now when I am trying to run get_client_customer_id.py it gives me the 
following errors:

Traceback (most recent call last):
  File "get_client_customer_id.py", line 41, in 
'https://adwords.google.com', 'v201109')
  File "../../../../adspygoogle/adwords/AdWordsClient.py", line 1061, in 
GetInfoService
self.__logger, 'InfoService')
  File "../../../../adspygoogle/adwords/GenericAdWordsService.py", line 92, 
in __init__
namespace, namespace_extractor)
  File "../../../../adspygoogle/common/GenericApiService.py", line 101, in 
__init__
wsdl_url, noroot=1, http_proxy=self._op_config['http_proxy'])
  File "../../../../adspygoogle/SOAPpy/WSDL.py", line 62, in __init__
self.wsdl = reader.loadFromStream(stream, wsdlsource)
  File "../../../../adspygoogle/SOAPpy/wstools/WSDLTools.py", line 28, in 
loadFromStream
document = DOM.loadDocument(stream)
  File "../../../../adspygoogle/SOAPpy/wstools/Utility.py", line 602, in 
loadDocument
return xml.dom.minidom.parse(data)
  File "/usr/lib64/python2.7/site-packages/_xmlplus/dom/minidom.py", line 
1915, in parse
return expatbuilder.parse(file)
  File "/usr/lib64/python2.7/site-packages/_xmlplus/dom/expatbuilder.py", 
line 930, in parse
result = builder.parseFile(file)
  File "/usr/lib64/python2.7/site-packages/_xmlplus/dom/expatbuilder.py", 
line 207, in parseFile
parser.Parse(buffer, 0)
xml.parsers.expat.ExpatError: syntax error: line 1, column 0

Could someone point out what could be the problem? 

Thanks a lot.

~L

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: [ReportDefinitionError. CUSTOMER_SERVING_TYPE_REPORT_MISMATCH @ operations]

2011-11-04 Thread scrat
Now i'm getting the client reports with the ad hoc report download. It
works fine.

Thanks for the feedback.

Andreas

On Nov 4, 7:57 pm, Kevin Winter  wrote:
> Hi,
>   @iateadonut, this is unsupported and will be going away.  We strongly
> encourage everyone to migrate to v201109 AdHoc 
> reports:http://code.google.com/apis/adwords/docs/reportingtopics.html#adhoc
>
> @Andreas, Yes, this is the recommended approach.  Please see this blog post
> for more 
> info:http://adwordsapi.blogspot.com/2011/10/downloading-reports-for-lots-o...
>
> - Kevin Winter
> AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Problem getting Platform criterion

2011-11-04 Thread Kevin Winter
Hi Neha,
  Just wanted to let you know we resolved this issue with the sandbox - 
this should work now.

- Kevin Winter
AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Unexpected API error in Targeting Idea Service

2011-11-04 Thread Kevin Winter
Hi Ian,
  Ok, I found the problem.  You need to specify the matchType for the 
keyword in the RelatedToKeywordSearchParameter.  I just tried the same 
request in SoapUI with one tweak and it works.  Change it to this:

  
hot sauce
BROAD
  

I also was able to remove the KeywordMatchTypeSearchParameter without the 
results changing.  I think thats intended for use with IDEAS requests, not 
STATS requests.

- Kevin Winter
AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: [ReportDefinitionError. CUSTOMER_SERVING_TYPE_REPORT_MISMATCH @ operations]

2011-11-04 Thread Kevin Winter
Hi,
  @iateadonut, this is unsupported and will be going away.  We strongly 
encourage everyone to migrate to v201109 AdHoc reports: 
http://code.google.com/apis/adwords/docs/reportingtopics.html#adhoc

@Andreas, Yes, this is the recommended approach.  Please see this blog post 
for more info:
http://adwordsapi.blogspot.com/2011/10/downloading-reports-for-lots-of-client.html

- Kevin Winter
AdWords API Team

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


Your API Developer Token Has Been Disabled

2011-11-04 Thread Yacov Schondorf
Hello,
I got this terrible problem and reapplied for the token more than 6
weeks ago. Still no reply from Google. What can be done?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Unexpected API error in Targeting Idea Service

2011-11-04 Thread Ian Knox
Hi Kevin, thanks for looking into this for me--
That extra tag shouldn't have been there, but after fixing it the results 
are still the same-- log attached.

Ian

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


soap_xml.log
Description: Binary data


Re: still didn't receive an approval for the Token.

2011-11-04 Thread zulfazli shaharudeen
Hi Umid,

I have been waiting for 3 weeks too. 
Google, help us out...please :)

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: [ReportDefinitionError. CUSTOMER_SERVING_TYPE_REPORT_MISMATCH @ operations]

2011-11-04 Thread iateadonut


You can get a report for all clients.

The php in the first post is wrong.  Where it says:
  $user = new AdWordsUser();
  $user->SetClientId(eigene ID);
  $user->LogDefaults();

Escape out the second line:
  $user = new AdWordsUser();
  //$user->SetClientId(eigene ID);
  $user->LogDefaults();
and the report will be generated for all clients that you have access
to.


Also, if you want to actually KNOW which account each keyword belongs
to (or adGroup, whatever kind of report you're running):
$selector->fields = array('AdGroupId', 'Id', 'KeywordText',
  'KeywordMatchType', 'Impressions', 'Clicks', 'Cost');
You should add 'ExternalCustomerId' as a selector.


Please reference 'AddCrossClientReportDefinition.php' in your examples
folder.
That script will return $reportDefinition->id - you need to use that
id in another script:
DownloadCrossClientReport.php

which will have the line:
$reportDefinitionId = (float) '';

Just add your $reportDefinition->id there and you should be able to
download it.



The following is a script that works for adding a cross-client report
definition.  I've left all my notes in (there are WAY too many fields
in the selector - you probably don't want all those.  If you need to
find all the options for a report, use 'GetReportFields.php'), so
you'll have to modify the file for it to work:

try {
  // Get AdWordsUser from credentials in "../auth.ini"
  // relative to the AdWordsUser.php file's directory.
  $user = new AdWordsUser();

  // Log SOAP XML request and response.
  $user->LogDefaults();

  // Get the GetReportDefinitionService.
  $reportDefinitionService = $user-
>GetReportDefinitionService('v201101');

  // Create selector.
  $selector = new Selector();

//$selector->fields = array('ExternalCustomerId',
'AccountDescriptiveName', 'PrimaryUserLogin', 'Date',
'AdNetworkType2', 'ValuePerConversion', 'AveragePosition',
'AverageCpc', 'AverageCpm', 'Ctr', 'CampaignName', 'CampaignId',
'Status', 'Clicks', 'AccountTimeZoneId', 'ConversionRate',
'Conversions', 'Cost', 'CostPerConversion',
'CostPerConversionManyPerClick', 'DerivedDailyBudget', 'Impressions',
'InvalidClicks', 'InvalidClickRate', 'TotalConvValue',
'ConversionsManyPerClick', 'ExactMatchImpressionShare',
'ImpressionShare', 'BudgetLostImpressionShare',
'QualityLostImpressionShare'); //fields for cross-client campaign
performance report

$selector->fields = array('AdGroupId', 'AdGroupName',
'AdNetworkType1', 'AdNetworkType2', 'AverageCpc', 'AverageCpm',
'AveragePosition',  'CampaignId', 'CampaignStatus', 'Clicks',
'ConversionOptimizerBidType', 'ConversionRate',
'ConversionRateManyPerClick', 'Conversions',
'ConversionsManyPerClick', 'ConversionValue', 'Cost',
'CostPerConversion', 'CostPerConversionManyPerClick', 'Ctr', 'Date',
'DeduplicationMode', 'EnhancedCpcEnabled', 'ExternalCustomerId', 'Id',
'Impressions', 'KeywordContentMaxCpc', 'KeywordMaxCpc', 'MaxCpm',
'PercentCpa', 'ProxyKeywordMaxCpc', 'ProxySiteMaxCpc', 'SiteMaxCpc',
'Slot', 'Status', 'TargetCpa', 'TotalConvValue', 'ValuePerConv',
'ValuePerConversion', 'ValuePerConversionManyPerClick',
'ValuePerConvManyPerClick', 'ViewThroughConversions'); //adGroup
report

$selector->fields = array('Date', 'ExternalCustomerId', 'Id',
'CampaignId', 'AdGroupId', 'Status', 'KeywordText', 'AdNetworkType2',
'Impressions', 'Clicks', 'ConversionRate', 'Conversions', 'Cost',
'CostPerConversion', 'AverageCpc', 'AverageCpm', 'AveragePosition'); //
keword report

  // Create report definition.
  $reportDefinition = new ReportDefinition();
  $reportDefinition->reportName = 'whatever'; //. uniqid();

  $reportDefinition->dateRangeType = 'CUSTOM_DATE';
  $reportDefinition->dateRangeType = 'YESTERDAY';
  //$selector->dateRange = new DateRange('20110101','20111012');
  //$reportDefinition->dateRangeType = 'THIS_MONTH';
  $reportDefinition->reportType = 'KEYWORDS_PERFORMANCE_REPORT';
  //$reportDefinition->reportType = 'ADGROUP_PERFORMANCE_REPORT';
  //$reportDefinition->reportType = 'CAMPAIGN_PERFORMANCE_REPORT';
  //$reportDefinition->reportType = 'ACCOUNT_PERFORMANCE_REPORT';
  $reportDefinition->downloadFormat = 'CSV';
  $reportDefinition->selector = $selector;
  $reportDefinition->crossClient = TRUE;

  // Create operations.
  $operation = new ReportDefinitionOperation();
  $operation->operand = $reportDefinition;
  $operation->operator = 'ADD';

  $operations = array($operation);

  // Add report definition.
  $result = $reportDefinitionService->mutate($operations);

  // Display report definitions.
  if ($result != null) {
foreach ($result as $reportDefinition) {
  printf("Report definition with name '%s' and id '%s' was added.
\n",
  $reportDefinition->reportName, $reportDefinition->id);
}
  } else {
print "No report definitions were added.\n";
  }
} catch (Exception $e) {
  print $e->getMessage();
}


On Nov 3, 7:47 am, scrat  wrote:
> Is it now possible to run report on behalf of a mcc account using
> Adhoc Reports?
>
> I also coul

Re: AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED

2011-11-04 Thread kevinm
I have figured out a solution.

After loading a new keyword, I allowed a 5 second wait until adding
the ad parameters. Everything now works as expected.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: advanced broad

2011-11-04 Thread iateadonut
yes

On Nov 4, 4:58 am, Dmitriy  wrote:
> Do you mean
> BROAD: some keyword
> "ADVANCED BROAD": +some +keyword
> ?
>
> On 2 ноя, 23:11, iateadonut  wrote:
>
>
>
>
>
>
>
> >http://code.google.com/apis/adwords/docs/reference/latest/AdGroupCrit...
>
> > How do we do "advanced broad" type?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: API Reports Pending Forever

2011-11-04 Thread Kevin Winter
Hi,
  V13 reports are deprecated and we strongly advise migrating to v201109 
AdHoc reports as v13 reports will be sunset at the end of February 2012: 
http://code.google.com/apis/adwords/docs/reportingtopics.html#adhoc

- Kevin Winter
AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: LocationCriterionService uses a different DateRange object

2011-11-04 Thread Kevin Winter
Hi,
  In this case, because the LocationCriterionService doesn't make use of 
the DateRange fields, this shouldn't in practice actually get sent to the 
API.  Depending on how your framework serializes objects, you should be 
able to use the regular generic selector structure for this service.  I'll 
check with the core engineering team to see how they want to handle this 
discrepancy, but as long as you don't send a DateRange to the API (which 
isn't needed) you shouldn't have any problems.

- Kevin Winter
AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Problem getting Platform criterion

2011-11-04 Thread Kevin Winter
Hi Neha,
  Are you making these requests against production or the sandbox?  I could 
not reproduce this in production, but in the sandbox I could.

- Kevin Winter
AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Stats.Network in API calls and/or Report-based workarounds

2011-11-04 Thread Kevin Winter
Hi all,
  Just to follow up to jstedman and iateadonut's responses, Cross Client 
Reports will not be supported moving forward and therefore jstedman's 
suggestion of v201109 reports makes the most sense.  It is also advisable 
to run a dialy report as iateadonut mentioned, but it will be free with 
v201109 reports.  It is unlikely that we will add this type of segmentation 
the non-report API calls.

- Kevin Winter
AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: adding developer to account?

2011-11-04 Thread Kevin Winter
Hi,
  The DeveloperToken is only used for billing API units.  You can simply 
use the credentials of account B with the developer token from account A to 
make API calls against account B.

- Kevin WInter
AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Fetch Keyword object from Adwords account

2011-11-04 Thread Kevin Winter
Hi,
  The PHP example as posted will get the job done, but there are a few 
improvements that could be made to make it more efficient.

- Since all these keywords appear to be in the same account, you can move 
the instantiation of the AdWordsUser outside the while loop.  This is 
especially important if you will be requesting a large number of keywords, 
because with the current code it will request an AuthToken (valid for two 
weeks) for each keyword, which could easily trigger a CAPTCHA challenge.
- Likewise, you could change the predicate to include ALL AdGroupIds 
instead of one per request.

I'd also like to mention that you can use Predicates when defining reports, 
which may help them return more quickly (especially for a large number of 
Keywords).

- Kevin Winter
AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: different keywords order - > different search volume on broad match?

2011-11-04 Thread Kevin Winter
Hi,
  This AdWords Help article explains how Broad Match works and includes 
links to other resources: 
http://adwords.google.com/support/aw/bin/answer.py?hl=en&answer=6136

- Kevin Winter
AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 get the google adwords api after creation of MCC account

2011-11-04 Thread Kevin Winter
Hi,
  Once you have an MCC account, you can follow these steps to apply for 
access to the AdWords API: 
https://adwords.google.com/support/aw/adwordsapi/bin/answer.py?hl=en&answer=15104

We currently expect that applications will be address within 5-6 weeks from 
the date of application.  In the meantime, we recommend developing against 
the AdWords API Sandbox: 
http://code.google.com/apis/adwords/docs/sandbox.html

- Kevin Winter
AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: OAuth - didn't see it mentioned so I thought I'd ask

2011-11-04 Thread Kevin Winter
Hi Vijayraj,
  I apologize that the recent release of the Java client library does not 
have OAuth support.  We have an internal project that has rewritten the 
Java client library from the group up.  It includes support for OAuth, 
Maven2 and many other useful features.  However, at the time v201109 came 
out, we made the decision that the new library was not fully ready for 
release and so we chose to add support for v201109 to the existing Java 
library so that Java developers would at least be able to use the new 
version of the API.

We do not have a firm ETA on when the new Java client library will be 
published; however, we are committed to releasing it with support for 
v201109 in advance of the February 2012 sunset and hope to have it out as 
quickly as possible.

- Kevin Winter
AdWords API Team

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Keyword Performance Report Lag

2011-11-04 Thread Kevin Winter
Hi,
  As a best practice, we recommend waiting at least 3 hours prior to 
downloading a report.  I wrote a blog post on this topic a while back: 
http://adwordsapi.blogspot.com/2011/06/statistics-in-reports.html

- Kevin Winter
AdWords API Team

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


AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED

2011-11-04 Thread kevinm
I've started getting this error when setting ad params on newly
created keywords

[AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED @
operations[0].operand; trigger:'AdGroupId = 2361494836, CriterionId =
25335631447', AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED @
operations[1].operand; trigger:'AdGroupId = 2361494836, CriterionId =
25335631447']

As far as I can tell, I am sending valid criterion. If I re-run the
operation it goes through successfully the second time, but I am
getting the error repeatedly after every 6 or so keywords.

Any ideas?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Custom variable in adword api objects

2011-11-04 Thread Dmitriy
Hope if I add issue it wouldn't be ignored like the topic in this
group...

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: advanced broad

2011-11-04 Thread Dmitriy
Do you mean
BROAD: some keyword
"ADVANCED BROAD": +some +keyword
?

On 2 ноя, 23:11, iateadonut  wrote:
> http://code.google.com/apis/adwords/docs/reference/latest/AdGroupCrit...
>
> How do we do "advanced broad" type?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: OAuth - didn't see it mentioned so I thought I'd ask

2011-11-04 Thread Vijayraj Chauhan
Hi Kevin,

I have been following adwords api blog for a while now and thus noticed 
that the updated versions of all the client libraries have been 
released...:) However i was unable to find any examples regarding the 
authentication using OAuth for the Java Client Library. 

I have the access token but i don't know how to use this token to call 
Adwords API so that I can get the information for that particular user. As 
in the case of Google Docs API we had something like...

DocsService client = new DocsService 
("yourCompany-YourAppName-v1");
client.setOAuthCredentials 
(oauthParameters,
 new OAuthHmacSha1Signer 
());


It will really be helpful if you provide a sample code or any pointers for 
OAuth authentication using Java.

TIA,
Vijayraj


 

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