Re: [v201209] Discrepancy between API results and web UI search volume results

2012-10-23 Thread veseo
I'm having the same problem, described 
here: 
https://developers.google.com/adwords/api/community/?place=topic%2Fadwords-api%2F_Jx6stWJ7zk%2Fdiscussion

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: TargetingIdeaService and TrafficEstimatorService problems

2012-10-23 Thread veseo
Any news? If this is a known problem, please postpone the sunset of 201109 
until it's sorted out, if not - please give us a hand to sort out what 
we're doing wrong. As the things stand, starting the next Monday, we will 
be presenting our clients with totally fake and seemingly random data, even 
if we've been waiting for two weeks now for an answer (I sent an email to 
the support team before creating that thread here). I'm sorry to say it, 
but that's an example of a really poor (if not lacking at all) support job!

On Tuesday, October 23, 2012 2:56:18 PM UTC+3, veseo wrote:
>
> Hi,
>
> while implementing the new versions of both TargetingIdeaService and 
> TrafficEstimatorService, we ran into some problems, that lead to a 
> (sometimes too big) discrepancy between the API results and its 
> corresponding tool.
>
> 1. TargetingIdeaService vs. http://preview.tinyurl.com/adwtool:
>
> According to the migration guide:
>
> *SEARCH_VOLUME is equivalent to AVERAGE_TARGETED_MONTHLY_SEARCHES if 
> language and/or location is specified. SEARCH_VOLUME is equivalent to 
> GLOBAL_MONTHLY_SEARCHES if language and/or location is not specified.*
> *
> *
> But, either I'm doing something wrong (not likely, as the API usually 
> crashes when passed invalid structure) or the results for targeted search 
> volume between the API and the tool are completely different. Here's an 
> example:
>
> *Keyword*: [katze]
> *Targeting*: Location: Austria; Language: German
> *API*: SEARCH_VOLUME 18100
> *Tool*: 5400
>
> I'm attaching the request and response xmls.
>
> 2. TrafficEstimatorService vs http://preview.tinyurl.com/trafftool
>
> The problem here seems to persist from earlier, so it's not v201206 
> specific. We tried with the following data:
>
> *Keyword*: [katze]
> *Targeting*: Location: Austria; Language: German; Search Network: Google 
> Search
> *Max CPC*: €2.00
> *Tool Average CPC*: €1.94
> *API results*: min CPC: €0.42, max CPC: €0.51 - as you can see, totally 
> different from the Tool results.
>
> I'm also attaching the XML request and response files for reference.
>
> Can someone please shed some light as to why both TargetingIdea and 
> TrafficEstimator services provide incorrect data?
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Sandbox EstimateKeywordTraffic requests were working. However, now they result in [AuthenticationError.NOT_ADS_USER @ ; trigger:'']

2012-10-23 Thread Ewan Heming
Hi Bob,

This 
threadmentions
 that it's a known issue being looked into, but there's no fix date 
available yet. 

Regards,

Ewan

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: CriterionError.INVALID_CRITERION_ID on setting location->id on v201209 in sandbox

2012-10-23 Thread Steven
201206 works fine, thanks for the prompt reply. I hope someone will update 
this thread when a 201209 patch has been posted.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: CriterionError.INVALID_CRITERION_ID on setting location->id on v201209 in sandbox

2012-10-23 Thread Gatsby Lee
try to use 201206.
I am using that one instead of 201209 because this issue.

On Tuesday, October 23, 2012 4:11:46 PM UTC-7, Steven wrote:
>
> Any movement on this? We have the same issue and we cant deploy the newest 
> version without a workaround.
>
> On Friday, October 19, 2012 5:41:56 AM UTC-7, Danial Klimkin wrote:
>>
>> Hello Gatsby, Andrezza,
>>
>>
>> Please send me the request and response XML logs for the call with an 
>> error over *email*. (Reply button on the forum).
>>
>>
>> -Danial, AdWords API Team.
>>
>>
>> On Friday, October 19, 2012 3:22:14 AM UTC+4, Andrezza wrote:
>>>
>>> Danial, I'm using the lastest adwords api v201209 with the java client 
>>> software and I have the same problem.
>>>
>>> The services are returning this error randomly and we are using the 
>>> production environment.
>>>
>>> Andrezza
>>>
>>> Em quinta-feira, 11 de outubro de 2012 09h30min00s UTC-3, Danial Klimkin 
>>> escreveu:

 Hello Patrick,


 The sandbox environment is good for testing only and all data is 
 generated. The services can return zeroes, random values or an error, 
 depending on service.


 -Danial, AdWords API Team.


 On Tuesday, October 9, 2012 1:07:09 PM UTC+4, Patrick Fischer wrote:
