INVALID_OPERATION_ENHANCED_CAMPAIGN

2013-02-18 Thread Dragan Gavrilovic
Hi, i have set campaign as enhanced but after i wanted to set targets

Language => 1000
Location => 2840
Platform => 30001

and now im getting error
CampaignCriterionError.INVALID_OPERATION_ENHANCED_CAMPAIGN
which i can not find in API documentation.

Any advice with 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

--- 
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: Detect operation that caused error on Bulk Job

2013-02-18 Thread John Lister
Cheers I am doing that, but as you say a little excessive and surplus if 
the api returned the object type,.,...

John

On Monday, 18 February 2013 13:00:46 UTC, ig...@blueclaw.co.uk wrote:
>
> I usually store operation dump in a data store and check *fieldPath *for 
> index of the operation that failed to find exact operation, although it 
> might seem excessive it does the trick.
>
> Hope that helps.
>
> On Monday, 18 February 2013 12:12:06 UTC, John Lister wrote:
>>
>> I do group all operations as recommended, I just try to send them in as 
>> few jobs as possible. For example I may update 50 groups, 10 ads and 200 
>> keywords in one go which is fired off as 1 job rather than 3. All elements 
>> within the job are ordered as recommended in the linked document.
>>
>> Thanks
>>
>> John
>>
>> On Monday, 18 February 2013 11:59:03 UTC, Danial Klimkin wrote:
>>>
>>> Hello John,
>>>
>>>
>>> Errors are often shared between services and having separate set for 
>>> each one would not be efficient. Please also note it is recommended to 
>>> group operations per type and target as described here:
>>>
>>>   
>>> https://developers.google.com/adwords/api/docs/guides/bestpractices#group_operations
>>>
>>> So you may want to consider to send separate jobs for campaigns and 
>>> criteria.
>>>
>>>
>>> -Danial, AdWords API Team.
>>>
>>>
>>> On Monday, February 18, 2013 3:35:33 PM UTC+4, John Lister wrote:

 HI thanks for replying, I've just realised that I wasn't as clear as I 
 could be. I am using the fields you mention to track the error, but the 
 fieldPath only gives me the item number that caused the problem. My issue 
 is that I'm submitting different objects in the same job (for efficiency 
 reasons) so position 1 may be a campaign, 2 maybe a keyword, etc It would 
 be nice if the error indicate the type of object as well so I could call 
 the right code to mark the error in our system. Its obviously not a 
 necessity as I'm storing the extra information when I submit the job

 Thanks

 John

 On Monday, 18 February 2013 11:28:37 UTC, Danial Klimkin wrote:
>
> Hello John,
>
>
> Are you using the MutateJobService? Each error should have 'reason', 
> 'trigger' and 'fieldPath' fields that should describe the issue.
>
>
> -Danial, AdWords API Team.
>
>
>
> On Saturday, February 16, 2013 12:58:24 AM UTC+4, John Lister wrote:
>>
>> Hi, when I do a BulkJob I can see in the results the type of object 
>> operated on by querying the operand object, however when an error occurs 
>> I 
>> can't seem to find a way to get the same information. Although the error 
>> is 
>> usually a subclass of error that indicates sometimes the object in 
>> question 
>> (for example CampaignError is obvious) most errors seem to be generic 
>> and 
>> some object such as AdGroups don't have any distinct errors that I can 
>> see. 
>> The only option which seems excessive is to store the object type 
>> separately in order to be able to deal with the error.
>>
>> Have I missed something?
>>
>> Thanks
>>
>> John
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Add Product Criterions and Conditions

2013-02-18 Thread Jeremy Aube
It should look something like this [ruby]:

operand: {
  xsi_type: 'BiddableAdGroupCriterion',
  ad_group_id: '123456',
  user_status: 'ACTIVE',
  criterion: {
xsi_type: 'Product',
conditions: [
  {
argument: "Women's clothing",
operand: {
  operand: "product_type"
}
  }
]
  }
}


On Friday, February 15, 2013 9:39:49 AM UTC-5, Martin wrote:
>
> Hi,
>
> Can anyone point me in the directions of any documentation or example code 
> of how to add product criterions and conditions?
> Every time I try i just get there has been an error during processing 
> error.
>
> Any advice is greatly appreciated.
>
> thanks
>
> Martin 
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Detect operation that caused error on Bulk Job

2013-02-18 Thread igor
I usually store operation dump in a data store and check *fieldPath *for 
index of the operation that failed to find exact operation, although it 
might seem excessive it does the trick.

Hope that helps.

