Offline Conversion: only 2/3 of uploaded data appear in Adwords
Hi! I'm pushing offline conversions to various adwords accounts and having this weird issue: only 2/3 of them are actually getting there. Not sure what happens with the other 1/3. I am repeating the uploading hourly, for the same conversions set taken from the last 48 hrs (initially was 24 hrs, I thought that this might help), thus giving chance for all conversions to be uploaded (even if they appear at first with TOO RECENT CLICK error). Any idea why this is happening? Thanks! --*Steve* -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: SelectorError.SELECTOR_ERROR @ serviceSelector
I also found out that 10,000 is the magic number. 10,000 ids will be accepted, 10,001 ids will throw the error. it would be nice if the error message would be more obvious instead of SelectorError.SELECTOR_ERROR @ serviceSelector. Am Montag, 7. April 2014 11:11:12 UTC+2 schrieb GrueneOrchidee: I get the error message SelectorError.SELECTOR_ERROR @ serviceSelector when I use the AdGroupCriterionService for getting the criteria of some customers. This error won't be thrown for all of our customers. The error message doesn't show the reason who triggered this error and the documentation tells me only that SELECTOR_ERROR is the Standard error. But this doesn't help me, fixing this problem. It seems to me that the error is a result of too many adgroup criterion ids that I added to the Predicate together with selector Id and PredicateOperator IN. Is there a limit? I couldn't find a documentation with this topic. In my case I added 24753 ids for getting only this adGroup criteria and got this selector error. Here is my soap header: ?xml version=1.0 encoding=UTF-8?soap:Envelope xmlns:soap= http://schemas.xmlsoap.org/soap/envelope/; soap:Header ResponseHeader xmlns=https://adwords.google.com/api/adwords/cm/v201309; requestId0004f66eaa1438900ae5d8493bf8/requestId serviceNameAdGroupCriterionService/serviceName methodNameget/methodName operations0/operations responseTime198/responseTime /ResponseHeader /soap:Header soap:Body soap:Fault faultcodesoap:Server/faultcode faultstring[SelectorError.SELECTOR_ERROR @ serviceSelector]/faultstring detail ApiExceptionFault xmlns= https://adwords.google.com/api/adwords/cm/v201309; message[SelectorError.SELECTOR_ERROR @ serviceSelector]/message ApplicationException.TypeApiException/ApplicationException.Type errors xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:type=SelectorError fieldPathserviceSelector/fieldPath trigger/ errorStringSelectorError.SELECTOR_ERROR/errorString ApiError.TypeSelectorError/ApiError.Type reasonSELECTOR_ERROR/reason /errors /ApiExceptionFault /detail /soap:Fault /soap:Body /soap:Envelope -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: .net adwords api 'Failed to get access token for service account'
To be specific i get *Failed to get access token for service account.\n{\n \error\ : \invalid_request\\n}}* But the weird part is that i get and after calling the service for about a minute. Until then no errors are shown and i get my reports correctly. Any ideas? Τη Τρίτη, 8 Απριλίου 2014 6:22:56 μ.μ. UTC+3, ο χρήστης otser...@allthingsweb.gr έγραψε: Hi, i use the new adwords api (v201402) and i have trouble downloading reports via api. I have successfully completed the entire procedure of service account ( https://developers.google.com/adwords/api/docs/guides/service-accounts). I use this configuration: add key=OAuth2Mode value=SERVICE_ACCOUNT / add key=OAuth2ServiceAccountEmail value= x...@developer.gserviceaccount.com / add key=OAuth2PrnEmail value=xxx / add key=OAuth2JwtCertificatePath value=path-privatekey.p12 / add key=OAuth2JwtCertificatePassword value=xxx / and i have registered the scope successfully But sometimes (not always) i get this message : *Failed to get access token for service account * Can you help me please? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: .net adwords api 'Failed to get access token for service account'
To be specific i get *Failed to get access token for service account.\n{\n \error\ : \invalid_request\\n}}* But the weird part is that i get this message after calling the service for about a minute. Until then no errors are shown and i get my reports correctly. Any ideas? Τη Τρίτη, 8 Απριλίου 2014 6:22:56 μ.μ. UTC+3, ο χρήστης otser...@allthingsweb.gr έγραψε: Hi, i use the new adwords api (v201402) and i have trouble downloading reports via api. I have successfully completed the entire procedure of service account ( https://developers.google.com/adwords/api/docs/guides/service-accounts). I use this configuration: add key=OAuth2Mode value=SERVICE_ACCOUNT / add key=OAuth2ServiceAccountEmail value= x...@developer.gserviceaccount.com / add key=OAuth2PrnEmail value=xxx / add key=OAuth2JwtCertificatePath value=path-privatekey.p12 / add key=OAuth2JwtCertificatePassword value=xxx / and i have registered the scope successfully But sometimes (not always) i get this message : *Failed to get access token for service account * Can you help me please? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Quality score daily email report
HI, has anyone an information where to find a ready to use script for daily emailing KW QS's? And also - is there a .js online tutorial you would recommend? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Video Ads - How to pull metrics from Adwords API.
Hi AdWords API Team, can we hope for any updates with the upcoming upgrade of video campaigns? https://support.google.com/adwords/answer/3481092 This topic is now more than 2 years old - the new shopping campaigns were supported right from the start. It would even help me to know if it is planned to implement video campaign reporting at all. BR, Timm -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: SelectorError.SELECTOR_ERROR @ serviceSelector
Is this a new requirement where the requests cannot accept more than 10K AdGroupIds in the request? On Monday, April 7, 2014 10:24:59 AM UTC-7, Ray Tsang (AdWords API Team) wrote: Hi, Could I trouble you to break down the select into a few different statements? I.e., rather than passing in 24k ids, can you pass significantly fewer, but with a few different selects? Thanks, Ray On Monday, April 7, 2014 5:11:12 AM UTC-4, GrueneOrchidee wrote: I get the error message SelectorError.SELECTOR_ERROR @ serviceSelector when I use the AdGroupCriterionService for getting the criteria of some customers. This error won't be thrown for all of our customers. The error message doesn't show the reason who triggered this error and the documentation tells me only that SELECTOR_ERROR is the Standard error. But this doesn't help me, fixing this problem. It seems to me that the error is a result of too many adgroup criterion ids that I added to the Predicate together with selector Id and PredicateOperator IN. Is there a limit? I couldn't find a documentation with this topic. In my case I added 24753 ids for getting only this adGroup criteria and got this selector error. Here is my soap header: ?xml version=1.0 encoding=UTF-8?soap:Envelope xmlns:soap= http://schemas.xmlsoap.org/soap/envelope/; soap:Header ResponseHeader xmlns=https://adwords.google.com/api/adwords/cm/v201309 requestId0004f66eaa1438900ae5d8493bf8/requestId serviceNameAdGroupCriterionService/serviceName methodNameget/methodName operations0/operations responseTime198/responseTime /ResponseHeader /soap:Header soap:Body soap:Fault faultcodesoap:Server/faultcode faultstring[SelectorError.SELECTOR_ERROR @ serviceSelector]/faultstring detail ApiExceptionFault xmlns= https://adwords.google.com/api/adwords/cm/v201309; message[SelectorError.SELECTOR_ERROR @ serviceSelector]/message ApplicationException.TypeApiException/ApplicationException.Type errors xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:type=SelectorError fieldPathserviceSelector/fieldPath trigger/ errorStringSelectorError.SELECTOR_ERROR/errorString ApiError.TypeSelectorError/ApiError.Type reasonSELECTOR_ERROR/reason /errors /ApiExceptionFault /detail /soap:Fault /soap:Body /soap:Envelope -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Dynamically changing ClientId in order to access multiple accounts
Hi Guys, I just posted this, but I can't see it so I'm sorry if it dupes. Language PHP: I'm trying to access all the accounts in my MCC and so I'm looking for a way to dynamically change the ClientId from within the script file. I saw this in another thread $user = new AdWordsUser(); // Load whatever settings is there in auth.ini. $user-SetClientId($_GET[xxx-xxx-]); // Set specific values as override. I tried it out but get the following error Notice: Undefined index: xxx-xxx- What am I doing wrong? The end goal is to be able to pass the ClientId as the parameter of a function, and so using one script be able to access all accounts in my MCC. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Problem with adgroupBidModifier - Get a value but when trying to use opreation set get exception No existing bid modifier for AdGroupId
Hello Aviad, 1.0 is equivalent to not bid adjustment (times 1). Please use ADD operation to set the adjustment in this case. -Danial, AdWords API Team. On Tuesday, April 8, 2014 3:35:02 PM UTC+4, avi...@sem-engine.com wrote: Hi. I am facing with a weird problem with bid modifier for adgroup. When i am getting it from adwords service(Using the AdGroupBidModifierServiceInterface) I get that the bid modifier is 1.0 and not NULL. When i am tyring to use opreation SET to the bid i get this error: faultstring[EntityNotFound.INVALID_ID @ operations[0].operand.criterion; trigger:'No existing bid modifier for AdGroupId:{###} CriterionId{id=30001}']/faultstring Does anyone can help me here? Thanks Aviad -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: AWQL WHERE IN limitations?
Hello Rob, Please see: http://googleadsdeveloper.blogspot.com/2014/03/reminder-new-filter-limits-for-adwords.html -Danial, AdWords API Team. On Tuesday, April 8, 2014 11:39:22 PM UTC+4, rob wrote: I'm curious if anyone knows of a limitation of the amount of ID numbers that can be queried against in a single query. For instance, if querying with a qualifier of roughly 24,000 ad groups, the query selector errors out. I'm assuming that 24k is too high, so what's the number I have to stay under? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: .net adwords api 'Failed to get access token for service account'
Hello, Are you running a Google Apps domain? In most cases, you should not be using Service Accounts unless you need very specific features like impersonation. Please see this guide for more details: https://developers.google.com/adwords/api/docs/guides/service-accounts -Danial, AdWords API Team. On Tuesday, April 8, 2014 7:22:56 PM UTC+4, otser...@allthingsweb.gr wrote: Hi, i use the new adwords api (v201402) and i have trouble downloading reports via api. I have successfully completed the entire procedure of service account ( https://developers.google.com/adwords/api/docs/guides/service-accounts). I use this configuration: add key=OAuth2Mode value=SERVICE_ACCOUNT / add key=OAuth2ServiceAccountEmail value= x...@developer.gserviceaccount.com / add key=OAuth2PrnEmail value=xxx / add key=OAuth2JwtCertificatePath value=path-privatekey.p12 / add key=OAuth2JwtCertificatePassword value=xxx / and i have registered the scope successfully But sometimes (not always) i get this message : *Failed to get access token for service account * Can you help me please? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: AdHoc Reports and API connection issues: 'The remote server returned an error: (400) Bad Request' and 'An existing connection was forcibly closed by the remote host'. Quota problem?
Hello Brett, Generally, you should receive a meaningful error from the API for the cases when you are rate limited. Bad Request often means the request was not send in full (unless it was a really malformed request). Most likely this is a network issue. Are you running on a windows platform? -Danial, AdWords API Team. On Tuesday, April 8, 2014 10:29:59 PM UTC+4, Brett Rogers wrote: Scenario: We have a daily task that downloads AdWords AdHoc reports for our MCC account's accounts, campaigns, ad groups, and ads to synchronize them with our local database. We have multiple accounts in our MCC and each account has large quantities of ad groups, so we download quite a bit of data. This process worked great until a few weeks ago, when we started the following error part of the way through the process: - The remote server returned an error: (400) Bad Request. Once this error occurs on the main daily task computer, we see the following: - AdHoc Reports requests initiated from that computer fail after a handful of requests - AdWords API requests initiated from that computer fail with this error: -- An existing connection was forcibly closed by the remote host BUT, if we then launch this same daily task from another computer, it will successfully complete everything and API requests will also work, i.e., the same auth credentials work elsewhere, just not from that computer. Ideas? Are we running into some kind of IP or computer-based quota? FYI - we're using the latest API version - v201402, but the problem was also occurring with v201309 before we recently upgraded. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Video Ads - How to pull metrics from Adwords API.
Hello Timm, Unfortunately we have no further communication at this time. -Danial, AdWords API Team. On Wednesday, April 9, 2014 1:00:18 PM UTC+4, Timm Janssen wrote: Hi AdWords API Team, can we hope for any updates with the upcoming upgrade of video campaigns? https://support.google.com/adwords/answer/3481092 This topic is now more than 2 years old - the new shopping campaigns were supported right from the start. It would even help me to know if it is planned to implement video campaign reporting at all. BR, Timm -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: AWQL WHERE IN limitations?
Danial, Thanks! Answered my question! On Wednesday, April 9, 2014 7:41:07 AM UTC-5, Danial Klimkin wrote: Hello Rob, Please see: http://googleadsdeveloper.blogspot.com/2014/03/reminder-new-filter-limits-for-adwords.html -Danial, AdWords API Team. On Tuesday, April 8, 2014 11:39:22 PM UTC+4, rob wrote: I'm curious if anyone knows of a limitation of the amount of ID numbers that can be queried against in a single query. For instance, if querying with a qualifier of roughly 24,000 ad groups, the query selector errors out. I'm assuming that 24k is too high, so what's the number I have to stay under? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: .net adwords api 'Failed to get access token for service account'
Thanks for the reply. Yes i am running a Google Apps domain. I implemented each step of the procedure correctly i guess as i get some results back. But sometimes i get *Failed to get access token for service account.\n{\n \error\ : \invalid_request\\n}}* Do i miss something? Otherwise is there a way to use the api with add key=OAuth2Mode value=APPLICATION / without user interaction? Τη Τετάρτη, 9 Απριλίου 2014 3:43:10 μ.μ. UTC+3, ο χρήστης Danial Klimkin έγραψε: Hello, Are you running a Google Apps domain? In most cases, you should not be using Service Accounts unless you need very specific features like impersonation. Please see this guide for more details: https://developers.google.com/adwords/api/docs/guides/service-accounts -Danial, AdWords API Team. On Tuesday, April 8, 2014 7:22:56 PM UTC+4, otser...@allthingsweb.grwrote: Hi, i use the new adwords api (v201402) and i have trouble downloading reports via api. I have successfully completed the entire procedure of service account ( https://developers.google.com/adwords/api/docs/guides/service-accounts). I use this configuration: add key=OAuth2Mode value=SERVICE_ACCOUNT / add key=OAuth2ServiceAccountEmail value= x...@developer.gserviceaccount.com javascript: / add key=OAuth2PrnEmail value=xxx / add key=OAuth2JwtCertificatePath value=path-privatekey.p12 / add key=OAuth2JwtCertificatePassword value=xxx / and i have registered the scope successfully But sometimes (not always) i get this message : *Failed to get access token for service account * Can you help me please? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: .net adwords api 'Failed to get access token for service account'
I'm having the same problem with *Failed to get access token for service account.\n{\n \error\ : \invalid_request\\n}}* I'm using the .net client library. It seems that after retrying several times (more than 5 attempts) it eventually works which is quite unusual. On Wednesday, 9 April 2014 14:12:06 UTC+1, otser...@allthingsweb.gr wrote: Thanks for the reply. Yes i am running a Google Apps domain. I implemented each step of the procedure correctly i guess as i get some results back. But sometimes i get *Failed to get access token for service account.\n{\n \error\ : \invalid_request\\n}}* Do i miss something? Otherwise is there a way to use the api with add key=OAuth2Mode value=APPLICATION / without user interaction? Τη Τετάρτη, 9 Απριλίου 2014 3:43:10 μ.μ. UTC+3, ο χρήστης Danial Klimkin έγραψε: Hello, Are you running a Google Apps domain? In most cases, you should not be using Service Accounts unless you need very specific features like impersonation. Please see this guide for more details: https://developers.google.com/adwords/api/docs/guides/service-accounts -Danial, AdWords API Team. On Tuesday, April 8, 2014 7:22:56 PM UTC+4, otser...@allthingsweb.grwrote: Hi, i use the new adwords api (v201402) and i have trouble downloading reports via api. I have successfully completed the entire procedure of service account ( https://developers.google.com/adwords/api/docs/guides/service-accounts). I use this configuration: add key=OAuth2Mode value=SERVICE_ACCOUNT / add key=OAuth2ServiceAccountEmail value= x...@developer.gserviceaccount.com / add key=OAuth2PrnEmail value=xxx / add key=OAuth2JwtCertificatePath value=path-privatekey.p12 / add key=OAuth2JwtCertificatePassword value=xxx / and i have registered the scope successfully But sometimes (not always) i get this message : *Failed to get access token for service account * Can you help me please? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Generate a new access token with refresh token(c#)
Hi, The OAuth2ProviderForApplicationshttps://github.com/googleads/googleads-adwords-dotnet-lib/blob/f5de5c82c7b86732bf33ab72475acfb76ae784bd/src/Common/Lib/OAuth2ProviderForApplications.cs class may be a good starting point. You could also look at the OAuth2 documentationhttps://developers.google.com/accounts/docs/OAuth2InstalledApp, which explains the flow and formats of the requests and responses involved. Cheers, Josh, AdWords API Team On Tuesday, April 8, 2014 7:27:15 PM UTC-4, Richard wrote: Is there an example in C# to generate a new access token from refresh token without using the client library? Our currently application are using raw soap call to web service without using client library so we would like to keep it this way. Thanks! -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Register Now for the Spring 2014 AdWords API Workshops
We're pleased to announce that the AdWords API Workshopshttps://sites.google.com/site/awapiworkshops are coming back for another round in April and May of 2014. Registration is now open https://sites.google.com/site/awapiworkshops/registration! See our announcement blog post for more details. Cheers, Anash P. Oommen, AdWords API Advisor. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Changing budget name on deletion
Due to constraint that names of budgets must be uniq I am trying change the budget name as a budget is deleted. I C# using the client library I use the following code string now = DateTime.UtcNow.ToString(-MM-dd hh:mm:ss); budget.name = String.Format({0} (deleted {1}), budget.name, now); budget.status = BudgetBudgetStatus.DELETED; var operations = new ListBudgetOperation(); operations.Add(new BudgetOperation {operand = budget, @operator = Operator.REMOVE}); var service = (BudgetService) _user.GetService(AdWordsService.v201402.BudgetService); operations.ForEach(part = service.mutate(part)); In the above code, budget is earlier retrieved from the API and hence holding the budget id. Running the code, the budget is deleted, but the budget name is not changed. What am I doing wrong? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Exclude categorieds from keywords results
Hi Danial, I've added multiple CategoryProductsAndServicesSearchParameterhttps://developers.google.com/adwords/api/docs/reference/v201402/TargetingIdeaService.CategoryProductsAndServicesSearchParameterobjects to TargetingIdeaSelector . Example code : CategoryProductsAndServicesSearchParameterhttps://developers.google.com/adwords/api/docs/reference/v201402/TargetingIdeaService.CategoryProductsAndServicesSearchParametercategory1= new CategoryProductsAndServicesSearchParameterhttps://developers.google.com/adwords/api/docs/reference/v201402/TargetingIdeaService.CategoryProductsAndServicesSearchParameter (); category.setCategoryId(10177); CategoryProductsAndServicesSearchParameterhttps://developers.google.com/adwords/api/docs/reference/v201402/TargetingIdeaService.CategoryProductsAndServicesSearchParametercategory2= new CategoryProductsAndServicesSearchParameterhttps://developers.google.com/adwords/api/docs/reference/v201402/TargetingIdeaService.CategoryProductsAndServicesSearchParameter (); category.setCategoryId(13409); ...ect TargetingIdeaSelector . setSearchParameters(new SearchParameter[] { category1,category2 ...etc }) but am getting an exception . Can you please rectify this. question : how to add multiple categories ids to TargetingIdeaSelector . Thanks, Sada On Saturday, 5 April 2014 14:44:11 UTC+5:30, sada vemula wrote: Please let me know, how to filter results by categore wise . some body post sample code in java for TargetingIdeaSelector service -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Ad Params in Reports
Hi Takeshi Are there any updates on this? Is there any progress regarding this issue? Will the recently released AWQL be able to help there? Thanks On Tuesday, September 24, 2013 12:19:04 PM UTC+3, Takeshi Hagikura (AdWords API Team) wrote: Hi Ori, At this moment, it's not available to retrieve ad params through reports. It's on the roadmap, when it becomes available, we'll announce it through normal channels (blog, G+ page release note, etc) Best, - Takeshi, AdWords API Team On Saturday, September 21, 2013 9:07:53 PM UTC+9, Ori Arditi wrote: Hello Is it still impossible to fetch the ad params (param1 param2) in the keywords performance report or any other report? Are there any plans for it? Thank you This e-mail, as well as any attached document, may contain material which is confidential and privileged and may include trademark, copyright and other intellectual property rights that are proprietary to Kenshoo Ltd, its subsidiaries or affiliates (Kenshoo). This e-mail and its attachments may be read, copied and used only by the addressee for the purpose(s) for which it was disclosed herein. If you have received it in error, please destroy the message and any attachment, and contact us immediately. If you are not the intended recipient, be aware that any review, reliance, disclosure, copying, distribution or use of the contents of this message without Kenshoo's express permission is strictly prohibited. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Ad Hoc Keyword report with stats comparable to the stats presented in the adwords interface
Marcin, I don't think this is possible at the moment. However, you may try to exclude 300 in Keywords Performance report to exclude Display keywords, and use Display Keyword Performance report only for Display keywords. Thanks, Ray On Monday, April 7, 2014 5:41:22 PM UTC-4, mrcnr...@gmail.com wrote: Hi, I'm trying to get keywords stats from API for display and search campaigns. For each campaign and for each keyword I want to get the total sum of clicks and impresions, value of ctr, etc. When I'm using KEYWORDS_PERFORMANCE_REPORT I'm getting rows with keyword statistics for the search ads, and other rows with statistics for the display ads. The rows with stats for the display ads contains KeywordID=300, the rows with stats for the search ads contains adeqauate KeywordIDs. eg: Keyword ID | Impressions | Keyword 300 |200 | Content 12345 |100 | key1 300 | 20 | Content 23456 | 10 | key2 When I'm using DISPLAY_KEYWORD_PERFORMANCE_REPORT I'm getting only stats for display ads, not with magic KeywordID=300, but with adeqauate KeywordID. Keyword ID | Impresions | Keyword 12345 | 200 | key1 23456 | 20 | key2 In AdWords interface I can see that I have 300 impressions for key1 and 30 impressions for key2. I cannot find the way to get from AdWords API the rows explicite containing 300 and 30 impressions for the keywords. I can do summations manually form KEYWORDS_PERFORMANCE_REPORT rows, but I don't found the column which contains proper key that could be used for such summations. And also I don't think that such manual summation is the solution that is used by the google adwords interface developers. My quesion is: how can I get the stats for each keyword without segmentation them into display and search type ads? In the other words, how can I get the raport containing the results: Keyword ID | Impresions | Keyword 12345 | 300 | key1 23456 | 30 | key2 Best regards, Marcin RR. PS. I have already readed https://developers.google.com/adwords/api/docs/appendix/reports and https://developers.google.com/adwords/api/docs/guides/reporting-concepts#keywordid300 . -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: SelectorError.SELECTOR_ERROR @ serviceSelector
Hi all, I'll look into making the error more explicit. Cheers, Ray On Wednesday, April 9, 2014 5:17:05 AM UTC-4, GrueneOrchidee wrote: I also found out that 10,000 is the magic number. 10,000 ids will be accepted, 10,001 ids will throw the error. it would be nice if the error message would be more obvious instead of SelectorError.SELECTOR_ERROR @ serviceSelector. Am Montag, 7. April 2014 11:11:12 UTC+2 schrieb GrueneOrchidee: I get the error message SelectorError.SELECTOR_ERROR @ serviceSelector when I use the AdGroupCriterionService for getting the criteria of some customers. This error won't be thrown for all of our customers. The error message doesn't show the reason who triggered this error and the documentation tells me only that SELECTOR_ERROR is the Standard error. But this doesn't help me, fixing this problem. It seems to me that the error is a result of too many adgroup criterion ids that I added to the Predicate together with selector Id and PredicateOperator IN. Is there a limit? I couldn't find a documentation with this topic. In my case I added 24753 ids for getting only this adGroup criteria and got this selector error. Here is my soap header: ?xml version=1.0 encoding=UTF-8?soap:Envelope xmlns:soap= http://schemas.xmlsoap.org/soap/envelope/; soap:Header ResponseHeader xmlns=https://adwords.google.com/api/adwords/cm/v201309 requestId0004f66eaa1438900ae5d8493bf8/requestId serviceNameAdGroupCriterionService/serviceName methodNameget/methodName operations0/operations responseTime198/responseTime /ResponseHeader /soap:Header soap:Body soap:Fault faultcodesoap:Server/faultcode faultstring[SelectorError.SELECTOR_ERROR @ serviceSelector]/faultstring detail ApiExceptionFault xmlns= https://adwords.google.com/api/adwords/cm/v201309; message[SelectorError.SELECTOR_ERROR @ serviceSelector]/message ApplicationException.TypeApiException/ApplicationException.Type errors xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:type=SelectorError fieldPathserviceSelector/fieldPath trigger/ errorStringSelectorError.SELECTOR_ERROR/errorString ApiError.TypeSelectorError/ApiError.Type reasonSELECTOR_ERROR/reason /errors /ApiExceptionFault /detail /soap:Fault /soap:Body /soap:Envelope -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Offline Conversion: only 2/3 of uploaded data appear in Adwords
Hi, Were you receiving any errors when uploading the offline conversion? Did you associate with the GCLID and timestamp (with timezone?). Please review the help center article around timing your uploadshttps://support.google.com/adwords/answer/2998031?hl=en . Cheers, On Wednesday, April 9, 2014 2:36:59 AM UTC-4, Nypo77 wrote: Hi! I'm pushing offline conversions to various adwords accounts and having this weird issue: only 2/3 of them are actually getting there. Not sure what happens with the other 1/3. I am repeating the uploading hourly, for the same conversions set taken from the last 48 hrs (initially was 24 hrs, I thought that this might help), thus giving chance for all conversions to be uploaded (even if they appear at first with TOO RECENT CLICK error). Any idea why this is happening? Thanks! --*Steve* -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Dynamically changing ClientId in order to access multiple accounts
Visar, $_GET() probably returned something invalid. Try passing in CID directly, such as: $user-SetClientId(xxx-xxx-); Cheers, Ray On Wednesday, April 9, 2014 5:31:58 AM UTC-4, Visar wrote: Hi Guys, I just posted this, but I can't see it so I'm sorry if it dupes. Language PHP: I'm trying to access all the accounts in my MCC and so I'm looking for a way to dynamically change the ClientId from within the script file. I saw this in another thread $user = new AdWordsUser(); // Load whatever settings is there in auth.ini. $user-SetClientId($_GET[xxx-xxx-]); // Set specific values as override. I tried it out but get the following error Notice: Undefined index: xxx-xxx- What am I doing wrong? The end goal is to be able to pass the ClientId as the parameter of a function, and so using one script be able to access all accounts in my MCC. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Changing budget name on deletion
Ramsus, Could I trouble you to try this in 2 phases? 1. Change the budget name and save 2. Set the satus and save Let me know if that works for you. Thanks, Ray On Wednesday, April 9, 2014 12:57:36 PM UTC-4, Rasmus Ladekjær Pedersen wrote: Due to constraint that names of budgets must be uniq I am trying change the budget name as a budget is deleted. I C# using the client library I use the following code string now = DateTime.UtcNow.ToString(-MM-dd hh:mm:ss); budget.name = String.Format({0} (deleted {1}), budget.name, now); budget.status = BudgetBudgetStatus.DELETED; var operations = new ListBudgetOperation(); operations.Add(new BudgetOperation {operand = budget, @operator = Operator.REMOVE}); var service = (BudgetService) _user.GetService(AdWordsService.v201402.BudgetService); operations.ForEach(part = service.mutate(part)); In the above code, budget is earlier retrieved from the API and hence holding the budget id. Running the code, the budget is deleted, but the budget name is not changed. What am I doing wrong? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Changing budget name on deletion
Sure, that works. It is a bit chatty though. I thought it possibly to change multiple parameters in one request to the server, and when I try to change both name and status (to deleted) I do not recieve any errors. It fails silently. On Wednesday, April 9, 2014 10:23:49 PM UTC+2, Ray Tsang (AdWords API Team) wrote: Ramsus, Could I trouble you to try this in 2 phases? 1. Change the budget name and save 2. Set the satus and save Let me know if that works for you. Thanks, Ray On Wednesday, April 9, 2014 12:57:36 PM UTC-4, Rasmus Ladekjær Pedersen wrote: Due to constraint that names of budgets must be uniq I am trying change the budget name as a budget is deleted. I C# using the client library I use the following code string now = DateTime.UtcNow.ToString(-MM-dd hh:mm:ss); budget.name = String.Format({0} (deleted {1}), budget.name, now); budget.status = BudgetBudgetStatus.DELETED; var operations = new ListBudgetOperation(); operations.Add(new BudgetOperation {operand = budget, @operator = Operator.REMOVE}); var service = (BudgetService) _user.GetService(AdWordsService.v201402.BudgetService); operations.ForEach(part = service.mutate(part)); In the above code, budget is earlier retrieved from the API and hence holding the budget id. Running the code, the budget is deleted, but the budget name is not changed. What am I doing wrong? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
How do I set individual campaign budget in v201402
How do I set individual campaign budget in v201402. We are update API in v201402. I was using BudgetService for post new campaign in v201309, it a campaign set Individual budget. But now update in v201402 campaign not set individual budget. * // Create the campaign budget.**var budget = new Budget { period = BudgetBudgetPeriod.DAILY,** deliveryMethod = BudgetBudgetDeliveryMethod.STANDARD, ** amount = new Money { microAmount = campaign.operand.budget.amount.microAmount },** name = string.Format(Budget of {0} - {1}, campaign.operand.name, DateTime.UtcNow.ToString(-M-d H-m-s.ff)),** isExplicitlyShared = false* Thank you for your reply, -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.