>
> Hi,
>
> I'm using the lastest adwords api v201209 with the php client software.
>
> Using the same code in sandbox instead of the production server fails 
> with the following message: Fatal error: Uncaught SoapFault exception: 
> [soap:Server] [CriterionError.INVALID_CRITERION_ID @ 
> selector.searchParameters[2].locations[0]; trigger:'2276']
>
> In v201206 it still works in production and also in sandbox.
>
> Greetings
>
> $selector = new TargetingIdeaSelector();
> $selector->requestType = 'STATS';
> $selector->ideaType = 'KEYWORD';
> $selector->requestedAttributeTypes = array('KEYWORD_TEXT', 
> 'COMPETITION', 'SEARCH_VOLUME');
> $selector->localeCode = 'de_DE';
> $selector->currencyCode = 'EUR';
>
> $paging = new Paging();
> $paging->startIndex = 0;
> $paging->numberResults = 500;
> $selector->paging = $paging;
>
> $relatedToQuerySearchParameter = new RelatedToQuerySearchParameter();
> $relatedToQuerySearchParameter->queries = $kwList;
>
> $location = new Location();
> $location->id = 2276; //2040
>
> $locationSearchParameter = new LocationSearchParameter();
> $locationSearchParameter->locations = array( $location );
>
> $language = new Language();
> $language->id = 1001;
>
> $languageSearchParameter = new LanguageSearchParameter();
> $languageSearchParameter->languages = array( $language );
>
> $selector->searchParameters = 
> array($relatedToQuerySearchParameter,$locationSearchParameter,$languageSearchParameter);
>


-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: CriterionError.INVALID_CRITERION_ID on setting location->id on v201209 in sandbox

2012-10-23 Thread Gatsby Lee
Here is the response.

[ERROR]APIExceptionstdClass Object

(

[ApiExceptionFault] => stdClass Object

(

[message] => [CriterionError.INVALID_CRITERION_ID @ 
selector.searchParameters[1].locations[0]; trigger:'2300']

[ApplicationException.Type] => ApiException

[errors] => SoapVar Object

(

[enc_type] => 0

[enc_value] => CriterionError Object

(

[reason] => INVALID_CRITERION_ID

[fieldPath] => 
selector.searchParameters[1].locations[0]

[trigger] => 2300

[errorString] => 
CriterionError.INVALID_CRITERION_ID

[ApiErrorType] => CriterionError

[_parameterMap:ApiError:private] => Array

(

[ApiError.Type] => ApiErrorType

)

 

)

 

[enc_stype] => CriterionError

[enc_ns] => 
https://adwords.google.com/api/adwords/cm/v201209

)

 

)

 

) 

On Friday, October 19, 2012 5:41:56 AM UTC-7, Danial Klimkin wrote:
>
> Hello Gatsby, Andrezza,
>
>
> Please send me the request and response XML logs for the call with an 
> error over *email*. (Reply button on the forum).
>
>
> -Danial, AdWords API Team.
>
>
> On Friday, October 19, 2012 3:22:14 AM UTC+4, Andrezza wrote:
>>
>> Danial, I'm using the lastest adwords api v201209 with the java client 
>> software and I have the same problem.
>>
>> The services are returning this error randomly and we are using the 
>> production environment.
>>
>> Andrezza
>>
>> Em quinta-feira, 11 de outubro de 2012 09h30min00s UTC-3, Danial Klimkin 
>> escreveu:
>>>
>>> Hello Patrick,
>>>
>>>
>>> The sandbox environment is good for testing only and all data is 
>>> generated. The services can return zeroes, random values or an error, 
>>> depending on service.
>>>
>>>
>>> -Danial, AdWords API Team.
>>>
>>>
>>> On Tuesday, October 9, 2012 1:07:09 PM UTC+4, Patrick Fischer wrote:

 Hi,

 I'm using the lastest adwords api v201209 with the php client software.

 Using the same code in sandbox instead of the production server fails 
 with the following message: Fatal error: Uncaught SoapFault exception: 
 [soap:Server] [CriterionError.INVALID_CRITERION_ID @ 
 selector.searchParameters[2].locations[0]; trigger:'2276']

 In v201206 it still works in production and also in sandbox.

 Greetings

 $selector = new TargetingIdeaSelector();
 $selector->requestType = 'STATS';
 $selector->ideaType = 'KEYWORD';
 $selector->requestedAttributeTypes = array('KEYWORD_TEXT', 
 'COMPETITION', 'SEARCH_VOLUME');
 $selector->localeCode = 'de_DE';
 $selector->currencyCode = 'EUR';

 $paging = new Paging();
 $paging->startIndex = 0;
 $paging->numberResults = 500;
 $selector->paging = $paging;

 $relatedToQuerySearchParameter = new RelatedToQuerySearchParameter();
 $relatedToQuerySearchParameter->queries = $kwList;

 $location = new Location();
 $location->id = 2276; //2040

 $locationSearchParameter = new LocationSearchParameter();
 $locationSearchParameter->locations = array( $location );

 $language = new Language();
 $language->id = 1001;

 $languageSearchParameter = new LanguageSearchParameter();
 $languageSearchParameter->languages = array( $language );

 $selector->searchParameters = 
 array($relatedToQuerySearchParameter,$locationSearchParameter,$languageSearchParameter);