On Monday, 18 February 2013 12:12:06 UTC, John Lister wrote:
>
> I do group all operations as recommended, I just try to send them in as 
> few jobs as possible. For example I may update 50 groups, 10 ads and 200 
> keywords in one go which is fired off as 1 job rather than 3. All elements 
> within the job are ordered as recommended in the linked document.
>
> Thanks
>
> John
>
> On Monday, 18 February 2013 11:59:03 UTC, Danial Klimkin wrote:
>>
>> Hello John,
>>
>>
>> Errors are often shared between services and having separate set for each 
>> one would not be efficient. Please also note it is recommended to group 
>> operations per type and target as described here:
>>
>>   
>> https://developers.google.com/adwords/api/docs/guides/bestpractices#group_operations
>>
>> So you may want to consider to send separate jobs for campaigns and 
>> criteria.
>>
>>
>> -Danial, AdWords API Team.
>>
>>
>> On Monday, February 18, 2013 3:35:33 PM UTC+4, John Lister wrote:
>>>
>>> HI thanks for replying, I've just realised that I wasn't as clear as I 
>>> could be. I am using the fields you mention to track the error, but the 
>>> fieldPath only gives me the item number that caused the problem. My issue 
>>> is that I'm submitting different objects in the same job (for efficiency 
>>> reasons) so position 1 may be a campaign, 2 maybe a keyword, etc It would 
>>> be nice if the error indicate the type of object as well so I could call 
>>> the right code to mark the error in our system. Its obviously not a 
>>> necessity as I'm storing the extra information when I submit the job
>>>
>>> Thanks
>>>
>>> John
>>>
>>> On Monday, 18 February 2013 11:28:37 UTC, Danial Klimkin wrote:

 Hello John,


 Are you using the MutateJobService? Each error should have 'reason', 
 'trigger' and 'fieldPath' fields that should describe the issue.


 -Danial, AdWords API Team.



 On Saturday, February 16, 2013 12:58:24 AM UTC+4, John Lister wrote:
>
> Hi, when I do a BulkJob I can see in the results the type of object 
> operated on by querying the operand object, however when an error occurs 
> I 
> can't seem to find a way to get the same information. Although the error 
> is 
> usually a subclass of error that indicates sometimes the object in 
> question 
> (for example CampaignError is obvious) most errors seem to be generic and 
> some object such as AdGroups don't have any distinct errors that I can 
> see. 
> The only option which seems excessive is to store the object type 
> separately in order to be able to deal with the error.
>
> Have I missed something?
>
> Thanks
>
> John
>


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: campaign default bid

2013-02-18 Thread u...@taykey.com
thank you Kevin!

On Friday, February 15, 2013 7:37:25 PM UTC+2, Kevin Winter (AdWords API 
Team) wrote:
>
> Hi,
>   Currently in the AdWords API, you can only set default bids at the 
> AdGroup level - it's not possible at the campaign level.
>
> - Kevin Winter
> AdWords API Team
>
> On Wednesday, February 13, 2013 12:26:10 PM UTC-5, u...@taykey.com wrote:
>>
>> Hi all,
>>
>> When creating a campaign of search network (or search and display)
>> there is an option to give a default bid
>>
>> how can i get this default bid with the api?
>>
>> thanks alot !
>>
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Detect operation that caused error on Bulk Job

2013-02-18 Thread John Lister
I do group all operations as recommended, I just try to send them in as few 
jobs as possible. For example I may update 50 groups, 10 ads and 200 
keywords in one go which is fired off as 1 job rather than 3. All elements 
within the job are ordered as recommended in the linked document.

Thanks

John

On Monday, 18 February 2013 11:59:03 UTC, Danial Klimkin wrote:
>
> Hello John,
>
>
> Errors are often shared between services and having separate set for each 
> one would not be efficient. Please also note it is recommended to group 
> operations per type and target as described here:
>
>   
> https://developers.google.com/adwords/api/docs/guides/bestpractices#group_operations
>
> So you may want to consider to send separate jobs for campaigns and 
> criteria.
>
>
> -Danial, AdWords API Team.
>
>
> On Monday, February 18, 2013 3:35:33 PM UTC+4, John Lister wrote:
>>
>> HI thanks for replying, I've just realised that I wasn't as clear as I 
>> could be. I am using the fields you mention to track the error, but the 
>> fieldPath only gives me the item number that caused the problem. My issue 
>> is that I'm submitting different objects in the same job (for efficiency 
>> reasons) so position 1 may be a campaign, 2 maybe a keyword, etc It would 
>> be nice if the error indicate the type of object as well so I could call 
>> the right code to mark the error in our system. Its obviously not a 
>> necessity as I'm storing the extra information when I submit the job
>>
>> Thanks
>>
>> John
>>
>> On Monday, 18 February 2013 11:28:37 UTC, Danial Klimkin wrote:
>>>
>>> Hello John,
>>>
>>>
>>> Are you using the MutateJobService? Each error should have 'reason', 
>>> 'trigger' and 'fieldPath' fields that should describe the issue.
>>>
>>>
>>> -Danial, AdWords API Team.
>>>
>>>
>>>
>>> On Saturday, February 16, 2013 12:58:24 AM UTC+4, John Lister wrote:

 Hi, when I do a BulkJob I can see in the results the type of object 
 operated on by querying the operand object, however when an error occurs I 
 can't seem to find a way to get the same information. Although the error 
 is 
 usually a subclass of error that indicates sometimes the object in 
 question 
 (for example CampaignError is obvious) most errors seem to be generic and 
 some object such as AdGroups don't have any distinct errors that I can 
 see. 
 The only option which seems excessive is to store the object type 
 separately in order to be able to deal with the error.

 Have I missed something?

 Thanks

 John

>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Detect operation that caused error on Bulk Job

2013-02-18 Thread Danial Klimkin
Hello John,


Errors are often shared between services and having separate set for each 
one would not be efficient. Please also note it is recommended to group 
operations per type and target as described here:

  
https://developers.google.com/adwords/api/docs/guides/bestpractices#group_operations

So you may want to consider to send separate jobs for campaigns and 
criteria.


-Danial, AdWords API Team.


