Re: EntityNotFound.INVALID_ID while updating the Keyword Max CPC

2013-05-06 Thread jmcuello
It seems it's not possible to update keywords(criterion) with user_status = 
'DELETED'.

On Monday, May 6, 2013 12:17:43 PM UTC-3, jmcu...@restorando.com wrote:
>
> The same thing happens to me when I try to update a keyword url:
>
> http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="EntityNotFound">operations[18].operand.criterion.id
> CriterionId{id=33684375110}EntityNotFound.INVALID_IDEntityNotFoundINVALID_ID
>
> I can confirm that the criterion_id is inside the adgroup_id I'm sending 
> in the same request. I'm using the ruby client library. I have a process 
> that updates all the url keywords of different adgroups. While it works ok 
> with many adgroups, it throws that exception with some of them. Any known 
> issue with this?
>
>
>
>
> On Friday, April 19, 2013 2:38:39 AM UTC-3, Anash P. Oommen (AdWords API 
> Team) wrote:
>>
>> Hi Tom,
>>
>> The error means that CriterionId 25467874155 is not part of 
>> AdGroupId 2159344995. One way to confirm this would be to run a criteria 
>> report with Id and AdGroupId columns and see what criteria come 
>> under AdGroupId 2159344995.
>>
>> Cheers,
>> Anash P. Oommen,
>> AdWords API Advisor
>>
>> On Tuesday, April 16, 2013 4:19:56 PM UTC+5:30, Tom wrote:
>>>
>>> Hi,
>>>
>>> I am getting an Error of EntityNotFound.INVALID_ID while I am trying to 
>>> set/change the Max CPC of keywords. The soap fault generated are of the 
>>> following types:
>>>
>>> [User Warning] setKeywordMaxCpc: (faultcode: soap:Server, faultstring: 
>>> [EntityNotFound.INVALID_ID @ operations[0].operand.criterion.id; 
>>> trigger:'CriterionId{id=27698986155}']) for Adgroup 2159345115 & Keyword 
>>> 27698986155
>>>
>>> [User Warning] setKeywordMaxCpc: (faultcode: soap:Server, faultstring: 
>>> [EntityNotFound.INVALID_ID @ operations[0].operand.criterion.id; 
>>> trigger:'CriterionId{id=27698992155}']) for Adgroup 2159345115 & Keyword 
>>> 27698992155
>>>
>>> [User Warning] setKeywordMaxCpc: (faultcode: soap:Server, faultstring: 
>>> [EntityNotFound.INVALID_ID @ operations[0].operand.criterion.id; 
>>> trigger:'CriterionId{id=25467874155}']) for Adgroup 2159344995 & Keyword 
>>> 25467874155
>>>
>>> Can you please help me to resolve this issue as I am getting these 
>>> errors quite often?
>>>
>>> - Tom
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: EntityNotFound.INVALID_ID while updating the Keyword Max CPC

2013-05-06 Thread jmcuello
The same thing happens to me when I try to update a keyword url:

http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="EntityNotFound">operations[18].operand.criterion.idCriterionId{id=33684375110}EntityNotFound.INVALID_IDEntityNotFoundINVALID_ID

I can confirm that the criterion_id is inside the adgroup_id I'm sending in 
the same request. I'm using the ruby client library. I have a process that 
updates all the url keywords of different adgroups. While it works ok with 
many adgroups, it throws that exception with some of them. Any known issue 
with this?




On Friday, April 19, 2013 2:38:39 AM UTC-3, Anash P. Oommen (AdWords API 
Team) wrote:
>
> Hi Tom,
>
> The error means that CriterionId 25467874155 is not part of 
> AdGroupId 2159344995. One way to confirm this would be to run a criteria 
> report with Id and AdGroupId columns and see what criteria come 
> under AdGroupId 2159344995.
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor
>
> On Tuesday, April 16, 2013 4:19:56 PM UTC+5:30, Tom wrote:
>>
>> Hi,
>>
>> I am getting an Error of EntityNotFound.INVALID_ID while I am trying to 
>> set/change the Max CPC of keywords. The soap fault generated are of the 
>> following types:
>>
>> [User Warning] setKeywordMaxCpc: (faultcode: soap:Server, faultstring: 
>> [EntityNotFound.INVALID_ID @ operations[0].operand.criterion.id; 
>> trigger:'CriterionId{id=27698986155}']) for Adgroup 2159345115 & Keyword 
>> 27698986155
>>
>> [User Warning] setKeywordMaxCpc: (faultcode: soap:Server, faultstring: 
>> [EntityNotFound.INVALID_ID @ operations[0].operand.criterion.id; 
>> trigger:'CriterionId{id=27698992155}']) for Adgroup 2159345115 & Keyword 
>> 27698992155
>>
>> [User Warning] setKeywordMaxCpc: (faultcode: soap:Server, faultstring: 
>> [EntityNotFound.INVALID_ID @ operations[0].operand.criterion.id; 
>> trigger:'CriterionId{id=25467874155}']) for Adgroup 2159344995 & Keyword 
>> 25467874155
>>
>> Can you please help me to resolve this issue as I am getting these errors 
>> quite often?
>>
>> - Tom
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Dynamic Site Link - modified by AdParam

2013-04-16 Thread jmcuello
Is this feature in the roadmap? I'm very interested in this functionality.

I have thousands of AdGroups and I'm creating a set of sitelinks for each 
of them. The text is the same, but the destination url changes. Would be 
great to just create one set of sitelinks and change the url using de 
AdParams.


On Wednesday, November 7, 2012 2:22:05 PM UTC-3, Kevin Winter wrote:
>
> Hi Petr,
>   Unfortunately this is not possible, AdParams only work for TextAds.
>
> - Kevin Winter
> AdWords API Team
>
> On Monday, October 15, 2012 2:44:56 AM UTC-4, Petr Kotek wrote:
>>
>> Hello,
>> I'd like to ask if it's possible to modify Site Link title via AdParam 
>> Service? I haven't found it noticed anywhere in documentation.
>>
>> Thanks,
>> Petr
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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-14 Thread jmcuello
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-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/