>>>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: CriterionError.INVALID_CRITERION_ID on setting location->id on v201209 in sandbox

2012-10-23 Thread Steven
Any movement on this? We have the same issue and we cant deploy the newest 
version without a workaround.

On Friday, October 19, 2012 5:41:56 AM UTC-7, Danial Klimkin wrote:
>
> Hello Gatsby, Andrezza,
>
>
> Please send me the request and response XML logs for the call with an 
> error over *email*. (Reply button on the forum).
>
>
> -Danial, AdWords API Team.
>
>
> On Friday, October 19, 2012 3:22:14 AM UTC+4, Andrezza wrote:
>>
>> Danial, I'm using the lastest adwords api v201209 with the java client 
>> software and I have the same problem.
>>
>> The services are returning this error randomly and we are using the 
>> production environment.
>>
>> Andrezza
>>
>> Em quinta-feira, 11 de outubro de 2012 09h30min00s UTC-3, Danial Klimkin 
>> escreveu:
>>>
>>> Hello Patrick,
>>>
>>>
>>> The sandbox environment is good for testing only and all data is 
>>> generated. The services can return zeroes, random values or an error, 
>>> depending on service.
>>>
>>>
>>> -Danial, AdWords API Team.
>>>
>>>
>>> On Tuesday, October 9, 2012 1:07:09 PM UTC+4, Patrick Fischer wrote:

 Hi,

 I'm using the lastest adwords api v201209 with the php client software.

 Using the same code in sandbox instead of the production server fails 
 with the following message: Fatal error: Uncaught SoapFault exception: 
 [soap:Server] [CriterionError.INVALID_CRITERION_ID @ 
 selector.searchParameters[2].locations[0]; trigger:'2276']

 In v201206 it still works in production and also in sandbox.

 Greetings

 $selector = new TargetingIdeaSelector();
 $selector->requestType = 'STATS';
 $selector->ideaType = 'KEYWORD';
 $selector->requestedAttributeTypes = array('KEYWORD_TEXT', 
 'COMPETITION', 'SEARCH_VOLUME');
 $selector->localeCode = 'de_DE';
 $selector->currencyCode = 'EUR';

 $paging = new Paging();
 $paging->startIndex = 0;
 $paging->numberResults = 500;
 $selector->paging = $paging;

 $relatedToQuerySearchParameter = new RelatedToQuerySearchParameter();
 $relatedToQuerySearchParameter->queries = $kwList;

 $location = new Location();
 $location->id = 2276; //2040

 $locationSearchParameter = new LocationSearchParameter();
 $locationSearchParameter->locations = array( $location );

 $language = new Language();
 $language->id = 1001;

 $languageSearchParameter = new LanguageSearchParameter();
 $languageSearchParameter->languages = array( $language );

 $selector->searchParameters = 
 array($relatedToQuerySearchParameter,$locationSearchParameter,$languageSearchParameter);

>>>

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


"Find out if you are eligible for free API units"

2012-10-23 Thread Ali
On the rate sheet, there is a link that says "find out if you are eligible 
for free API units".  But, the link sends me to 