On Monday, February 18, 2013 3:35:33 PM UTC+4, John Lister wrote:
>
> HI thanks for replying, I've just realised that I wasn't as clear as I 
> could be. I am using the fields you mention to track the error, but the 
> fieldPath only gives me the item number that caused the problem. My issue 
> is that I'm submitting different objects in the same job (for efficiency 
> reasons) so position 1 may be a campaign, 2 maybe a keyword, etc It would 
> be nice if the error indicate the type of object as well so I could call 
> the right code to mark the error in our system. Its obviously not a 
> necessity as I'm storing the extra information when I submit the job
>
> Thanks
>
> John
>
> On Monday, 18 February 2013 11:28:37 UTC, Danial Klimkin wrote:
>>
>> Hello John,
>>
>>
>> Are you using the MutateJobService? Each error should have 'reason', 
>> 'trigger' and 'fieldPath' fields that should describe the issue.
>>
>>
>> -Danial, AdWords API Team.
>>
>>
>>
>> On Saturday, February 16, 2013 12:58:24 AM UTC+4, John Lister wrote:
>>>
>>> Hi, when I do a BulkJob I can see in the results the type of object 
>>> operated on by querying the operand object, however when an error occurs I 
>>> can't seem to find a way to get the same information. Although the error is 
>>> usually a subclass of error that indicates sometimes the object in question 
>>> (for example CampaignError is obvious) most errors seem to be generic and 
>>> some object such as AdGroups don't have any distinct errors that I can see. 
>>> The only option which seems excessive is to store the object type 
>>> separately in order to be able to deal with the error.
>>>
>>> Have I missed something?
>>>
>>> Thanks
>>>
>>> John
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Fault occurred while processing when trying to add campaigns

2013-02-18 Thread Timo Aarnio
Hi,

It seems the person controlling the MCC account has only given the rights 
to read data for the test account.. I'll have to ask him change the rights.

I tried through the tests. All of the tests with getting various 
information worked properly, showing what they were supposed to show.
When trying the add audience and add conversion tracker examples from 
remarketing, it gave ACTION_NOT_PERMITTED error.
[Feb 18 2013 13:03:04.00 - ERROR] email= effectiveUser=123456789 
service=UserListService method=mutate operators={ADD: 1} responseTime=41 
requestId=0004d5fdab31cf080ae5656602fe operations=0 units=0 
server=adwords.google.com isFault=true 
faultMessage=[OperationAccessDenied.ACTION_NOT_PERMITTED @ ]
I can't try the other add services since I can't add a campaign first.

I'll post here again once I get a reply from the MCC account controller and 
I have tried to add the campaign again.

Best regards

Timo

perjantai, 15. helmikuuta 2013 21.13.25 UTC+2 David Torres kirjoitti:
>
> Hi Timo,
>
> Just to let you know I'm still working on your issue, and have a follow up 
> question for you. Do you see the same error trying to call other services? 
> running other examples.
>
> Best,
>
> - David
>
> On Thursday, February 14, 2013 12:27:44 PM UTC-5, David Torres wrote:
>>
>> Hi Timo,
>>
>> I've forwarded your issue to the team. I will have you a response soon.
>>
>> Best,
>>
>> - David
>>
>> On Monday, February 11, 2013 8:02:47 AM UTC-5, Timo Aarnio wrote:
>>>
>>> Hi, I'm sorry for the delay from my side as well.
>>>
>>> Yes, the issue is still there, here's the latest error call:
>>> [Feb 11 2013 15:00:01.00 - ERROR] email=testaccount 
>>> effectiveUser=123456789 service=BudgetService method=mutate operators={ADD: 
>>> 1} responseTime=67 requestId=0004d5727c8b42a00ae53cdb6932 operations=0 
>>> units=0 server=adwords.google.com isFault=true faultMessage=Fault 
>>> occurred while processing.
>>>
>>>
>>> Thanks again for the help,
>>>
>>> Timo
>>>
>>> maanantai, 4. helmikuuta 2013 23.08.50 UTC+2 David Torres (AdWords API 
>>> Team) kirjoitti:

 Hi,

 Sorry for our delay responding you here, are you still experiencing 
 this issue? if yes, can you give me a fresh requestId of the issue, I'd be 
 glad to investigate.

 To answer your questions:
 You don't seem to be doing anything wrong, in fact this type of error 
 is likely an issue we need look at in our side.
 You should be using the test account credentials and not the MCC, as I 
 believe you are doing correctly.

 Best,

 - David Torres - AdWords API Team

 On Friday, January 25, 2013 11:57:03 AM UTC-5, Timo Aarnio wrote:
