Re: AuthorizationError.USER_PERMISSION_DENIED While accessing campaigns
Dear Bikram and Takeshi, I'm new to Adwords API and I'm having the same problem. I have following accounts now. (all emails are dummy) · production...@gmail.com (production MCC account) and client...@gmail.com client account created under mentioned MCC account · test...@gmail.com (MCC Test account) and testclient@gmail.comclient account created under mentioned MCC Test account 1. Which account should I use to get OAuth2 details? 2. Which account should I use to get the developer token? 3. Which account should I used as client Customer to get clientCustomerId? Thanks, Kasun -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/groups/opt_out.
Re: AuthorizationError.USER_PERMISSION_DENIED While accessing campaigns
Hi Bikram, Thanks for the info. I tried as you sugested. Below are my steps 1. I logged in to my live adwords client account (not the mcc account). 2. I logged in to the API console at https://cloud.google.com/console/ using the same email 3. I created a OAuth client and got the client ID and Client secret 4. Then I used the https://accounts.google.com/o/oauth2/auth?client_id=CLIENT_IDresponse_type=codescope=https%3A%2F%2Fadwords.google.com%2Fapi%2Fadwords%2Fredirect_uri=urn:ietf:wg:oauth:2.0:oobaccess_type=offlineapproval_prompt=auto to generate the code. 5. Then I used that code in the GetRefreshToken.php file and ran it, and got the refresh token. 6. Then I pasted that in to the auth.ini file. 7. I got the developer token from the person who is handling the Adwords account and pasted it to *developerToken* 8. Then I added the email to the *userAgent in the same auth.ini* 9. I added the client id and client secret generated on the step 3 10. And I ran the file GetKeywordIdeas.php file. I got the following error. An error has occurred: [QuotaCheckError.INVALID_TOKEN_HEADER @ ; trigger:'MY_DEVELOPER_TOKEN] What is I'm doing wrong. Please help. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/groups/opt_out.
Access MCC account with ruby library
I am looking for generating authorization url for giving top level MCC account an access to the account which will be linked. How can I do this with ruby library. I have generated the client id and secret token but not able to access test account. it is giving me api_error_type: AuthorizationError reason: USER_PERMISSION_DENIED xsi_type: AuthorizationError -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/groups/opt_out.
Re: TargetingIdeaError
Hi Josh, Looks like the last message I sent was deleted. Is there any reason? Can you please clarify? The documentation we see still has 800: https://developers.google.com/adwords/api/docs/reference/v201309/TargetingIdeaService thanks Mani On Tuesday, February 11, 2014 12:08:41 PM UTC-8, Josh Radcliff (AdWords API Team) wrote: Hi, That request is failing because you have 201 queries elements in the request, and the maximum allowed is 200. If you remove one or more of those elements it should complete successfully. I'll follow up on why the error message wasn't more informative in this case. Thanks, Josh, AdWords API Team On Monday, February 10, 2014 5:32:16 PM UTC-5, Mani A wrote: Hi, Unclear why the following TargetingIdeaError is being thrown. Could you please check? Attaching the SOAP request/response below. = In message: ?xml version=1.0 encoding=UTF-8?soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd= http://www.w3.org/2001/XMLSchema; xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance;soapenv:Headerns1:RequestHeader soapenv:actor=http://schemas.xmlsoap.org/soap/actor/next; soapenv:mustUnderstand=0 xmlns:ns1= https://adwords.google.com/api/adwords/o/v201309;ns2:authToken xmlns:ns2=https://adwords.google.com/api/adwords/cm/v201309;XX/ns2:authTokenns3:clientCustomerId xmlns:ns3=https://adwords.google.com/api/adwords/cm/v201309;XX/ns3:clientCustomerIdns4:developerToken xmlns:ns4=https://adwords.google.com/api/adwords/cm/v201309;XXX/ns4:developerTokenns5:userAgent xmlns:ns5=https://adwords.google.com/api/adwords/cm/v201309;NexTag, Inc. Java Axis Client/ns5:userAgent/ns1:RequestHeader/soapenv:Headersoapenv:Bodyget xmlns=https://adwords.google.com/api/adwords/o/v201309;selectorsearchParameters xsi:type=ns6:LanguageSearchParameter xmlns:ns6= https://adwords.google.com/api/adwords/o/v201309;languagesns7:id xmlns:ns7=https://adwords.google.com/api/adwords/cm/v201309;1000/ns7:id/languages/searchParameterssearchParameters xsi:type=ns8:LocationSearchParameter xmlns:ns8= https://adwords.google.com/api/adwords/o/v201309;locationsns9:id xmlns:ns9=https://adwords.google.com/api/adwords/cm/v201309;2840/ns9:id/locations/searchParameterssearchParameters xsi:type=ns10:SearchVolumeSearchParameter xmlns:ns10= https://adwords.google.com/api/adwords/o/v201309;operationminimum0/minimummaximum2147483647/maximum/operation/searchParameterssearchParameters xsi:type=ns11:RelatedToQuerySearchParameter xmlns:ns11= https://adwords.google.com/api/adwords/o/v201309;queriesfurniture can-wblt-732/queriesqueriesfurniture farm bar/queriesqueriesfurnishings logs self/queriesqueriesfurry critter trapper/queriesqueriesfurnas 75ca14 size/queriesqueriesfurbaby pink ribbon/queriesqueriesfur leg ladies/queriesqueriesfurniture bombay metal/queriesqueriesfurby blue size/queriesqueriesfurniture 4783dtbcrnd piece/queriesqueriesfur 12x18/queriesqueriesfurniture gold leather/queriesqueriesfur stripe flower/queriesqueriesfurstenberg gilmore print/queriesqueriesfurniture ca7906m/queriesqueriesfurniture nw2rwlm/queriesqueriesfurious memory hoody/queriesqueriesfur light baseball/queriesqueriesfurinno 99736 basic/queriesqueriesfurniture makeup case/queriesqueriesfur color hat/queriesqueriesfurrower-10 opener/queriesqueriesfupa sleeve-navy blue-small/queriesqueriesfurnas 31/queriesqueriesfurniture vghtdh62 h62/queriesqueriesfurniture stacking desk/queriesqueriesfurniture r-189844/queriesqueriesfurniture grade seville/queriesqueriesfurniture hand-painted credenza/queriesqueriesfurminator brush grooming/queriesqueriesfurniture headrests/queriesqueriesfur bags message/queriesqueriesfurinno bamboo lapdesk/queriesqueriesfurniture fever bistro/queriesqueriesfurnishings pin/queriesqueriesfurnace flame b1172601/queriesqueriesfurry friends 2x/queriesqueriesfurniture t-0809c2/queriesqueriesfur accent sheepskin/queriesqueriesfurniture voale bonded/queriesqueriesfurniture t-0612a2/queriesqueriesfurniture provenance english/queriesqueriesfurstenberg parakeet green/queriesqueriesfurnas siemens 120a/queriesqueriesfurby furblings creature/queriesqueriesfurniture ldp6030/queriesqueriesfur mane black/queriesqueriesfurniture rosa pedestal/queriesqueriesfurniture melange affinity/queriesqueriesfurinno 3-tier any/queriesqueriesfurniture america hopkin/queriesqueriesfunzone brew/queriesqueriesfurniture oregon-1 full/queriesqueriesfurnace 5kcp39lgv569bs/queriesqueriesfurnishings toboggan wall/queriesqueriesfurry look transparent/queriesqueriesfurniture legs 1-11/queriesqueriesfurniture 6123sec bay/queriesqueriesfuntosee town/queriesqueriesfurstenberg benten knit/queriesqueriesfurniture end right/queriesqueriesfurniture can-rm-spxm/queriesqueriesfurnace gauge/queriesqueriesfurnas starter 16de35af/queriesqueriesfur shearling
PLAs through search query report
Hi, I would like to use the Search Query Report for PLAs, analysing searches that triggered a particular product. Is it possible to use the AdWords Reporting API to create a Search Query report on PLAs or would I have to pull the report manually? Thanks, Chris -- - essencedigital.com http://www.essencedigital.com/ Google+ https://plus.google.com/102138558390623994587/about • Facebookhttp://www.facebook.com/essencedigital • Twitter https://twitter.com/essencedigital • YouTubehttp://www.youtube.com/essencedigitalvideos - No. 1 Independent Media Agency, NMA Top 100, 2012 Winner, UK National Champion, European Business Awards, 2012 Winner, Fastest Growing Larger Media Agency in Europe, Media Momentum Awards, 2012 - Essence Digital Ltd Registered in England No. 5467689 Registered Office as above - This email may be confidential or privileged. If you received this communication by mistake, please don't forward it to anyone else, please erase all copies and attachments and please let me know that it went to the wrong person. Thank you. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/groups/opt_out.
Re: TargetingIdeaError
Hi Josh, Where does it say maximum allowed is 200? This link https://developers.google.com/adwords/api/docs/reference/v201309/TargetingIdeaService says there is a limit of 800. thanks Mani On Tuesday, February 11, 2014 12:08:41 PM UTC-8, Josh Radcliff (AdWords API Team) wrote: Hi, That request is failing because you have 201 queries elements in the request, and the maximum allowed is 200. If you remove one or more of those elements it should complete successfully. I'll follow up on why the error message wasn't more informative in this case. Thanks, Josh, AdWords API Team On Monday, February 10, 2014 5:32:16 PM UTC-5, Mani A wrote: Hi, Unclear why the following TargetingIdeaError is being thrown. Could you please check? Attaching the SOAP request/response below. = In message: ?xml version=1.0 encoding=UTF-8?soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd= http://www.w3.org/2001/XMLSchema; xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance;soapenv:Headerns1:RequestHeader soapenv:actor=http://schemas.xmlsoap.org/soap/actor/next; soapenv:mustUnderstand=0 xmlns:ns1= https://adwords.google.com/api/adwords/o/v201309;ns2:authToken xmlns:ns2=https://adwords.google.com/api/adwords/cm/v201309;XX/ns2:authTokenns3:clientCustomerId xmlns:ns3=https://adwords.google.com/api/adwords/cm/v201309;XX/ns3:clientCustomerIdns4:developerToken xmlns:ns4=https://adwords.google.com/api/adwords/cm/v201309;XXX/ns4:developerTokenns5:userAgent xmlns:ns5=https://adwords.google.com/api/adwords/cm/v201309;NexTag, Inc. Java Axis Client/ns5:userAgent/ns1:RequestHeader/soapenv:Headersoapenv:Bodyget xmlns=https://adwords.google.com/api/adwords/o/v201309;selectorsearchParameters xsi:type=ns6:LanguageSearchParameter xmlns:ns6= https://adwords.google.com/api/adwords/o/v201309;languagesns7:id xmlns:ns7=https://adwords.google.com/api/adwords/cm/v201309;1000/ns7:id/languages/searchParameterssearchParameters xsi:type=ns8:LocationSearchParameter xmlns:ns8= https://adwords.google.com/api/adwords/o/v201309;locationsns9:id xmlns:ns9=https://adwords.google.com/api/adwords/cm/v201309;2840/ns9:id/locations/searchParameterssearchParameters xsi:type=ns10:SearchVolumeSearchParameter xmlns:ns10= https://adwords.google.com/api/adwords/o/v201309;operationminimum0/minimummaximum2147483647/maximum/operation/searchParameterssearchParameters xsi:type=ns11:RelatedToQuerySearchParameter xmlns:ns11= https://adwords.google.com/api/adwords/o/v201309;queriesfurniture can-wblt-732/queriesqueriesfurniture farm bar/queriesqueriesfurnishings logs self/queriesqueriesfurry critter trapper/queriesqueriesfurnas 75ca14 size/queriesqueriesfurbaby pink ribbon/queriesqueriesfur leg ladies/queriesqueriesfurniture bombay metal/queriesqueriesfurby blue size/queriesqueriesfurniture 4783dtbcrnd piece/queriesqueriesfur 12x18/queriesqueriesfurniture gold leather/queriesqueriesfur stripe flower/queriesqueriesfurstenberg gilmore print/queriesqueriesfurniture ca7906m/queriesqueriesfurniture nw2rwlm/queriesqueriesfurious memory hoody/queriesqueriesfur light baseball/queriesqueriesfurinno 99736 basic/queriesqueriesfurniture makeup case/queriesqueriesfur color hat/queriesqueriesfurrower-10 opener/queriesqueriesfupa sleeve-navy blue-small/queriesqueriesfurnas 31/queriesqueriesfurniture vghtdh62 h62/queriesqueriesfurniture stacking desk/queriesqueriesfurniture r-189844/queriesqueriesfurniture grade seville/queriesqueriesfurniture hand-painted credenza/queriesqueriesfurminator brush grooming/queriesqueriesfurniture headrests/queriesqueriesfur bags message/queriesqueriesfurinno bamboo lapdesk/queriesqueriesfurniture fever bistro/queriesqueriesfurnishings pin/queriesqueriesfurnace flame b1172601/queriesqueriesfurry friends 2x/queriesqueriesfurniture t-0809c2/queriesqueriesfur accent sheepskin/queriesqueriesfurniture voale bonded/queriesqueriesfurniture t-0612a2/queriesqueriesfurniture provenance english/queriesqueriesfurstenberg parakeet green/queriesqueriesfurnas siemens 120a/queriesqueriesfurby furblings creature/queriesqueriesfurniture ldp6030/queriesqueriesfur mane black/queriesqueriesfurniture rosa pedestal/queriesqueriesfurniture melange affinity/queriesqueriesfurinno 3-tier any/queriesqueriesfurniture america hopkin/queriesqueriesfunzone brew/queriesqueriesfurniture oregon-1 full/queriesqueriesfurnace 5kcp39lgv569bs/queriesqueriesfurnishings toboggan wall/queriesqueriesfurry look transparent/queriesqueriesfurniture legs 1-11/queriesqueriesfurniture 6123sec bay/queriesqueriesfuntosee town/queriesqueriesfurstenberg benten knit/queriesqueriesfurniture end right/queriesqueriesfurniture can-rm-spxm/queriesqueriesfurnace gauge/queriesqueriesfurnas starter 16de35af/queriesqueriesfur shearling girls/queriesqueriesfurnishings lbsmanhattan/queriesqueriesfurniture
Re: AdGroupCreativeId in Click Performance Report doesn't match Id in Ad Performance Report
Hello Max, I am sorry for the delay on this issue. We are looking for the best approach here as it appears to be tricky issue internally. -Danial, AdWords API Team. On Monday, January 20, 2014 9:30:40 PM UTC+4, Max Amillion wrote: A timeline for resolution of this issue would be great. This is a huge problem and I have no idea how long it will remain this way - it would be great to at least inform clients of an ETA. Thanks! On Monday, October 21, 2013 9:26:34 AM UTC-4, Ittai Chorev wrote: Hi, I pulled a Click Performance Report with the AdGroupCreativeId attribute on an adgroup with only one click that date. Then I pulled an Ad Performance Report on the same adgroup/date and the ID field in the Ad report (which should match the Ad ID) doesn't match the AdGroupCreativeId from the Click Performance Report. When I added the other attributes they all matched - Slot, Device and KeywordID (called CriterionID in the Click Performance Report). Thanks, Ittai -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/groups/opt_out.
Re: structure report for CriterionUserList
Hello Greg, Sorry for the delay, this thread was re-assigned while I was on holidays. 1. You are correct, there is no dedicated field in the report for it. Parsing the string is the only way available now. 2. See the TargetingSetting field of display reports. -Danial, AdWords API Team. On Wednesday, January 15, 2014 3:12:50 AM UTC+4, GregT wrote: Any word on the follow up questions? :) Thanks, Greg On Tuesday, December 31, 2013 6:27:18 PM UTC-6, GregT wrote: Hi, Danial. I double-checked, and I was wrong -- sorry, my bad! It appears that the id field of both the audience performance report and criteria performance report are actually returning the CriterionUserList id. I mistakenly thought it was the UserList id because for the clients I checked, the id returned is the same for a given audience/UserList in almost every (but, it turns out, not quite every) ad group that targets the audience (I was looking at campaigns with many thousands of ad groups targeting the same audiences). A couple follow up questions: 1 - Given this, it now appears there is no field in either report that will actually return the UserList id, at least not as a numeric value. The Criteria field of the audience performance report, and both the Criteria and DisplayName fields of the criteria performance report all return something like boomuserlist::12345, which appear to match up with the ids of audiences as retrieved by the AdwordsUserListService if you strip off the boomuserlist:: part (so in this example, 12345 matches up with the id of an audience/UserList in the account). Should I be able to rely upon those fields of these reports containing boomuserlist::userListId and parse that string to match it up with the actual audience id? If not (or even if so), is there a more reliable way of getting the audience/UserList id in these reports that doesn't require relying on this apparent convention and stripping out part of the field? 2 - The other field we need and would love to be able to get from a structure report for audiences that I don't see is the targeting setting (i.e. does the ad group target the audience for bid only or target and bid). Is this available in any report? The only place I see to get it is from the AdGroup.settings field in the SOAP AdGroupService call, which is obviously much slower to use. Thanks, Greg On Monday, December 23, 2013 3:45:35 AM UTC-6, Danial Klimkin wrote: Hello Greg, The CriteriaPerformance report should be the one you are looking for. Can you please confirm you indeed receive UserList ID as Id in this report? -Danial, AdWords API Team. On Saturday, December 21, 2013 1:24:44 AM UTC+4, GregT wrote: Hi, For remarketing lists for search (RLSA), we can use the audience performance report to get statistical information for the performance of the remarketing lists on an ad group basis. However, this report surprisingly does not appear to be able to be used as a structure report, because it's missing one of the most important fields -- the id of the criterion. There is an Id field in this report, but it returns the id of the UserList, not the CriterionUserList, i.e. the id of the audience and not the id of the criterion (that UserList attached to a particular ad group). The id of the criterion (not just the UserList/Audience id) is what is needed to be able to actually change (or remove) the bid modifier for that audience for an ad group, because it's a required field on CriterionUserList during SET and REMOVE operations on BiddableAdGroupCriterion in the AdGroupCriterionService. I hope I've made that id distinction clear. Unfortunately, the only other report that seemed promising to pull this structure data, the criteria performance report, also appears to be unworkable. It also has an Id field, which given the name of the report, would presumably be the id of the criterion -- but from running it on some accounts, it also appears to be the UserList (audience) id, not the CriterionUserList id. As it stands now, I don't see a way to get the id of these criterion so that they can be updated or removed other than by querying the AdGroupCriterionService. Could someone please let me know if I'm missing something (some report, some field on one of these two reports that I've overlooked, etc.), and whether it's possible to get the criterion id for these remarketing lists that have been added to ad groups using some report rather than the (relatively slow) SOAP service? Thanks in advance, Greg -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
Re: QuotaCheckError.INCOMPLETE_SIGNUP on report download
Hello Ben, This ID is for non-MCC account. What is the CID of the account your developer token associated with? -Danial, AdWords API Team. On Tuesday, February 11, 2014 6:56:56 PM UTC+4, Ben Ferguson wrote: Here's the CID we're currently using: 678-948-2772 -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/groups/opt_out.
Re: Access MCC account with ruby library
Hello, What was the account you were logged in when doing the OAuth flow? Please make sure to use the credentials that can access the target AdWords account. (Client ID and secret can be registered for any account). -Danial, AdWords API Team. On Wednesday, February 12, 2014 10:14:52 AM UTC+4, jalendra@bizcatalyst.co.in wrote: I am looking for generating authorization url for giving top level MCC account an access to the account which will be linked. How can I do this with ruby library. I have generated the client id and secret token but not able to access test account. it is giving me api_error_type: AuthorizationError reason: USER_PERMISSION_DENIED xsi_type: AuthorizationError -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/groups/opt_out.
Re: PLAs through search query report
Hello Chris, Please see the Search Query report available: https://developers.google.com/adwords/api/docs/appendix/reports#search-query You may need to combine it with other reports to limit data to PLAs / pull extra fields. -Danial, AdWords API Team. On Tuesday, February 11, 2014 10:45:36 PM UTC+4, Chris Matenaers wrote: Hi, I would like to use the Search Query Report for PLAs, analysing searches that triggered a particular product. Is it possible to use the AdWords Reporting API to create a Search Query report on PLAs or would I have to pull the report manually? Thanks, Chris - essencedigital.com http://www.essencedigital.com/ Google+ https://plus.google.com/102138558390623994587/about • Facebookhttp://www.facebook.com/essencedigital • Twitter https://twitter.com/essencedigital • YouTubehttp://www.youtube.com/essencedigitalvideos - No. 1 Independent Media Agency, NMA Top 100, 2012 Winner, UK National Champion, European Business Awards, 2012 Winner, Fastest Growing Larger Media Agency in Europe, Media Momentum Awards, 2012 - Essence Digital Ltd Registered in England No. 5467689 Registered Office as above - This email may be confidential or privileged. If you received this communication by mistake, please don't forward it to anyone else, please erase all copies and attachments and please let me know that it went to the wrong person. Thank you. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/groups/opt_out.
Re: How to create upgraded mobile extensions
Hello Mark, Please see this guide: https://developers.google.com/adwords/api/docs/guides/feed-services I am locking this thread as it is more than a year old. Please feel free to open a new one should you have any questions. -Danial, AdWords API Team. On Tuesday, February 11, 2014 7:52:51 AM UTC+4, mry wrote: Hi Kevin, I can't find any examples or documentation related specifically to adding call extensions using Feed Services. Any help? Best Mark On Thursday, May 2, 2013 2:17:49 PM UTC-5, Chris Lande wrote: Here's the response I got after mailing support directly: Hi Chris, Yes, the API does. We've documented Feed Services (which are used for upgraded extensions) in this guide: https://developers.google.com/adwords/api/docs/guides/feed-services We've also published a guide discussing how to migrate from legacy extensions to upgraded ones: https://developers.google.com/adwords/api/docs/guides/upgrading-ad-extensions - Kevin Winter AdWords API Team On Tuesday, April 30, 2013 11:22:58 AM UTC-7, Chris Lande wrote: Hi, I've upgraded to the 201302 api and am able to create enhanced campaigns without any problem but the call extensions appear to still be legacy call extensions. Is there a code sample somewhere that demonstrates what you need to do to create the upgraded call extensions via the API? Thanks, Chris -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/groups/opt_out.
getRefreshToken url is not working (produces fault)
Hi, I use the getRefreshToken (php lib) to get the refresh token but when I follow the provided url I get the following error. I have double checked I am logged in with the user that created the client-id (native app). How can I get past this? Thanks [page reports the following] *Σφάλμα:invalid_client* no application name Λεπτομέρειες αιτήματος - cookie_policy_enforce=false - scope=https://adwords.google.com/api/adwords/ - response_type=code - redirect_uri=urn:ietf:wg:oauth:2.0:oob - access_type=offline - display=page - client_id=137357682452-2suq5ill0shjda8gpkkcuad7qaqpntue.apps.googleusercontent.com -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/groups/opt_out.
AdWords Account Link Format
We have an intranet website showing a list of AdWords accounts we hold under our MCC, with our own business information shown next to each account. I am thinking to construct a direct link to the AdWords account web interface, so that our account managers can easily go and edit the corresponding AdWords campaigns and ad groups. The URL structure I see in the browser is something like: https://adwords.google.com/cm/CampaignMgmt?__u=*digits*__c=*digits* syncServiceIdentity=true#r.ONLINEapp=cm But I have no clues what values I should put for params __u and __c I believe someone else must have asked similar question, sorry that I failed to find related posts. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/groups/opt_out.
Re: Is it possible to change the bids for auto targets under Dynamic Search Ads - Campaigns using v201309?
Hi Shobha, You can't get stats through the AdWords API services anymore. If you want information on Clicks, Cost, Conversions, etc., you need to use reportshttps://developers.google.com/adwords/api/docs/guides/reporting. If you want this data on an AdGroup level, you should use the AdGroup Performance Reporthttps://developers.google.com/adwords/api/docs/appendix/reports#ad-group, and fetch whatever relevant stats you would like. Thanks, Mike, AdWords API Advisor On Friday, December 13, 2013 8:34:40 AM UTC-5, Shobha Procentris wrote: Paul, Can you please let me know how to fetch the Auto targets related data including clicks, Cost, Conversions, Bids etc using the AdgroupCriterionService. I am trying to use the following code snippet but it doesn't seem to work: $adGroupCriterionService = $user-GetService('AdGroupCriterionService', 'v201309'); $adGroupId = (float) $adGroupId; $selector = new Selector(); $selector-fields = array('Id','parameter','criteriaCoverage','criteriaSamples'); $selector-predicates[] = new Predicate('AdGroupId', 'IN', array($adGroupId)); $page = $adGroupCriterionService-get($selector); print_r($page-entries); // Display results. if (isset($page-entries)) { foreach ($page-entries as $adGroupCriterion) { var_dump($adGroupCriterion-criterion); var_dump($adGroupCriterion-criterion-id); } } else { print No data found.\n; } Thanks, Shobha On Fri, Nov 8, 2013 at 4:44 PM, Shobha Procentris shobha.p...@gmail.comjavascript: wrote: Hi Paul, I tried this using the following code snippet in PHP $adGroupCriterionService = $user-GetService('AdGroupCriterionService', 'v201309'); $selector = new Selector(); $selector-fields = array('Id','parameter','criteriaCoverage','criteriaSamples'); $selector-predicates[] = new Predicate('AdGroupId', 'IN', array($adGroupId)); $page = $adGroupCriterionService-get($selector); if (isset($page-entries)) { foreach ($page-entries as $adGroupCriterion) { echo $adGroupCriterion-criterion-parameter; var_dump($adGroupCriterion-criterion-userListId); var_dump($adGroupCriterion-criterion-id); } } And checked the output which was of the type [0] = BiddableAdGroupCriterion Object ( [userStatus] = [systemServingStatus] = [approvalStatus] = [disapprovalReasons] = [destinationUrl] = [experimentData] = [firstPageCpc] = [topOfPageCpc] = [qualityInfo] = [biddingStrategyConfiguration] = [bidModifier] = [adGroupId] = x [criterionUse] = BIDDABLE [criterion] = CriterionUserList Object ( [userListId] = [userListName] = [userListMembershipStatus] = [id] = [type] = USER_LIST [CriterionType] = CriterionUserList [_parameterMap:Criterion:private] = Array ( [Criterion.Type] = CriterionType ) ) [forwardCompatibilityMap] = [AdGroupCriterionType] = BiddableAdGroupCriterion [_parameterMap:AdGroupCriterion:private] = Array ( [AdGroupCriterion.Type] = AdGroupCriterionType ) ) No where, it showed me the auto targets whereas there are Auto targets in the Adgroup Id which I called this code for. Can you please let me know if I am doing something wrong? Thanks, Shobha On Thu, Nov 7, 2013 at 11:20 PM, Paul Matthews (AdWords API Team) adwordsapia...@google.com javascript: wrote: Hi Shobha, To create / retrieve targets for dynamic search adshttps://support.google.com/adwords/answer/2497706?hl=en, you should use the Webpage Criterionhttps://developers.google.com/adwords/api/docs/reference/latest/SharedCriterionService.Webpagefrom the SharedCriterionServicehttps://developers.google.com/adwords/api/docs/reference/latest/SharedCriterionService or the AdGroupCriterionSerivcehttps://developers.google.com/adwords/api/docs/reference/latest/AdGroupCriterionService. You'd use the same service to retrieve them. If you use the BiddableAdGroupCriterionhttps://developers.google.com/adwords/api/docs/reference/latest/AdGroupCriterionService.BiddableAdGroupCriterion, then you can place Bidding amounts, including the biddingStrategyConfigurationhttps://developers.google.com/adwords/api/docs/reference/latest/AdGroupCriterionService.BiddableAdGroupCriterion#biddingStrategyConfiguration . Regards, - Paul, AdWords API Team. On Thursday, 24 October 2013
How to export AdWords account for upload to Bing Ads
Hi, I'm currently working on a way to export my AdWords account to Bing Ads via making API calls. I don't want to have to export my entire account every time I want to upload a few changes. Is there anyway to get from AdWords the recent changes to my account? I have tried using the GetAccountChanges.php example script but I get the error: CustomerSyncError.TOO_MANY_CHANGES The documentation suggests making calls to specific services such as the campaign service, but how do I only get recent changes from the campaign service, ad group service etc. Any related advice is also appreciated. Thank you, Visar -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/groups/opt_out.
Re: TargetingIdeaError
Hi Mani, The maximum of 800https://developers.google.com/adwords/api/docs/reference/v201309/TargetingIdeaService#getrefers to the maximum number of *results* per page, not the maximum number of queries elements allowed. This does point out a gap in our documentation, however. I'll look to add the limits for the various SearchParameterhttps://developers.google.com/adwords/api/docs/reference/v201309/TargetingIdeaService.SearchParametertypes to our docs. Thanks, Josh, AdWords API Team On Tuesday, February 11, 2014 5:14:43 PM UTC-5, Mani A wrote: Hi Josh, Looks like the last message I sent was deleted. Is there any reason? Can you please clarify? The documentation we see still has 800: https://developers.google.com/adwords/api/docs/reference/v201309/TargetingIdeaService thanks Mani On Tuesday, February 11, 2014 12:08:41 PM UTC-8, Josh Radcliff (AdWords API Team) wrote: Hi, That request is failing because you have 201 queries elements in the request, and the maximum allowed is 200. If you remove one or more of those elements it should complete successfully. I'll follow up on why the error message wasn't more informative in this case. Thanks, Josh, AdWords API Team On Monday, February 10, 2014 5:32:16 PM UTC-5, Mani A wrote: Hi, Unclear why the following TargetingIdeaError is being thrown. Could you please check? Attaching the SOAP request/response below. = In message: ?xml version=1.0 encoding=UTF-8?soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd= http://www.w3.org/2001/XMLSchema; xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance;soapenv:Headerns1:RequestHeader soapenv:actor=http://schemas.xmlsoap.org/soap/actor/next; soapenv:mustUnderstand=0 xmlns:ns1= https://adwords.google.com/api/adwords/o/v201309;ns2:authToken xmlns:ns2=https://adwords.google.com/api/adwords/cm/v201309;XX/ns2:authTokenns3:clientCustomerId xmlns:ns3=https://adwords.google.com/api/adwords/cm/v201309;XX/ns3:clientCustomerIdns4:developerToken xmlns:ns4=https://adwords.google.com/api/adwords/cm/v201309;XXX/ns4:developerTokenns5:userAgent xmlns:ns5=https://adwords.google.com/api/adwords/cm/v201309;NexTag, Inc. Java Axis Client/ns5:userAgent/ns1:RequestHeader/soapenv:Headersoapenv:Bodyget xmlns=https://adwords.google.com/api/adwords/o/v201309;selectorsearchParameters xsi:type=ns6:LanguageSearchParameter xmlns:ns6= https://adwords.google.com/api/adwords/o/v201309;languagesns7:id xmlns:ns7=https://adwords.google.com/api/adwords/cm/v201309;1000/ns7:id/languages/searchParameterssearchParameters xsi:type=ns8:LocationSearchParameter xmlns:ns8= https://adwords.google.com/api/adwords/o/v201309;locationsns9:id xmlns:ns9=https://adwords.google.com/api/adwords/cm/v201309;2840/ns9:id/locations/searchParameterssearchParameters xsi:type=ns10:SearchVolumeSearchParameter xmlns:ns10= https://adwords.google.com/api/adwords/o/v201309;operationminimum0/minimummaximum2147483647/maximum/operation/searchParameterssearchParameters xsi:type=ns11:RelatedToQuerySearchParameter xmlns:ns11= https://adwords.google.com/api/adwords/o/v201309;queriesfurniture can-wblt-732/queriesqueriesfurniture farm bar/queriesqueriesfurnishings logs self/queriesqueriesfurry critter trapper/queriesqueriesfurnas 75ca14 size/queriesqueriesfurbaby pink ribbon/queriesqueriesfur leg ladies/queriesqueriesfurniture bombay metal/queriesqueriesfurby blue size/queriesqueriesfurniture 4783dtbcrnd piece/queriesqueriesfur 12x18/queriesqueriesfurniture gold leather/queriesqueriesfur stripe flower/queriesqueriesfurstenberg gilmore print/queriesqueriesfurniture ca7906m/queriesqueriesfurniture nw2rwlm/queriesqueriesfurious memory hoody/queriesqueriesfur light baseball/queriesqueriesfurinno 99736 basic/queriesqueriesfurniture makeup case/queriesqueriesfur color hat/queriesqueriesfurrower-10 opener/queriesqueriesfupa sleeve-navy blue-small/queriesqueriesfurnas 31/queriesqueriesfurniture vghtdh62 h62/queriesqueriesfurniture stacking desk/queriesqueriesfurniture r-189844/queriesqueriesfurniture grade seville/queriesqueriesfurniture hand-painted credenza/queriesqueriesfurminator brush grooming/queriesqueriesfurniture headrests/queriesqueriesfur bags message/queriesqueriesfurinno bamboo lapdesk/queriesqueriesfurniture fever bistro/queriesqueriesfurnishings pin/queriesqueriesfurnace flame b1172601/queriesqueriesfurry friends 2x/queriesqueriesfurniture t-0809c2/queriesqueriesfur accent sheepskin/queriesqueriesfurniture voale bonded/queriesqueriesfurniture t-0612a2/queriesqueriesfurniture provenance english/queriesqueriesfurstenberg parakeet green/queriesqueriesfurnas siemens 120a/queriesqueriesfurby furblings creature/queriesqueriesfurniture ldp6030/queriesqueriesfur mane black/queriesqueriesfurniture rosa pedestal/queriesqueriesfurniture melange affinity/queriesqueriesfurinno
ContentBid After February 18th
Hi, What happens to contentBid (on Adgroup) after February 18th (reference: http://googleadsdeveloper.blogspot.com/2014/01/reminder-change-to-contentbid-setting.html). I know that we will no longer be able to set content bids anymore, but what happens to calls to read the content bid. What value will be returned after February 18th, the bid or the last content bid that was set? Thanks. Evan -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/groups/opt_out.
Re: getRefreshToken url is not working (produces fault)
For reference to other people trying to figure this out, here is the solution go to the google api console = APIs Auth = Push = Fill in the required (1st two) inputs. After this the refresh token page will be able to ask for permissions to access your account and provide you with the tokens. Seriously, this sucks! We should get some error message at some point that those two fields must have valid values before we are allowed to proceed. Thank you for wasting half of my morning. Best, Paris On Wednesday, February 12, 2014 11:59:14 AM UTC+1, Paris Theofanidis wrote: Hi, I use the getRefreshToken (php lib) to get the refresh token but when I follow the provided url I get the following error. I have double checked I am logged in with the user that created the client-id (native app). How can I get past this? Thanks [page reports the following] *Σφάλμα:invalid_client* no application name Λεπτομέρειες αιτήματος - cookie_policy_enforce=false - scope=https://adwords.google.com/api/adwords/ - response_type=code - redirect_uri=urn:ietf:wg:oauth:2.0:oob - access_type=offline - display=page - client_id= 137357682452-2suq5ill0shjda8gpkkcuad7qaqpntue.apps.googleusercontent.com -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/groups/opt_out.
OAuth 2.0 Redirect URI issue
We have registered our site as a web application and in which there is a redirect url which redirects to the status of the application ex: https://app_name.organization_name.com/status . when I run the getRefreshToken() method, I have to get a code on which typing it on the input console while running the method should give me refresh token. The problem is the redirect URI is just a page which does not contain any code which can be pasted on the console while running getRefreshToken() method. The details of the request are below: - from_login=1 - cookie_policy_enforce=false - scope=https://adwords.google.com/api/adwords - response_type=code - redirect_uri= https://app_name.organization_name.com/status(which is just a page which does not give any code to be copied) - access_type=offline - as=33ee5a9ea*** - display=page - pli=1 - client_id=20*.apps.googleusercontent.com - authuser=1 - hl=en How can I get the code to be pasted to get refresh token? Can I just edit the redirect URI to urn:ietf:wg:oauth:2.0:oob in the google cloud console and use it to get refresh token? We have three of such sites which are registered as web applications and redirect URIs will redirect to their respective statuses.Do I have to register all the 3 applications as web applications -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/groups/opt_out.
Re: AuthorizationError.USER_PERMISSION_DENIED While accessing campaigns
Dear Bikram, Really sorry for bugging. What has happen was, person who handles the MCC account has given me wrong developer token. He had typed B instead for 6. I can't understand why he haven't copy and pasted it. Thank you very much for help. Thanks Kasun On Wed, Feb 12, 2014 at 3:17 PM, Mcc Test adwmcct...@gmail.com wrote: I found a article on google and it had this Test MCC account procedure. https://developers.google.com/adwords/api/docs/test-accounts?hl=fr The Client account I use to test is visible under the MCC account. I used the email of the Client Account and created the OAuth details and added them to the auth.ini And then I used that OAuth Client Id in the https://accounts.google.com/o/oauth2/auth?client_id=CLIENT_IDresponse_type=codescope=https%3A%2F%2Fadwords.google.com%2Fapi%2Fadwords%2Fredirect_uri=urn:ietf:wg:oauth:2.0:oobaccess_type=offlineapproval_prompt=autothis url and got the pass code. Then I pasted it to the getRefreshToken.php and got the refresh token. And I ran the file GetKeywordIdeas.php file. I got the following error. An error has occurred: [QuotaCheckError.INVALID_TOKEN_HEADER @ ; trigger:'MY_DEVELOPER_TOKEN] On Wed, Feb 12, 2014 at 12:43 PM, Bikram Bhuyan bikrambhu...@gmail.comwrote: Hi Kasun, I believe there is no concept of Test MCC account. Always we have the production MCC account where the developer token is pending if it is not approved till now. Could you please confirm this scenario. Also please confirm if you see the TEST Client account under the MCC account. If you see the TEST Client account under MCC then you can use either of the email to generate the token and then specify the customer account of the test client to access the data. If you dont see the test client account under MCC then you have to use the test client account to generate the oauth. And always remember, the developer token belongs to the MCC account (not to any client account). Hope this information helps. If you need more details, then please let us know more description about the linking of MCC and Client account. Thanks, Bikram. On Tue, Feb 11, 2014 at 11:08 PM, adwmcct...@gmail.com wrote: Dear Bikram and Takeshi, I'm new to Adwords API and I'm having the same problem. I have following accounts now. (all emails are dummy) · production...@gmail.com (production MCC account) and client...@gmail.com client account created under mentioned MCC account · test...@gmail.com (MCC Test account) and testclient@gmail.comclient account created under mentioned MCC Test account 1. Which account should I use to get OAuth2 details? 2. Which account should I use to get the developer token? 3. Which account should I used as client Customer to get clientCustomerId? Thanks, Kasun -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/groups/opt_out.
Re: error when calling v201306.AddCampaigns
Hello, I try to use .NET library with a test account and got the same error. Can someone help me? Thanks Am Donnerstag, 2. Januar 2014 21:28:35 UTC+1 schrieb Josh Radcliff (AdWords API Team): Hi, Could you provide some more details, such as the customer ID of the account you are using for this request? You can send this information *only to me* by clicking *Reply to author*. Thanks, Josh, AdWords API Team On Monday, December 30, 2013 1:43:22 AM UTC-5, kano patel wrote: This code example adds campaigns. To get campaigns, run GetCampaigns.cs. An exception occurred while running this code example. System.Reflection.TargetI nvocationException (Exception has been thrown by the target of an invocation.) at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] argum ents, SignatureStruct sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] argume nts, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwn er) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invoke Attr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisib ilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invoke Attr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) at Google.Api.Ads.AdWords.Examples.CSharp.Program.InvokeRun(Object codeExampl e, AdWordsUser user) in c:\Users\admin\Downloads\awapi_dotnet_lib_v16.4.0\exampl es\CSharp\Program.cs:line 140 at Google.Api.Ads.AdWords.Examples.CSharp.Program.RunACodeExample(AdWordsUser user, Object codeExample) in c:\Users\admin\Downloads\awapi_dotnet_lib_v16.4.0\ examples\CSharp\Program.cs:line 99 Caused by System.ApplicationException (Failed to add shared budget.) at Google.Api.Ads.AdWords.Examples.CSharp.v201306.AddCampaigns.Run(AdWordsUse r user) in c:\Users\admin\Downloads\awapi_dotnet_lib_v16.4.0\examples\CSharp\v20 1306\BasicOperations\AddCampaigns.cs:line 89 Caused by Google.Api.Ads.AdWords.Lib.AdWordsApiException (An API exception has occurred. S ee ApiException and InnerException fields for more details.) at Google.Api.Ads.Common.Lib.AdsSoapClient.MakeApiCall(String methodName, Obj ect[] parameters) in c:\src\MyProjects\now\Common library base\adwords\compile\L ib\AdsSoapClient.cs:line 218 at Google.Api.Ads.Common.Lib.AdsSoapClient.Invoke(String methodName, Object[] parameters) in c:\src\MyProjects\now\Common library base\adwords\compile\Lib\Ad sSoapClient.cs:line 127 at Google.Api.Ads.AdWords.v201306.BudgetService.mutate(BudgetOperation[] oper ations) in c:\src\MyProjects\now\Common library base\adwords\compile\v201306\AdW ordsApi.cs:line 2133 at Google.Api.Ads.AdWords.Examples.CSharp.v201306.AddCampaigns.Run(AdWordsUse r user) in c:\Users\admin\Downloads\awapi_dotnet_lib_v16.4.0\examples\CSharp\v20 1306\BasicOperations\AddCampaigns.cs:line 86 Caused by System.Web.Services.Protocols.SoapException ([QuotaCheckError.ACCOUNT_INACTIVE @ ; trigger:'null']) at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClie ntMessage message, WebResponse response, Stream responseStream, Boolean asyncCal l) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodN ame, Object[] parameters) at Google.Api.Ads.Common.Lib.AdsSoapClient.MakeApiCall(String methodName, Obj ect[] parameters) in c:\src\MyProjects\now\Common library base\adwords\compile\L ib\AdsSoapClient.cs:line 212 -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/groups/opt_out.
Campaign report for all clients using Python API and OAuth
I'm trying to download campaign report for all clients in one MCC account. I can do it easily using AdWordsClient(headers=headers) with appropriate credentials and clientCustomerId - I would get all accounts via GetManagedCustomerService and then loop through them and use AdWordsClient again with different clientCustomerId. How can I do this with OAuth? Do I have to generate OAuth pkl file for each client? Or is there an easier 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/groups/opt_out.
Re: Unable to connect to the remote server
Hi Danial, Thanks for your reply. I've been told that yes we do use a transparent proxy. I'm not sure what implication that has. Is there a way around it? I should add that the guy who got your ruby sample working had no problem. And I've checked that his config settings (e.g. Developer Token/Customer Id) are identical to mine. I just find is strange that it works fine in ruby but not .net. Do you have any other ideas as to what I can do next / what could be causing the problem? Thanks Jeremy On Tuesday, February 11, 2014 2:50:23 PM UTC, Danial Klimkin wrote: Hello Jeremy, Unfortunately we can not advise on the client side setup or network issues. The error message sounds like a networking issue to me. Do you happen to use a proxy / transparent proxy? -Danial, AdWords API Team. On Monday, February 10, 2014 6:55:14 PM UTC+4, Jeremy K wrote: Hi Danial, As far as I'm aware I can access port 443 for *.google.com I've opened up the windows firewall by adding inbound and outbound rules to be completely sure. Is there anything else that I need to do in order to access 443? Or do you have any other suggestions as to why its not working? Thanks Jeremy On Monday, February 10, 2014 10:23:13 AM UTC, Danial Klimkin wrote: Hello Jeremy, Please make sure you can access google servers from the box you are running the app on. You'll need https port (443) to be accessible for *. google.com. -Danial, AdWords API Team. On Friday, February 7, 2014 4:48:08 PM UTC+4, Jeremy K wrote: Hi, Unfortunately I'm getting an error when I try to run GetCampaigns in the c# .net sample that I downloaded from: https://github.com/googleads/googleads-adwords-dotnet-lib/releases/tag/v16.6.0 What's frustrating is that a colleague has managed to get this working in ruby and I'm using the exact same parameters (e.g. ClientCustomerId, UserAgent, DeveloperToken) as he is. The first expectation that I get is : Unable to connect to the remote server. Then the inner exception is: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. I've tried this in both v201306 and v201309 but I get the same error. Does anyone have any ideas please as to what's gone wrong? Thank you PS Posted once and my post didn't appear so hoping it doesn't double post -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/groups/opt_out.
Re: AuthorizationError.USER_PERMISSION_DENIED While accessing campaigns
I found a article on google and it had this Test MCC account procedure. https://developers.google.com/adwords/api/docs/test-accounts?hl=fr The Client account I use to test is visible under the MCC account. I used the email of the Client Account and created the OAuth details and added them to the auth.ini And then I used that OAuth Client Id in the https://accounts.google.com/o/oauth2/auth?client_id=CLIENT_IDresponse_type=codescope=https%3A%2F%2Fadwords.google.com%2Fapi%2Fadwords%2Fredirect_uri=urn:ietf:wg:oauth:2.0:oobaccess_type=offlineapproval_prompt=autothis url and got the pass code. Then I pasted it to the getRefreshToken.php and got the refresh token. And I ran the file GetKeywordIdeas.php file. I got the following error. An error has occurred: [QuotaCheckError.INVALID_TOKEN_HEADER @ ; trigger:'MY_DEVELOPER_TOKEN] On Wed, Feb 12, 2014 at 12:43 PM, Bikram Bhuyan bikrambhu...@gmail.comwrote: Hi Kasun, I believe there is no concept of Test MCC account. Always we have the production MCC account where the developer token is pending if it is not approved till now. Could you please confirm this scenario. Also please confirm if you see the TEST Client account under the MCC account. If you see the TEST Client account under MCC then you can use either of the email to generate the token and then specify the customer account of the test client to access the data. If you dont see the test client account under MCC then you have to use the test client account to generate the oauth. And always remember, the developer token belongs to the MCC account (not to any client account). Hope this information helps. If you need more details, then please let us know more description about the linking of MCC and Client account. Thanks, Bikram. On Tue, Feb 11, 2014 at 11:08 PM, adwmcct...@gmail.com wrote: Dear Bikram and Takeshi, I'm new to Adwords API and I'm having the same problem. I have following accounts now. (all emails are dummy) · production...@gmail.com (production MCC account) and client...@gmail.com client account created under mentioned MCC account · test...@gmail.com (MCC Test account) and testclient@gmail.comclient account created under mentioned MCC Test account 1. Which account should I use to get OAuth2 details? 2. Which account should I use to get the developer token? 3. Which account should I used as client Customer to get clientCustomerId? Thanks, Kasun -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/groups/opt_out.
Change to contentBid setting in Display Network Only campaigns
We have been creating Display Only Campaign and the adgroups under this campaign have the following properties , *contentBidCriterionTypeGroup is set as *USER_INTEREST_AND_LIST *biddingStrategyConfiguration.bids is set as *{ 'xsi_type': 'CpmBid', 'bid': { 'microAmount': value } We assume that this can be continued to be used this way and this is not something related to the **removal of the ability to set contentBidhttps://developers.google.com/adwords/api/docs/reference/v201309/AdGroupService.CpcBid#contentBid for “Display Network only” campaigns that was announced (http://googleadsdeveloper.blogspot.in/2013/12/change-to-contentbid-setting-in-display.html). Can you confirm on this? Also, is there a way to test this API change before the deadline? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/groups/opt_out.
Re: Alert Service required MCC account.
Chirag, Just to confirm, you will need to set the clientCustomerIds to a real CID rather than the sample 00. If you have changed it to the real CID, please use the Reply to Author feature to send me your request/response log/payload. Thanks! -- Ray Tsang (AdWords API Advisor) On Wednesday, January 8, 2014 4:30:17 AM UTC-5, Chirag wrote: Hello, Any update? I am waiting for this. As on thread you said this was possible but using API it is not possible. On Tuesday, December 3, 2013 10:52:24 PM UTC+5:30, Chirag wrote: Hello Paul, Yes, As you can see in my earlier post, i am using the same code as your one. But as you are not getting any error, i have tryed once again with no success. Please see my request id here, getting same error - An error has occurred: [AlertError.INVALID_CLIENT_ID_SELECTED @ selector.query.clientExternalCustomerIds[0]] My request Id : requestId=0004eca46e3a88200aa4e603090b My Code : // Create alert query. $query = new AlertQuery(); $query-clientSpec = ID_LIST; $query-clientCustomerIds = array(00); $query-filterSpec = ALL; $query-triggerTimeSpec = ALL_TIME; // Create selector. $selector = new AlertSelector(); $selector-query = $query; // Create paging controls. $selector-paging = new Paging(0, AdWordsConstants::RECOMMENDED_PAGE_SIZE); On Tuesday, December 3, 2013 7:48:09 PM UTC+5:30, Paul Matthews (AdWords API Team) wrote: Hi Chirag, Here's the code that I've got: $query = new AlertQuery(); $query-clientSpec = ID_LIST; $query-clientCustomerIds = array(00); $query-filterSpec = ALL; $query-triggerTimeSpec = ALL_TIME; $selector = new AlertSelector(); $selector-query = $query; // Create paging controls. $selector-paging = new Paging(0, AdWordsConstants::RECOMMENDED_PAGE_SIZE); Where the value of 00 is my (integer) client ID, with no hyphens. Regards, - Paul, AdWords API Team. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/groups/opt_out.
Re: structure report for CriterionUserList
Hi, Danial. I'm not sure how I overlooked the TargetingSetting field in the report. Thanks very much for the confirmation on #1 and help with #2. Greg On Wednesday, February 12, 2014 3:55:29 AM UTC-6, Danial Klimkin wrote: Hello Greg, Sorry for the delay, this thread was re-assigned while I was on holidays. 1. You are correct, there is no dedicated field in the report for it. Parsing the string is the only way available now. 2. See the TargetingSetting field of display reports. -Danial, AdWords API Team. On Wednesday, January 15, 2014 3:12:50 AM UTC+4, GregT wrote: Any word on the follow up questions? :) Thanks, Greg On Tuesday, December 31, 2013 6:27:18 PM UTC-6, GregT wrote: Hi, Danial. I double-checked, and I was wrong -- sorry, my bad! It appears that the id field of both the audience performance report and criteria performance report are actually returning the CriterionUserList id. I mistakenly thought it was the UserList id because for the clients I checked, the id returned is the same for a given audience/UserList in almost every (but, it turns out, not quite every) ad group that targets the audience (I was looking at campaigns with many thousands of ad groups targeting the same audiences). A couple follow up questions: 1 - Given this, it now appears there is no field in either report that will actually return the UserList id, at least not as a numeric value. The Criteria field of the audience performance report, and both the Criteria and DisplayName fields of the criteria performance report all return something like boomuserlist::12345, which appear to match up with the ids of audiences as retrieved by the AdwordsUserListService if you strip off the boomuserlist:: part (so in this example, 12345 matches up with the id of an audience/UserList in the account). Should I be able to rely upon those fields of these reports containing boomuserlist::userListId and parse that string to match it up with the actual audience id? If not (or even if so), is there a more reliable way of getting the audience/UserList id in these reports that doesn't require relying on this apparent convention and stripping out part of the field? 2 - The other field we need and would love to be able to get from a structure report for audiences that I don't see is the targeting setting (i.e. does the ad group target the audience for bid only or target and bid). Is this available in any report? The only place I see to get it is from the AdGroup.settings field in the SOAP AdGroupService call, which is obviously much slower to use. Thanks, Greg On Monday, December 23, 2013 3:45:35 AM UTC-6, Danial Klimkin wrote: Hello Greg, The CriteriaPerformance report should be the one you are looking for. Can you please confirm you indeed receive UserList ID as Id in this report? -Danial, AdWords API Team. On Saturday, December 21, 2013 1:24:44 AM UTC+4, GregT wrote: Hi, For remarketing lists for search (RLSA), we can use the audience performance report to get statistical information for the performance of the remarketing lists on an ad group basis. However, this report surprisingly does not appear to be able to be used as a structure report, because it's missing one of the most important fields -- the id of the criterion. There is an Id field in this report, but it returns the id of the UserList, not the CriterionUserList, i.e. the id of the audience and not the id of the criterion (that UserList attached to a particular ad group). The id of the criterion (not just the UserList/Audience id) is what is needed to be able to actually change (or remove) the bid modifier for that audience for an ad group, because it's a required field on CriterionUserList during SET and REMOVE operations on BiddableAdGroupCriterion in the AdGroupCriterionService. I hope I've made that id distinction clear. Unfortunately, the only other report that seemed promising to pull this structure data, the criteria performance report, also appears to be unworkable. It also has an Id field, which given the name of the report, would presumably be the id of the criterion -- but from running it on some accounts, it also appears to be the UserList (audience) id, not the CriterionUserList id. As it stands now, I don't see a way to get the id of these criterion so that they can be updated or removed other than by querying the AdGroupCriterionService. Could someone please let me know if I'm missing something (some report, some field on one of these two reports that I've overlooked, etc.), and whether it's possible to get the criterion id for these remarketing lists that have been added to ad groups using some report rather than the (relatively slow) SOAP service? Thanks in advance, Greg -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+:
Re: How to get keyword status information from adwords api
Silver, The Status field is documented in: https://developers.google.com/adwords/api/docs/appendix/selectorfields#v201309-AdGroupCriterionService It's right beneath QualityScore and above SystemServingStatus. Hope this helps, -- Ray Tsang (AdWords API Advisor) On Tuesday, February 11, 2014 10:35:31 PM UTC-5, Silver Moôn wrote: Hi Ray where is the Status field ? link ? On Tuesday, February 11, 2014 10:33:16 PM UTC+5:30, Ray Tsang (AdWords API Team) wrote: Silver, It seems like you are on the right track. The documentation does have a field called Status that should get you what you want. Hope this helps. -- Ray Tsang (AdWords API Advisor) On Monday, February 10, 2014 11:03:13 AM UTC-5, Silver Moôn wrote: I am using the adwords php api hosted here https://github.com/googleads/googleads-php-lib It has got examples and I am using this one https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201309/BasicOperations/GetKeywords.php that particular example fetches keywords in a given adgroup using the adgroup id and customerid. The keyword information does not contain the status of the keyword, i.e. ACTIVE/PAUSED How to get that ? The selectable fields do not seem to have a field for current status. The list is here https://developers.google.com/adwords/api/docs/appendix/selectorfields#v201309-AdGroupCriterionService So how do I get the current status of the keywords when fetching them using the get method of AdGroupCriterionService ? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/groups/opt_out.
Re: Statistics for particular campaign and adgroup
Karthik, Stats are only available in the reports starting v201309. Please see our v201309 announcementhttp://googleadsdeveloper.blogspot.com/2013/10/announcing-v201309-of-adwords-api.html. You will need to use reporting (AWQL or report selector) to retrieve these stats. Please see our Reporting Basics guidehttps://developers.google.com/adwords/api/docs/guides/reporting . Cheers, -- Ray Tsang (AdWords API Advisor) On Tuesday, February 11, 2014 6:18:00 PM UTC-5, Ray Tsang (AdWords API Team) wrote: Karthik, Have you had a chance to review the report typeshttps://developers.google.com/adwords/api/docs/appendix/reportsand the fields available in each report? For example, you can do something like: SELECT Id, Clicks, Impressions, Cost, AveragePosition FROM ADGROUP_PERFORMANCE_REPORT DURING . This should get you what you need. You may also want to check out the guide on zero impression reportshttps://developers.google.com/adwords/api/docs/guides/zero-impression-reportsas well. Cheers, -- Ray Tsang (AdWords API Advisor) On Tuesday, February 11, 2014 1:55:02 AM UTC-5, Karthik vvs wrote: In the latest v201309 Google Adwords API upgrade, there is no Stats class available to get the statistics fields for every adgroup and campaign.Instead we have to get those statistics fields by downloading adgroup performance report and campaign performance report. There are no particular statistics[clicks,Impressions,cost,Avg.position,Avg.cpc...] for a particular adgroup or campaign through adgroup performance report or campaign performance report as the statistics are consolidated and I only get total statistics .How can we get particular statistics for every adgroup and campaign ? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/groups/opt_out.
Re: Ad Hoc Reporting to migrate to 309
Yes your quite right!, if I just take out the path where it is to download I get the CLI showing all of the results. How do I capture these into a variable or array, to be able to manipulate them. I have tried many ways and it seems that Curl is involved. Am I on the right track? I have read the entire contents of the adwords docs, and cant see anything. I am using the Command line interface and file = DownloadReportWithAwql.php -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/groups/opt_out.
Basic report for many clients
How do I use a basic report for many clients. (Cost, Conversions, Impressions etc) I have 1 MCC with 30 clients (all different IDs) I would usually add the clientID in auth.ini , but as it changes have wrote a script with a counter that each time the API is run using a scheduled task (every 1 minute) the clientID changes, and increments to the next. I have a file that contains all the client ID's and can add as many as I want. This works. *PROBLEM* Each client only gets updated every 30 minutes due to there being 30 clients. (one every min) How can I run all clients every 10 minutes at the same time? I'm using PHP coding. I have read all the documentation for Adwords, but cant find anything to support this answer. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/groups/opt_out.
Re: error when calling v201306.AddCampaigns
Hi, A common cause of this error is that your App.config contains the ClientCustomerId of the MCC account. Please make sure that ClientCustomerIdhas the ID of a non-MCC AdWords account. Cheers, Josh, AdWords API Team On Wednesday, February 12, 2014 4:53:29 AM UTC-5, GigiCom wrote: Hello, I try to use .NET library with a test account and got the same error. Can someone help me? Thanks Am Donnerstag, 2. Januar 2014 21:28:35 UTC+1 schrieb Josh Radcliff (AdWords API Team): Hi, Could you provide some more details, such as the customer ID of the account you are using for this request? You can send this information *only to me* by clicking *Reply to author*. Thanks, Josh, AdWords API Team On Monday, December 30, 2013 1:43:22 AM UTC-5, kano patel wrote: This code example adds campaigns. To get campaigns, run GetCampaigns.cs. An exception occurred while running this code example. System.Reflection.TargetI nvocationException (Exception has been thrown by the target of an invocation.) at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] argum ents, SignatureStruct sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] argume nts, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwn er) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invoke Attr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisib ilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invoke Attr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) at Google.Api.Ads.AdWords.Examples.CSharp.Program.InvokeRun(Object codeExampl e, AdWordsUser user) in c:\Users\admin\Downloads\awapi_dotnet_lib_v16.4.0\exampl es\CSharp\Program.cs:line 140 at Google.Api.Ads.AdWords.Examples.CSharp.Program.RunACodeExample(AdWordsUser user, Object codeExample) in c:\Users\admin\Downloads\awapi_dotnet_lib_v16.4.0\ examples\CSharp\Program.cs:line 99 Caused by System.ApplicationException (Failed to add shared budget.) at Google.Api.Ads.AdWords.Examples.CSharp.v201306.AddCampaigns.Run(AdWordsUse r user) in c:\Users\admin\Downloads\awapi_dotnet_lib_v16.4.0\examples\CSharp\v20 1306\BasicOperations\AddCampaigns.cs:line 89 Caused by Google.Api.Ads.AdWords.Lib.AdWordsApiException (An API exception has occurred. S ee ApiException and InnerException fields for more details.) at Google.Api.Ads.Common.Lib.AdsSoapClient.MakeApiCall(String methodName, Obj ect[] parameters) in c:\src\MyProjects\now\Common library base\adwords\compile\L ib\AdsSoapClient.cs:line 218 at Google.Api.Ads.Common.Lib.AdsSoapClient.Invoke(String methodName, Object[] parameters) in c:\src\MyProjects\now\Common library base\adwords\compile\Lib\Ad sSoapClient.cs:line 127 at Google.Api.Ads.AdWords.v201306.BudgetService.mutate(BudgetOperation[] oper ations) in c:\src\MyProjects\now\Common library base\adwords\compile\v201306\AdW ordsApi.cs:line 2133 at Google.Api.Ads.AdWords.Examples.CSharp.v201306.AddCampaigns.Run(AdWordsUse r user) in c:\Users\admin\Downloads\awapi_dotnet_lib_v16.4.0\examples\CSharp\v20 1306\BasicOperations\AddCampaigns.cs:line 86 Caused by System.Web.Services.Protocols.SoapException ([QuotaCheckError.ACCOUNT_INACTIVE @ ; trigger:'null']) at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClie ntMessage message, WebResponse response, Stream responseStream, Boolean asyncCal l) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodN ame, Object[] parameters) at Google.Api.Ads.Common.Lib.AdsSoapClient.MakeApiCall(String methodName, Obj ect[] parameters) in c:\src\MyProjects\now\Common library base\adwords\compile\L ib\AdsSoapClient.cs:line 212 -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/groups/opt_out.
Re: Error CRITERIA_TYPE_INVALID_FOR_BIDDING_STRATEGY_CONFIGURATION on Managed Placements Bids
Great. Thanks for the update. Best, - Takeshi, AdWords API Team On Monday, February 10, 2014 10:22:11 PM UTC+9, Maurício Alves de Souza Oliveira wrote: Hello Takeshi, Yes, sorry about that. The problem is that we were getting the placement (via report) - along with biddingStrategyType - and sending it back to the mutate service with the bid alterations: (...) AdGroupCriterionPage adGroupCriterionPage = servico.get(selector); if (adGroupCriterionPage != null adGroupCriterionPage.entries != null) { AdGroupCriterion adGroupCriterion = adGroupCriterionPage.entries[0]; (...) Creating a new BiddableAdGroupCriterion resolved the problem: (...) AdGroupCriterionPage adGroupCriterionPage = servico.get(selector); if (adGroupCriterionPage != null adGroupCriterionPage.entries != null) { AdGroupCriterion _adGroupCriterion = adGroupCriterionPage.entries[0]; BiddableAdGroupCriterion adGroupCriterion = new BiddableAdGroupCriterion() { adGroupId = _adGroupCriterion.adGroupId, criterion = new Criterion(){ id= _adGroupCriterion.criterion.id} }; adGroupCriterion.biddingStrategyConfiguration = new BiddingStrategyConfiguration(); (...) Problem solved! Appreciate your help :-) Cheers, Maurício Em segunda-feira, 10 de fevereiro de 2014 03h27min39s UTC-2, Takeshi Hagikura (AdWords API Team) escreveu: Hi Mauricio, Your request still includes biddingStragetyType. ( I saw pretty-request.xml) Please try removing biddingStragetyType. Best, - Takeshi, AdWords API Team On Friday, February 7, 2014 11:32:59 PM UTC+9, Maurício Alves de Souza Oliveira wrote: Hello, Takeshi All the logs (and the pretty xmls) are attached. This is only one example, other clients, adGroups and placements are having the same behaviour. Thanks in advance Mauricio Em sexta-feira, 7 de fevereiro de 2014 02h23min22s UTC-2, Takeshi Hagikura (AdWords API Team) escreveu: Hi Mauricio, Can you please share the request and response xmls? (please redact the sensitive info). From my quick test, I'm able to update bids for a placement. Best, - Takeshi, AdWords API Team On Wednesday, February 5, 2014 7:43:55 AM UTC+9, Maurício Alves de Souza Oliveira wrote: Hello, Takeshi Thanks for your response. Unfortunately, no success. Same error. Code used: AdGroupCriterion adGroupCriterion = adGroupCriterionPage.entries[0]; CpcBid keywordMaxCpc = new CpcBid() { bid = new Money() { // Current CPC is 0.54, I'm trying to change to 0.53 microAmount = Convert.ToInt64(Math.Round(test_newCpc * 100, 2)) } }; ((BiddableAdGroupCriterion)adGroupCriterion).biddingStrategyConfiguration.bids = new Bids[] { keywordMaxCpc }; AdGroupCriterionOperation keywordOperation = new AdGroupCriterionOperation(); keywordOperation.@operator = Operator.SET; keywordOperation.operand = adGroupCriterion; // throws the following exception: // {[AdGroupCriterionError.CRITERIA_TYPE_INVALID_FOR_BIDDING_STRATEGY_CONFIGURATION @ operations[0].operand.criterion]} AdGroupCriterionReturnValue retVal = servico.mutate(new AdGroupCriterionOperation[] { keywordOperation }); Changing to contentBid from bid on CpcBid class throws the same error too (Note that this is a Managed Placement) Any other suggestions? Any help would be appreciated. Thanks in advance Mauricio Em terça-feira, 4 de fevereiro de 2014 02h51min20s UTC-2, Takeshi Hagikura (AdWords API Team) escreveu: Hi Mauricio, As in this documenthttps://developers.google.com/adwords/api/docs/guides/bidding, BiddingSchem or BiddingStrategyType is not allowed to be set at the ad group or criterion level. Can you please remove the lines setting biddingStrategyType? Best, - Takeshi, AdWords API Team On Wednesday, January 29, 2014 2:41:55 AM UTC+9, Maurício Alves de Souza Oliveira wrote: Hello, I'm trying to change the Max CPC of a Managed Placement, but I got stuck in the error CRITERIA_TYPE_INVALID_FOR_BIDDING_STRATEGY_CONFIGURATION, regardless of the alteration (getting the BiddableAdGroupCriterion and sending it back throws the error). We're using v201309 API's version, and we can make the alteration via UI. We're using the following code (this is only a lab I've done to reproduce the error): AdWordsUser user = new AdWordsUser(); using (AdGroupCriterionService servico = (AdGroupCriterionService)user.GetService(AdWordsService.v201309.AdGroupCriterionService)) { servico.RequestHeader.clientCustomerId = test_clientCustomerId.ToString(); Selector selector = new Selector(); selector.fields = new string[] { AdGroupId, Id, CriterionUse, Status, CpcBidSource }; Predicate adGroupPredicate = new Predicate() { field = AdGroupId, @operator = PredicateOperator.EQUALS, values = new string[] { test_adGroupId.ToString() } }; Predicate keywordPredicate = new Predicate() { field = Id, @operator = PredicateOperator.EQUALS, values = new string[]
Re: Strange and Inconsistent Keyword Performance report behavor
Hi Oliver, Sorry for the delay. Can you share your request XML? Let me pull reports against your campaigns and see the behavior. Best, - Takeshi, AdWords API Team On Tuesday, February 11, 2014 11:44:09 PM UTC+9, Oliver wrote: Hi Takeshi, Sorry to chase this, do you have any idea why the keyword performance report is behaving in such an inconsistent way? There is no includeZeroImpression issue here because, as my test showed, the keywords have impressions, but they are just not returned in some of the reports. This is happening for a small set of campaigns only. We downloaded the keyword performance reports for thousands of campaigns every day but it's happening only with 7 of them. Oliver On Friday, February 7, 2014 9:18:02 AM UTC, Oliver wrote: Hi Takeshi, I'm not explicitly setting the includeZeroImpressions flag to any value. But the documentation says that if we use predicates, then we will always get back all the structural data. This works, by the way, *even for test accounts *where there are no impressions at all. Our code still manages to download all structural data when using test accounts because we're using predicates. I just did a small test; I downloaded *two *Keyword Performance reports for one of the above campaigns I mentioned; *Report 1* I requested structural data only. All report downloads require a date range so I used ALL_TIME. I got back *X *keywords. *Report 2* I requested the impressions, again using ALL_TIME. I got back *X + 29 * keywords. Both reports were downloaded using the same code. The only difference is in the fields requested. So the question is, if *Report 2 *gave me the keywords that must have had impressions, why didn't *Report 1 *give them the same number of keywords (since they all had impressions)? Oliver On Friday, February 7, 2014 4:54:24 AM UTC, Takeshi Hagikura (AdWords API Team) wrote: Hi Oliver, Even if you don't include Impressions reports should return the data where it has impressions unless includeZeroImpressions flag is true. (But as I said, Keyword Performance Report doesn't support the flag as of now) Best, - Takeshi, AdWords API Team On Thursday, February 6, 2014 4:33:46 PM UTC+9, Oliver wrote: Takeshi, I'm using the report to get structural data only, and not impressions. The date a keyword was added does not matter for such data. If a keyword was added last week, it should still be returned in a report with an ALL_TIME date range. That's how the system have worked from day one and that's how it's documented. includeZeroImpressions does not play any part here. I am not requesting impressions. I'm simply requesting keyword IDs. There is something else going on, and it's only specific to a very small number of campaigns. Any other ideas please? Oliver On Thursday, February 6, 2014 7:28:31 AM UTC, Takeshi Hagikura (AdWords API Team) wrote: Hi Oliver My guess is that those campaigns have impressions before the time range of requested ones (LAST_DAY, LAST_MONTH etc). As far as I remember includeZeroImpressions flag is not supported by Keyword Performance Report. Best, - Takeshi, On Wednesday, February 5, 2014 5:15:21 PM UTC+9, Oliver wrote: I forgot to mention we're using the keyword performance report to get structural data *only*. There is no performance data and hence no zero impression issues. The number of keywords returned in such a structural report should always be the same, irrespective of the date range used when requesting the report. However, for only those specific campaigns, the report for ALL_TIME date range gives different results. Any ideas? Oliver On Monday, February 3, 2014 8:33:18 AM UTC, Oliver wrote: We download the keyword performance report for various date ranges. For a given campaign, the number of keywords in a report is always the same irrespective of the date range, which is what is expected. However, only for 7 campaigns of one of our clients, the number of keywords that come back in the *ALL_TIME* date range keyword report is *higher *than the number of keywords that come back in all other date ranges (LAST__DAYS, LAST_MONTH, etc.) This happens only for one client and only for 7 of his campaigns. The customer ID is 7582349760 and the 7 campaign IDs are: 7136351 8075351 6427991 95861 31699811 5553191 7146191 Any idea why this inconsistent behavior of the keyword performance report? Oliver -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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,