https://developers.google.com/adwords/api/?&rd=1

Is this a mistake?  I wanted to know if there was a way to be eligible for 
free API units?  Thanks in advance.  

--
Ali

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


Adwords Token Developer

2012-10-23 Thread Phill
Hi all,

My name is Phillip, JAVA developer and responsible for our tool (BIG) and I 
would like to clarify a couple of doubts.
We´ve built a tool here in Brazil that is integrated by Adwords API and 
which proposal is manage online campaigns.
Nowadays, we are an online advertising agency with a huge number of clients 
in our MCC. 
However, one of our clients must request that our tool works to them 
privately. 
To make it possible, we asked to this client (SaveMe – company from Buscape 
Inc Group) to create his own MCC and after that, to get a developer token.
With both things, we are going to be a technical services provider in that 
client MCC, where all the responsibility is directed to the own client.
We are only allowed to manage their campaigns through our tool because we 
are talking about huge campaigns.
We are already working to get this process done for a couple of weeks, and 
we would like to solve it as soon as possible.
Would you might help us?

Thanks,
Phillip Tessuto

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


Ruby Client not working with OAuth2 in offline mode

2012-10-23 Thread Jennifer Miles
I'm moving my PHP client files v201109 to Ruby v201209.  I have everything 
working in Sandbox while I'm using ClientLogin; however, I've been unable 
to get OAuth2 in offline mode w/ refresh tokens working in the Ruby Client 
like I was able to in the PHP client.  Has anyone had success using offline 
mode with the Ruby Client.  Here are the OAuth2 config items I have in the 
adwords_api.yml file:
  :oauth2_client_id: MY CLIENT ID
  :oauth2_client_secret: MY CLIENT SECRET
  # Optional, see: 
https://developers.google.com/accounts/docs/OAuth2WebServer
  #:oauth2_callback: INSERT_OAUTH2_CALLBACK_URL_HERE
  #:oauth2_state: INSERT_OAUTH2_STATE_HERE
  :oauth2_access_type: offline
  :oauth2_grant_type: refresh_token
  #:oauth2_approval_prompt: INSERT_OAUTH2_APPROVAL_PROMPT_HERE
  :oauth2_refresh_token: MY REFRESH TOKEN

These are the same items I needed to have in the PHP client so I'm not sure 
what else I need to do.  Any advice would be appreciated?

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


How do you send a None (ie. a nil) from the python client library?

2012-10-23 Thread David Bonner
Hi all,

I'm trying, but unable, to get the client library to actually set 
"xsi:nil=true" on an attribute.  This is related to the problem I'm having 
in https://groups.google.com/forum/#!topic/adwords-api/TB8YPC3dU_8 ... I'm 
trying to dissociate a campaign from a budget before I delete the campaign, 
but simply sending:

{
  'xsi_type': 'CampaignOperation',
  'operator': 'SET',
  'operand': [{
'xsi_type': 'Campaign',
'id': '12345',
'name': 'something something DELETED XY:ZZ',
'status': 'DELETED',
'budget': None,
  }],
}

Doesn't seem to work.  Can anyone help?

Thanks,
Dave

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Do deleted campaigns count towards the budget refcount?

2012-10-23 Thread David Bonner
Must be a python client library bug...I tried setting the campaign.budget 
to None, and the campaign.budget.budgetId to None, and neither one managed 
to dissociate the campaign from the budget.  Turning debug on, it looks 
like the soap being sent doesn't have the budget set to nil.

Has anyone managed this with the python client library yet?

On Tuesday, 23 October 2012 11:46:13 UTC-4, Alex Jones wrote:
>
> You have to dissociate them as you delete campaigns. otherwise they still 
> count as linked to the budget. Just set budgetId to null as part of your 
> campaign delete.
>
> On Thursday, October 18, 2012 406:32 PM UTC-4, David Bonner wrote:
>>
>> Hi all,
>>
>> I'm in the middle of migrating from 201109 to 201209, and trying to 
>> update my unit tests.  After deleting any campaigns I've created, I try to 
>> delete the budgets I created for them.  As soon as I do that, I'm getting 
>> a BudgetError.BUDGET_IN_USE error.
>>
>> Has anyone else seen this?  Do I need to dissociate the budget from the 
>> campaign as I delete it?
>>
>> Thanks,
>> Dave
>>
>

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