>
> Hi
>
> I'm currently trying to add campaigns for the test account. But when I 
> run the script, it throws "Fault occurred while processing." error.
>
> The error seems to happen when the script tries to mutate budget: [Jan 
> 25 2013 18:03:48.00 - ERROR] email=testemail effectiveUser=123456789 
> service=BudgetService method=mutate operators={ADD: 1} responseTime=156 
> requestId=0004d41f126d8a300ae53fcd6bc0 operations=0 units=0 server=
> adwords.google.com isFault=true faultMessage=Fault occurred while 
> processing.
>
> When digging into the soap_xml.log it seems to throw a 500 Internal 
> Server Error
>
> [Jan 25 2013 18:26:21.00 - ERROR] POST 
> /api/adwords/cm/v201209/BudgetService HTTP/1.1
>
> Host: adwords.google.com
>
> Connection: Keep-Alive
>
> User-Agent: PHP-SOAP/5.3.15, gzip
>
> Accept-Encoding: gzip, deflate
>
> Content-Encoding: gzip
>
> Content-Type: text/xml; charset=utf-8
>
> SOAPAction: ""
>
> Content-Length: 623
>
> 
> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:ns1="
> https://adwords.google.com/api/adwords/cm/v201209";>
>   
> 
>   *
>   123456789
>   1563418token
>   ZoinedTool (AwApi/3.1.1, 
> php/5.3.15)
> 
>   
>   
> 
>   
> ADD
> 
>   TestCampaign #5102b22d772b2
>   DAILY
>   
> 5000
>   
>   STANDARD
> 
>   
> 
>   
> 
>
> HTTP/1.1 500 Internal Server Error
>
> Content-Type: text/xml; charset=UTF-8
>
> Content-Encoding: gzip
>
> Date: Fri, 25 Jan 2013 16:26:18 GMT
>
> Expires: Fri, 25 Jan 2013 16:26:18 GMT
>
> Cache-Control: private, max-age=0
>
> X-Content-Type-Options: nosniff
>
> X-Frame-Options: SAMEORIGIN
>
> X-XSS-Protection: 1; mode=block
>
> Content-Length: 312
>
> Server: GSE
>
> 
> http://schemas.xmlsoap.org/soap/envelope/";>
>   
> https://adwords.google.com/api/adwords/cm/v201209";>
>   0004d41f6311eb20

Re: Detect operation that caused error on Bulk Job

2013-02-18 Thread John Lister
HI thanks for replying, I've just realised that I wasn't as clear as I 
could be. I am using the fields you mention to track the error, but the 
fieldPath only gives me the item number that caused the problem. My issue 
is that I'm submitting different objects in the same job (for efficiency 
reasons) so position 1 may be a campaign, 2 maybe a keyword, etc It would 
be nice if the error indicate the type of object as well so I could call 
the right code to mark the error in our system. Its obviously not a 
necessity as I'm storing the extra information when I submit the job

Thanks

John

On Monday, 18 February 2013 11:28:37 UTC, Danial Klimkin wrote:
>
> Hello John,
>
>
> Are you using the MutateJobService? Each error should have 'reason', 
> 'trigger' and 'fieldPath' fields that should describe the issue.
>
>
> -Danial, AdWords API Team.
>
>
>
> On Saturday, February 16, 2013 12:58:24 AM UTC+4, John Lister wrote:
>>
>> Hi, when I do a BulkJob I can see in the results the type of object 
>> operated on by querying the operand object, however when an error occurs I 
>> can't seem to find a way to get the same information. Although the error is 
>> usually a subclass of error that indicates sometimes the object in question 
>> (for example CampaignError is obvious) most errors seem to be generic and 
>> some object such as AdGroups don't have any distinct errors that I can see. 
>> The only option which seems excessive is to store the object type 
>> separately in order to be able to deal with the error.
>>
>> Have I missed something?
>>
>> Thanks
>>
>> John
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: QuotaCheckError.INCOMPLETE_SIGNUP

2013-02-18 Thread Danial Klimkin
Hello Jeff,


Have you agreed with the Terms and Conditions when you set up the billing? 
Also, please check if your token is approved on the AdWords API Center page.