ADGROUP_PERFORMANCE_REPORT only from ACTIVE Company?

2012-10-23 Thread Mirror
Hi!

How can I get ADGROUP_PERFORMANCE_REPORT only for ENABLED ADGROUP and 
ACTIVE Campaigns?

If I use:
  
CampaignName
AdGroupName
Impressions
Clicks
Cost
  
 CampaignStatus 
 IN
 ACTIVE
 Status
 IN
 ENABLED

  
  Performance Report
  ADGROUP_PERFORMANCE_REPORT
  LAST_7_DAYS

- Error: !!!2|||-1|||cvc-complex-type.2.4.a: Invalid content was found 
starting with element 'field'

When I delete: 
 CampaignStatus 
 IN
 ACTIVE

It's ok, but I get ALL ADGROUP from ACTIVE and PAUSED Company. I don't need 
ADGROUP from PAUSED Company.
How I can do this? 

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Do deleted campaigns count towards the budget refcount?

2012-10-23 Thread Alex Jones
You have to dissociate them as you delete campaigns. otherwise they still 
count as linked to the budget. Just set budgetId to null as part of your 
campaign delete.

On Thursday, October 18, 2012 406:32 PM UTC-4, David Bonner wrote:
>
> Hi all,
>
> I'm in the middle of migrating from 201109 to 201209, and trying to update 
> my unit tests.  After deleting any campaigns I've created, I try to delete 
> the budgets I created for them.  As soon as I do that, I'm getting 
> a BudgetError.BUDGET_IN_USE error.
>
> Has anyone else seen this?  Do I need to dissociate the budget from the 
> campaign as I delete it?
>
> Thanks,
> Dave
>

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


What value would BudgetId have if a camapaign isn't using a shared budget

2012-10-23 Thread Alex Jones
So I have some campaigns in production created with 201109 - which means 
they are using an individual budget. Since we'd like to move them all to 
shared budgets automatically, we'd like to detect that they have are still 
using a shared budget and update them to use a shared budget.

My current plan was to detect if budgetId = null, and if it was, create a 
budget for the campaign.
Would this work?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Unable to Delete a Budget in code

2012-10-23 Thread Alex Jones
set the campaigns that use that budget to use a budget with id = null. that 
will allow you to delete it.