If still in doubt, send us your MCC client customer ID over email ("Reply 
to author").


-Danial, AdWords API Team.



On Friday, February 15, 2013 12:02:41 AM UTC+4, Jeff Cole wrote:
>
> I get this when calling the APIs.  I've already entered in my billing 
> details.  
> Can somebody suggest the next step?
>
> 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: Getting ResponseHeader units using v201209

2013-02-18 Thread Danial Klimkin
Hello Alok,


We a completely removing the units count but the operations number will 
stay and will be updated for the changes described above.


-Danial, AdWords API Team.


On Tuesday, February 12, 2013 7:02:10 PM UTC+4, alok wrote:
>
> Hi Anash,
>
> Thanks for the info on API pricing.But we still want to track the per call 
> API units for our own info.So is there a way we can get the responseHeader 
> data (units/operations) for each service request.
>
> -Alok
>
> On Tuesday, February 12, 2013 10:46:38 AM UTC+5:30, Anash P. Oommen 
> (AdWords API Team) wrote:
>>
>> Hi Alok,
>>
>> AdWords API is becoming free for all. See 
>> http://googleadsdeveloper.blogspot.tw/2013/01/new-simplified-adwords-api-pricing.htmlfor
>>  details. This would mean that you wouldn't need to worry about per-call 
>> API units like the way it was earlier, but you need to decide whether you 
>> need standard access and apply for it if applicable.
>>
>> Cheers,
>> Anash P. Oommen,
>> AdWords API Advisor.
>>
>> On Monday, February 11, 2013 3:57:08 PM UTC+5:30, alok wrote:
>>>
>>> Hi API Team,
>>>
>>> I facing an issue where i am not able to get the response headers units 
>>> for any service request I use.All i want is to get the units/operations 
>>> value from header Response for each service request to track the 
>>> cost/operations associated with that service in v201209.
>>>
>>> I am creating an instance of AdWordsServices and calling get method as 
>>> below:
>>>
>>> AdWordsServices adWordsServices = new AdWordsServices();
>>> returnService = (T) adWordsServices.get(adWordsSession, 
>>> AdGroupServiceInterface.class);
>>>
>>> Previously (v201206) we used to fetch the responseHeaders using below:
>>>
>>> if ((returnService != null) && (*returnService instanceof Stub*)) {
>>> ret = ((Stub)returnService ).getResponseHeaders();
>>>
>>> }
>>>
>>> This used to work fine as in v201206,the services were called using 
>>> AdWordsUser getService() method,which internally used to call 
>>> AdWordsServiceFactory *public static Stub 
>>> generateServiceStub*(AdWordsService 
>>> service, AdWordsUser user, String endpointServer, boolean validateOnly)
>>>
>>> and* it used to retrun a service which is instanceof Stub
>>>
>>> But* in current v201209,the returned service is not instanceof Stub so 
>>> I am not able to get the responseHeaders values (units/operations)
>>>
>>> Please let me know,What needs to be done to fetch the header values.
>>>
>>> Thanks,
>>> Alok* *
>>>
>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Adwords API - get ConversionValue of Keyword

2013-02-18 Thread Danial Klimkin
Hello Werner,


Did you take a look at Criteria performance report?

  https://developers.google.com/adwords/api/docs/appendix/reports#criteria


-Danial, AdWords API Team.


On Friday, February 15, 2013 3:32:14 PM UTC+4, Werner Ziegelwanger wrote:
>
> for a project, I get the total ConversionValue with the 
> ConversionTrackerService. This gets me the turnover for one an adword user.
> I was wondering if it is possible to get a ConversionValue for each 
> Keyword like it is possible to get cost, conversions and so on for Keywords.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Detect operation that caused error on Bulk Job

2013-02-18 Thread Danial Klimkin
Hello John,


Are you using the MutateJobService? Each error should have 'reason', 
'trigger' and 'fieldPath' fields that should describe the issue.


-Danial, AdWords API Team.



On Saturday, February 16, 2013 12:58:24 AM UTC+4, John Lister wrote:
>
> Hi, when I do a BulkJob I can see in the results the type of object 
> operated on by querying the operand object, however when an error occurs I 
> can't seem to find a way to get the same information. Although the error is 
> usually a subclass of error that indicates sometimes the object in question 
> (for example CampaignError is obvious) most errors seem to be generic and 
> some object such as AdGroups don't have any distinct errors that I can see. 
> The only option which seems excessive is to store the object type 
> separately in order to be able to deal with the error.
>
> Have I missed something?
>
> Thanks
>
> John
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Invalid promotional code?

2013-02-18 Thread Danial Klimkin
Hello,


This forum is for technical questions regarding AdWords API only. Please 
contact general AdWords support with this question:

  http://support.google.com/adwords/


-Danial, AdWords API Team.


On Saturday, February 16, 2013 6:18:59 AM UTC+4, 
sa...@shipinfanyigongsi.com wrote:
>
> Two days ago, I received an email from google with a title:Get $150 free 
> when you try Google ads
> In the email , it mentioned
>
> "Just call us at 1-855-287-5173 or visit 
> google.com/ads/appsand
>  
> use offer code  before March 31st,  "
>
> SO I set up an adwords account and paid the money to activate the account. 
> Now the ads have been shown for 2 days. But when I visit 
> https://adwords.google.com/select/RedeemCoupon , and fill in the code, it 
> showed Invalid promotional code.
> I tried to seek help from google, 
> and got the following reply.
>
> "Since your issue is something related to Google Apps, so please contact 
> Google Apps support by following link:
>
>
> http://support.google.com/a/bin/request.py?hl=cn&utm_medium=et&utm_campaign=zh-CN&utm_source=ww-zh_CN-et-b2bfooter_apps
>
> "
>
> But I can not find any clue from that link.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Is there a way to get the serving status of a campaign using Reports?

2013-02-18 Thread Danial Klimkin
Hello Dimitris,


For this use case you will need multiple requests. The API does not provide 
other objects' properties or calculated fields in the reports.


-Danial, AdWords API Team.


On Thursday, February 14, 2013 8:29:40 PM UTC+4, 
dimitrios...@webrepublic.ch wrote:
>
> In an ideal world I could filter 
> reports(and 
> in particular Ad Performance Report) using as a predicate 
> ServingStatus
>  instead 
> of just CampaignStatus because I don't care about campaigns that are 
> expired (but reported as active in CampaignStatus).
>
> Is this aspect of the ideal world implemented in adwords api, is there an 
> even better world or should I compromise to something else?
>
> Cheers,
> Dimitris
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: newbie to adword api - creating reports

2013-02-18 Thread Alan Coleman
Hi Takeshi,

I'm a bit confused about the now-deprecated ReportsDefinitionService.

Reporting Basics encourages us to update our applications to use AdHoc 
Reports: https://developers.google.com/adwords/api/docs/guides/reporting 

However the two examples above both contain reference to
ReportDefinitionService.

$user->LoadService('ReportDefinitionService', 'v201209');

Do AdHoc and AWQL Reports still use ReportDefinitionService, even if it is 
deprecated? 

As always, thanks for all your help.


On Friday, January 18, 2013 6:05:27 AM UTC, Takeshi Hagikura (AdWords API 
Team) wrote:
>
> Hello Paul,
>
> 1) Basically, there are two ways of querying reports. AdHoc 
> reports
>  and AWQL . 
>
> In AdHoc reports, you should query reports using report definition xml
> In AWQL, you should query reports using AWQL String.
>
> Both of them have examples.
> AdHoc reports : 
> https://code.google.com/p/google-api-adwords-php/source/browse/examples/v201209/Reporting/DownloadCriteriaReport.php
> AWQL : 
> https://code.google.com/p/google-api-adwords-php/source/browse/examples/v201209/Reporting/DownloadCriteriaReportWithAwql.php
>
> 2) See the code examples above.
>
> 3) Please see examples above, if you have further questions, please post 
> it here.
>
> Best,
> - Takeshi, AdWords API Team
>
> On Thursday, January 17, 2013 5:43:45 PM UTC+9, Paul C wrote:
>>
>> hi all,
>>
>> i'm a newbie to adwrods api, and I have a task to create daily reports 
>> from several adwords accounts and Pull the data into CSV file  (i'm 
>> working on PHP), 
>>
>> the reports i need to generate are:
>>
>>
>> · Cost per campaign
>>
>> · Clicks
>>
>> · Impressions
>>
>> ·  Ad
>>
>> · Language
>>
>> · Country
>>
>> · Campaign
>>
>> · conversion data
>>
>>
>> my question is:
>>
>> 1. how do i query each one of the above (the name to put on code) , i 
>> found this link 
>> https://developers.google.com/adwords/api/docs/appendix/reports 
>>
>> 2. how do i work with the PHP library? where is the report creating?
>>
>> 3. in general , how do i query reports?
>>
>>
>> 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: Oauth2 jwt ruby issue

2013-02-18 Thread Danial Klimkin
Hello,


I am sorry we can not provide support on domain administration. Please 
consider using non-JWT flow (which is a better approach in most cases) as I 
outlined in this thread.


-Danial, AdWords API Team.


On Thursday, February 14, 2013 7:06:28 PM UTC+4, jmcu...@restorando.com 
wrote:
>
> Hi Danial, I'm having the same problem here.
>
> I'm using OAuth2_Jwt with this config:
>
>   :oauth2_issuer: xx...@developer.gserviceaccount.com ' 
>   :oauth2_secret: 'notasecret'
>   :oauth2_keyfile: '/path/to/privatekey.p12'
>   :oauth2_prn: '' 
>
>   # Other parameters.
>   :developer_token: 'xx'
>   :client_customer_id: ''
>
> and I get this message:
>
> Signet::AuthorizationError: Authorization failed.  Server message:
> {
>   "error" : "access_denied"
> }
>
> I manage my own domain but I cannot find how to grant the application to 
> impersonate users for AdWords without using the Business Edition. Could you 
> please tell me how could I do that?
>
>
>
> On Thursday, February 14, 2013 10:26:32 AM UTC-3, hagay wrote:
>>
>>
>> Hi Daniel, 
>> Ok. In that case i guess I should use the the Oauth2 .
>>
>> The issue is that I need to access the adsowrds api (using oauth2) *without 
>> user interaction*. Do i still need  the 'Service account' or 'Installed 
>> Application' ?
>> If I need to use the 'Installed Application' how can i fetch the 
>> verification_code every time i restart my server ?
>>
>>
>> Thanks for your help.
>> hagay.
>>
>>
>> On Thursday, February 14, 2013 12:40:29 PM UTC+2, Danial Klimkin wrote:
>>>
>>> Hello hagay,
>>>
>>>
>>> You should only use OAUTH2_JWT if you are administering your own domain. 
>>> If you access 3rd party accounts, you should use plain OAUTH2.
>>>
>>> In case you do manage the domain, you need to grant the application to 
>>> impersonate users for AdWords, please check with your domain administrator 
>>> on have to do this.
>>>
>>> See also:
>>>
>>>   https://developers.google.com/accounts/docs/OAuth2ServiceAccount
>>>
>>>
>>> -Danial, AdWords API Team.
>>>
>>>
>>> On Wednesday, February 13, 2013 6:55:14 PM UTC+4, hagay wrote:

 Hi,

 I am writing server side application that using adwords_api, witch mean 
 i should use OAUTH2_JWT, right?

 To create the client id i used the api console with the option of 
  'service_account'. 

 to the config file i am using:
   :authentication => {
 :method: OAUTH2_JWT
 :oauth2_issuer: < the email address i got  within the creation of 
 the this client id >
 :oauth2_secret: *notasecret* #Is it correct?
 :oauth2_keyfile: '/path/to/key.p12' # this filed downloaded 
 :developer_token: '',
 :client_customer_id: '123-456-7890'# the client_customer_id i 
 used with the adwords api
   } 

 i am getting the error:

 Signet::AuthorizationError: Authorization failed.  Server message:
 {
   "error" : "invalid_grant"
 }

 what am i doing wrong?




 On Tuesday, January 15, 2013 2:04:53 PM UTC+2, Danial Klimkin wrote:
>
> Hello Georgi,
>
>
> If you initialize the library with a hash, you need to make sure to 
> provide all required credentials. Make sure to include all required 
> fields 
> like this:
>
> adwords = AdwordsApi::Api.new({
>   :service => {
> :environment => :PRODUCTION
>   },
>   :library => {
> :log_level => "DEBUG"
>   },
>   :authentication => {
> :method: OAUTH2_JWT
> :oauth2_issuer: '12345...@developer.gserviceaccount.com'
> :oauth2_secret: 'key_secret'
> :oauth2_keyfile: '/path/to/key.p12'
> :developer_token: '',
> :client_customer_id: '123-456-7890'
>   }
> }) 
>
>
> -Danial, AdWords API Team.
>
> On Monday, January 14, 2013 4:05:36 PM UTC+4, teamma...@gmail.comwrote:
>>
>> Hello everyone, 
>>
>> We’ve recently started to use adwords api and now we are trying to 
>> automate few tasks. We’re using OAuth2 authentication and ruby. 
>>
>> We’ve followed the example here 
>> https://code.google.com/p/google-api-ads-ruby/source/browse/adwords_api/examples/v201209/misc/use_oauth2_jwt.rbto
>>  authenticate, the only difference is how we initialize the adwords api:
>>
>> adwords = AdwordsApi::Api.new({
>>
>> :library => {
>>
>>   :log_level => "DEBUG"
>>
>> }}) 
>>
>> # option 1 and option 2 not modified from the example
>>
>> campaign_srv = adwords.service(:CampaignService, API_VERSION)
>>
>>
>> We’ve downloaded the private key file and the path is set correctly 
>> and we’ve tried both options. This is the error we get: 
>>
>> /path/.rvm/gems/ruby-1.9.3-p327/gems/google-ads-c