On Tuesday, October 23, 2012 8:37:18 AM UTC-4, road11 wrote:
>
> I tried that. It gives me a different error message: this one says that 
> the it can't be deleted because the Budget is in use. No way that can be 
> true. I just created it and deleted the only campaign that was using it 
> within minutes of each other.
>
> On Monday, October 22, 2012 10:05:02 AM UTC-4, road11 wrote:
>>
>> I see that you must first add a budget before you can add a campaign (as 
>> per the C# sample code v201209). That works ok. However, I can't seem to 
>> delete a budget once I've added it. 
>>  
>> I just created a budget in my sandbox just before creating a campaign (a 
>> la AdCampaign.cs). This budget is attached to this campaign only. I deleted 
>> the campaign, and then tried to delete the budget. I don't get an error on 
>> the mutate operation, but it doesn't delete the budget either. The deleted 
>> budget status always comes back ACTIVE. 
>>  
>> I use code similar to that from which I deleted the campaign. This budget 
>> is attached only to this one campaign. If the campaign is deleted, how is 
>> it possible for the budget to still be ACTIVE and IN_USE?...
>>  
>>
>> public void DeleteBudget(AdWordsUser user, int budgetID)
>> {
>> Console.WriteLine("Delete budget entered...");
>> BudgetService bs = (BudgetService)user
>> .GetService(AdWordsService.v201209.BudgetService);
>> Budget budget = new Budget();
>> budget.budgetId = budgetID;
>> budget.status = BudgetBudgetStatus.DELETED;
>> BudgetOperation bop = new BudgetOperation();
>> bop.operand = budget;
>> bo...@operator  = Operator.SET; //Operator.REMOVE gives an 
>> error
>> BudgetOperation[] bops = new BudgetOperation[1];
>> bops[0] = bop;
>> try
>> {
>> BudgetReturnValue retVal =
>> bs.mutate(bops);
>> Budget deletedBudget = retVal.value[0];
>> Console.WriteLine(deletedBudget.status); //always comes back ACTIVE
>> }
>> catch (Exception ex)
>> {
>> Console.WriteLine(ex.Message);
>> if (ex.InnerException != null)
>> {
>> Console.WriteLine(ex.InnerException.Message);
>> }
>> }
>> }
>>
>>  
>>
>> ...btw, I tried the Operator.REMOVE which gives me an error saying it is in 
>> use.
>>
>>  
>>
>> Thanks,
>>
>>  
>>
>> Eric
>>
>>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Sandbox EstimateKeywordTraffic requests were working. However, now they result in [AuthenticationError.NOT_ADS_USER @ ; trigger:'']

2012-10-23 Thread Bobert Mcgee
Ewan,

Thank you so much for taking the time to test this and report on this 
thread. At least now I have confirmation I am not crazy and there is 
actually something wrong with the api sandbox. 

I would love to hear back from someone on the google team in regards to 
when we can expect this to be resolved. As Sebastian said; it is getting 
difficult to explain this delay to my client as nobody expects a google 
product to be the source of an issue.

Regards,
Bob

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: [v201209] Discrepancy between API results and web UI search volume results

2012-10-23 Thread Martin
Any Idea???

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


CRITERIA_PERFORMANCE_REPORT to get Topics by DownloadClientReport

2012-10-23 Thread Adam
Hi,
I used this 
https://developers.google.com/adwords/api/docs/guides/uireports#topicsReportto 
find that i need CRITERIA_PERFORMANCE_REPORT filtered by CriteriaType = 
"VERTICAL" to get report of Topics on my account.
But unfortunetly this report has very less data than in web interface. In 
web interface i have 38 rows with Impressions > 0 in all campaigns and in 
reports i only get 15 with 'random' impressions values (for example in 
report i have row with 140 impressions and there's no such row in web 
interface).
Checked date range, both are LAST_7_DAYS.
Im using C# class - Google.Api.Ads.AdWords.Util.Reports.ReportUtilities and 
calling method: DownloadClientReport(_reportDefinition, false, fileName);
Can you tell me what's wrong with it?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Unable to Delete a Budget in code

2012-10-23 Thread road11
I tried that. It gives me a different error message: this one says that the 
it can't be deleted because the Budget is in use. No way that can be true. 
I just created it and deleted the only campaign that was using it within 
minutes of each other.

On Monday, October 22, 2012 10:05:02 AM UTC-4, road11 wrote:
>
> I see that you must first add a budget before you can add a campaign (as 
> per the C# sample code v201209). That works ok. However, I can't seem to 
> delete a budget once I've added it. 
>  
> I just created a budget in my sandbox just before creating a campaign (a 
> la AdCampaign.cs). This budget is attached to this campaign only. I deleted 
> the campaign, and then tried to delete the budget. I don't get an error on 
> the mutate operation, but it doesn't delete the budget either. The deleted 
> budget status always comes back ACTIVE. 
>  
> I use code similar to that from which I deleted the campaign. This budget 
> is attached only to this one campaign. If the campaign is deleted, how is 
> it possible for the budget to still be ACTIVE and IN_USE?...
>  
>
> public void DeleteBudget(AdWordsUser user, int budgetID)
> {
> Console.WriteLine("Delete budget entered...");
> BudgetService bs = (BudgetService)user
> .GetService(AdWordsService.v201209.BudgetService);
> Budget budget = new Budget();
> budget.budgetId = budgetID;
> budget.status = BudgetBudgetStatus.DELETED;
> BudgetOperation bop = new BudgetOperation();
> bop.operand = budget;
> bop.@operator = Operator.SET; //Operator.REMOVE gives an error
> BudgetOperation[] bops = new BudgetOperation[1];
> bops[0] = bop;
> try
> {
> BudgetReturnValue retVal =
> bs.mutate(bops);
> Budget deletedBudget = retVal.value[0];
> Console.WriteLine(deletedBudget.status); //always comes back ACTIVE
> }
> catch (Exception ex)
> {
> Console.WriteLine(ex.Message);
> if (ex.InnerException != null)
> {
> Console.WriteLine(ex.InnerException.Message);
> }
> }
> }
>
>  
>
> ...btw, I tried the Operator.REMOVE which gives me an error saying it is in 
> use.
>
>  
>
> Thanks,
>
>  
>
> Eric
>
>

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


AdParam Report

2012-10-23 Thread powl
Hello,

is it possible to download a report which contains all inserted adparams?

with best regards

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


TargetingIdeaService and TrafficEstimatorService problems

2012-10-23 Thread veseo
Hi,

while implementing the new versions of both TargetingIdeaService and 
TrafficEstimatorService, we ran into some problems, that lead to a 
(sometimes too big) discrepancy between the API results and its 
corresponding tool.

1. TargetingIdeaService vs. http://preview.tinyurl.com/adwtool:

According to the migration guide:

*SEARCH_VOLUME is equivalent to AVERAGE_TARGETED_MONTHLY_SEARCHES if 
language and/or location is specified. SEARCH_VOLUME is equivalent to 
GLOBAL_MONTHLY_SEARCHES if language and/or location is not specified.*
*
*
But, either I'm doing something wrong (not likely, as the API usually 
crashes when passed invalid structure) or the results for targeted search 
volume between the API and the tool are completely different. Here's an 
example:

*Keyword*: [katze]
*Targeting*: Location: Austria; Language: German
*API*: SEARCH_VOLUME 18100
*Tool*: 5400

I'm attaching the request and response xmls.

2. TrafficEstimatorService vs http://preview.tinyurl.com/trafftool

The problem here seems to persist from earlier, so it's not v201206 
specific. We tried with the following data:

*Keyword*: [katze]
*Targeting*: Location: Austria; Language: German; Search Network: Google 
Search
*Max CPC*: €2.00
*Tool Average CPC*: €1.94
*API results*: min CPC: €0.42, max CPC: €0.51 - as you can see, totally 
different from the Tool results.

I'm also attaching the XML request and response files for reference.

Can someone please shed some light as to why both TargetingIdea and 
TrafficEstimator services provide incorrect data?

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


targeting_request.xml
Description: XML document


targeting_response.xml
Description: XML document


traffic_request.xml
Description: XML document


traffic_response.xml
Description: XML document


Re: Report download v201209 and dateRange

2012-10-23 Thread Timothy Klim
Yes, right. I need sleep before question posting :).
Thank you.

On Tuesday, October 23, 2012 9:11:43 AM UTC+4, Takeshi Hagikura wrote:
>
> Hi Timothy,
>
> Please try adding "dateRangeType" tag after the "reportType",
> like this CUSTOM_DATE.
>
> Best,
> - Takeshi, AdWords API team
>
> On Tuesday, October 23, 2012 1:12:02 PM UTC+9, Timothy Klim wrote:
>>
>> Hi!
>>
>> I have request xml like this:
>> 
>> https://adwords.google.com/api/adwords/cm/v201209";>
>>   
>> AdGroupId
>> Id
>> Status
>> AveragePosition
>> Clicks
>> Cost
>>     Date
>>     DisplayUrl
>> Impressions
>> 
>>   CampaignId
>>   IN
>>   775149
>>   775154
>> 
>> 
>>   20121023
>>   20121023
>> 
>>   
>>   Report
>>   AD_PERFORMANCE_REPORT
>>   GZIPPED_XML
>>   false
>> 
>>
>> on `post` 
>> https://adwords-sandbox.google.com/api/adwords/reportdownload/v201209
>>
>> but I got error:
>> 
>> 
>> 
>> ReportDownloadError.INVALID_REPORT_DEFINITION_XML
>> Invalid ReportDefinition Xml: cvc-complex-type.2.4.a: 
>> Invalid content was found starting with element 'downloadFormat'. One of '{"
>> https://adwords.google.com/api/adwords/cm/v201209":dateRangeType}' is 
>> expected.
>> 
>> 
>> 
>>
>> What I'm doing wrong? Thank you.
>>
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: What does QualityInfo exactly show?

2012-10-23 Thread Oliver
Any ideas?

On Tuesday, October 16, 2012 3:49:05 PM UTC+1, Oliver wrote:
>
> So far, I have been assuming the object QualityInfo:
>
>
> https://developers.google.com/adwords/api/docs/reference/v201206/AdGroupCriterionService.QualityInfo
>
> gives the same info as displayed on the web interface (when we hover the 
> mouse over the keyword's 'bubble' under the 'Status' column).
>
> However, the values displayed on the web interface (for each parameter) 
> can be one of 3:
>
>1. Above average
>2. Average
>3. Below average
>
> whereas the fields in the QualityInfo are just *booleans*.
>
> Have I wrongly assumed the above?  And if so, where else can we get the 
> keyword's "bubble" data?
>
> 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