Re: Oauth2 jwt ruby issue

2013-02-18 Thread Danial Klimkin
Hello hagay,


You can use OAuth2 to achieve that. There will be user interaction require *
once* -- the step with the verification code. After that, you need to store 
the refresh token and use it every time you need to access the account. You 
will not need user input again -- as long as the access was not reverted.

Please refer to my demo application on how to retrieve, store and re-use 
the token:

  http://code.google.com/p/google-api-ads-ruby/wiki/AdWordsRailsDemo


-Danial, AdWords API Team.




On Thursday, February 14, 2013 5:26:32 PM UTC+4, hagay wrote:
>
>
> Hi Daniel, 
> Ok. In that case i guess I should use the the Oauth2 .
>
> The issue is that I need to access the adsowrds api (using oauth2) *without 
> user interaction*. Do i still need  the 'Service account' or 'Installed 
> Application' ?
> If I need to use the 'Installed Application' how can i fetch the 
> verification_code every time i restart my server ?
>
>
> Thanks for your help.
> hagay.
>
>
> On Thursday, February 14, 2013 12:40:29 PM UTC+2, Danial Klimkin wrote:
>>
>> Hello hagay,
>>
>>
>> You should only use OAUTH2_JWT if you are administering your own domain. 
>> If you access 3rd party accounts, you should use plain OAUTH2.
>>
>> In case you do manage the domain, you need to grant the application to 
>> impersonate users for AdWords, please check with your domain administrator 
>> on have to do this.
>>
>> See also:
>>
>>   https://developers.google.com/accounts/docs/OAuth2ServiceAccount
>>
>>
>> -Danial, AdWords API Team.
>>
>>
>> On Wednesday, February 13, 2013 6:55:14 PM UTC+4, hagay wrote:
>>>
>>> Hi,
>>>
>>> I am writing server side application that using adwords_api, witch mean 
>>> i should use OAUTH2_JWT, right?
>>>
>>> To create the client id i used the api console with the option of 
>>>  'service_account'. 
>>>
>>> to the config file i am using:
>>>   :authentication => {
>>> :method: OAUTH2_JWT
>>> :oauth2_issuer: < the email address i got  within the creation of 
>>> the this client id >
>>> :oauth2_secret: *notasecret* #Is it correct?
>>> :oauth2_keyfile: '/path/to/key.p12' # this filed downloaded 
>>> :developer_token: '',
>>> :client_customer_id: '123-456-7890'# the client_customer_id i 
>>> used with the adwords api
>>>   } 
>>>
>>> i am getting the error:
>>>
>>> Signet::AuthorizationError: Authorization failed.  Server message:
>>> {
>>>   "error" : "invalid_grant"
>>> }
>>>
>>> what am i doing wrong?
>>>
>>>
>>>
>>>
>>> On Tuesday, January 15, 2013 2:04:53 PM UTC+2, Danial Klimkin wrote:

 Hello Georgi,


 If you initialize the library with a hash, you need to make sure to 
 provide all required credentials. Make sure to include all required fields 
 like this:

 adwords = AdwordsApi::Api.new({
   :service => {
 :environment => :PRODUCTION
   },
   :library => {
 :log_level => "DEBUG"
   },
   :authentication => {
 :method: OAUTH2_JWT
 :oauth2_issuer: '12345...@developer.gserviceaccount.com'
 :oauth2_secret: 'key_secret'
 :oauth2_keyfile: '/path/to/key.p12'
 :developer_token: '',
 :client_customer_id: '123-456-7890'
   }
 }) 


 -Danial, AdWords API Team.

 On Monday, January 14, 2013 4:05:36 PM UTC+4, teamma...@gmail.comwrote:
>
> Hello everyone, 
>
> We’ve recently started to use adwords api and now we are trying to 
> automate few tasks. We’re using OAuth2 authentication and ruby. 
>
> We’ve followed the example here 
> https://code.google.com/p/google-api-ads-ruby/source/browse/adwords_api/examples/v201209/misc/use_oauth2_jwt.rbto
>  authenticate, the only difference is how we initialize the adwords api:
>
> adwords = AdwordsApi::Api.new({
>
> :library => {
>
>   :log_level => "DEBUG"
>
> }}) 
>
> # option 1 and option 2 not modified from the example
>
> campaign_srv = adwords.service(:CampaignService, API_VERSION)
>
>
> We’ve downloaded the private key file and the path is set correctly 
> and we’ve tried both options. This is the error we get: 
>
> /path/.rvm/gems/ruby-1.9.3-p327/gems/google-ads-common-0.9.0/lib/ads_common/credential_handler.rb:65:in
>  
> `set_credential': undefined method `[]=' for nil:NilClass (NoMethodError)
>
> from 
> /path/.rvm/gems/ruby-1.9.3-p327/gems/google-ads-common-0.9.0/lib/ads_common/api.rb:103:in
>  
> `block in authorize'
>
> from 
> /path/.rvm/gems/ruby-1.9.3-p327/gems/google-ads-common-0.9.0/lib/ads_common/api.rb:102:in
>  
> `each_pair'
>
> from 
> /path/.rvm/gems/ruby-1.9.3-p327/gems/google-ads-common-0.9.0/lib/ads_common/api.rb:102:in
>  
> `authorize'
>
>
> Let me know if you need furth

Adwords API - get ConversionValue of Keyword

2013-02-18 Thread Werner Ziegelwanger
for a project, I get the total ConversionValue with the 
ConversionTrackerService. This gets me the turnover for one an adword user.
I was wondering if it is possible to get a ConversionValue for each Keyword 
like it is possible to get cost, conversions and so on for Keywords.

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




product listing ads campaigns not in adhoc report

2013-02-18 Thread daniel
Hi,

the product listing ads campaigns are missing in my reports since 13.02. - 
without any changes from me.
What could be the causes?

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




Adding Product Criterion and Conditions

2013-02-18 Thread martin . tierney
Hi all,

I'm struggling to add new product criterions and conditions, is anybody 
able to point me to any documentation or example code on how to do this?
Every time I try I just get there has been an error in processing message.

Any advice anyone can give is greatly appreciated.

Many thanks,

Martin

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




Add Product Criterions and Conditions

2013-02-18 Thread Martin
Hi,

Can anyone point me in the directions of any documentation or example code 
of how to add product criterions and conditions?
Every time I try i just get there has been an error during processing error.

Any advice is greatly appreciated.

thanks

Martin 

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




Radius targeting around a city - GeoLocationService vs CampaignCriterion Location

2013-02-18 Thread Bogdan S
Hi guys, 

How can I achieve radius targeting around a city? When I use the 
GeoLocationService I need a full address, but I only have the city name. 
When I use Location criterion, I cannot specify a radius. From the web 
interface this is possible. 

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

--- 
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.




Display Network Criteria Tracking

2013-02-18 Thread Grace Chu
Display Network - Kw, placement, topic, audience, age, gender all have a 
destination URL field.  Which one is served when a user fits all 6 criteria?
My assumption is that url of the criteria triggers the ad will be served.

Please confirm?

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




Display Network Destination URLs - which is served?

2013-02-18 Thread Grace Chu
If an ad group in a DIsplay Network enabled campaign, has display keywords, 
placements, topics, audiences, age, and gender.
Each with their own Destination URLs.
When a user is shown an ad on the GDN, and fits all 6 criteria - which URL 
is served?

My assumption is, the URL of whichever criteria triggered the ad will be 
the destination URL.

Is this correct?

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




Invalid promotional code?

2013-02-18 Thread sales
Two days ago, I received an email from google with a title:Get $150 free 
when you try Google ads
In the email , it mentioned

"Just call us at 1-855-287-5173 <18552875173> or visit 
google.com/ads/appsand
 
use offer code  before March 31st,  "

SO I set up an adwords account and paid the money to activate the account. 
Now the ads have been shown for 2 days. But when I 
visit https://adwords.google.com/select/RedeemCoupon , and fill in the 
code, it showed Invalid promotional code.
I tried to seek help from google, 
and got the following reply.

"Since your issue is something related to Google Apps, so please contact 
Google Apps support by following link:

http://support.google.com/a/bin/request.py?hl=cn&utm_medium=et&utm_campaign=zh-CN&utm_source=ww-zh_CN-et-b2bfooter_apps

"

But I can not find any clue from that link.

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




My Ads displaying the message "This ad is not eligible to run on the search network" !

2013-02-18 Thread Pragya Sharma
Hi Everyone,

I am facing problem with my Adwords campaign. Please have a look at our 
thread posted on one of the Google plus community. ( 
https://plus.google.com/113883398531674414392/posts ) 

"My ad copies are approved and the keywords are eligible. The Quality score 
is average and I have increased the max CPC too but it is showing this 
message - "The keyword phrase doesn't currently trigger any of your ads." 

I was running this campaign till December and it was running fine. I then 
paused it and I am getting this message when I again made it Enable. 

I am getting the same message for the new Ad groups too.

Could you please look into the issue and help me in sorting it out?

TIA :) "
*
I checked for all the settings,diagnosis,budget, max CPC. etc but unable to 
trace the problem. *Please help.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: AuthorizationError.USER_PERMISSION_DENIED error with v201209

2013-02-18 Thread igor
Did no one come across this error when technically all requirements are 
satisfied?

On Thursday, 14 February 2013 19:48:56 UTC, ig...@blueclaw.co.uk wrote:
>
> Hi,
>
> I have a python application that is using latest APIs version with offline 
> OAuth2.
> While developing I was using MCC with test client account without any 
> issues (developerToken is approved).
>
> During test with live account this error popped up.
> Initially I assumed that I really do not have API access for that client 
> account, after double checking I went back to examples, 
> tried to use oauth2 
> example
>  
> without campaign creation but it is the same error anyway.
>
> Any ideas?
>
> Cheers,
>
> Igor.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: New AdGroups missing from CustomerSyncService report

2013-02-18 Thread Paul Matthews (AdWords API Team)
Hi Thomaas,

Can you give us an example of the queries you're using, or if you'd prefer 
to contact us directly  with an example SOAP 
request / response, it would aid our investigation into this.

- Paul, 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

--- 
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.