Use existed developer token to access test account( with OAuth2)
Hi, I've already have a reviewed developer token. And use OAuth2 for authentication. Did I need a whole new service account of the Google API Console to access my test account? Or is it possible to use the same service account to access it? I've tried but I got failed when it returns me access denied. I think it's because the MCC account does not know the test account. Then how should I do to make my MCC account to link with it? Thanks, Brandon -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Strange SelectorError.START_INDEX_IS_TOO_HIGH
Hi Takeshi, thanks for your reply. Request ID 0004e575769593380ae55dd213fc is an example. It returned SelectorError.START_INDEX_IS_TOO_HIGH @ ; trigger:'105000' even though there happen to be 106107 Adparams in that specific campaign. Best regards, Dorian On Monday, September 2, 2013 2:39:59 PM UTC+2, Takeshi Hagikura (AdWords API Team) wrote: Hi Dorlan, Thanks for the report. Could you please tell us the example requestId (It's included in the soap response)? I'll look into that. Best, - Takeshi, AdWords API Team On Monday, September 2, 2013 4:46:57 PM UTC+9, Dorian Kind wrote: Hello, as this issue is affecting us quite heavily, I'm bumping this thread. If any request IDs or SOAP logs would be of help, I'll gladly provide them. Many thanks and best regards, Dorian On Thursday, August 29, 2013 5:30:06 PM UTC+2, Dorian Kind wrote: Hi all, since yesterday, we started to see SelectorError.START_INDEX_IS_TOO_HIGH errors when fetching all AdParams for a given campaign, even though there are more AdParams existing. These errors usually start appearing at an offset of around 12. The campaign in question currently has 148124 AdParams set as indicated by the totalNumEntries of the returned pages that are working; entries beyond a specifc offset however just throw a START_INDEX_IS_TOO_HIGH error. I'd be grateful for any hints as we have currently no way at all to retrieve a complete list of AdParams for that specific campaign. Best regards, Dorian -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Internal API error when requesting feed items
Dear Anash, Do you have an update on this issue? Thank you. Kind regards, Jaap-Jan Frans bGenius Op woensdag 28 augustus 2013 09:09:41 UTC+2 schreef fr...@bgenius.com: Great, thank you for you reply. We will await your update. Kind regards, Jaap-Jan Op dinsdag 27 augustus 2013 17:08:53 UTC+2 schreef Anash P. Oommen (AdWords API Team): Hi, I've opened a request with the Feeds team to investigate this further. I'll update this thread as I hear from them. Cheers, Anash P. Oommen, AdWords API Advisor. On Tuesday, August 27, 2013 8:30:54 AM UTC+1, fr...@bgenius.com wrote: Dear reader, When requesting feed items for a specific feed via https://adwords.google.com/api/adwords/cm/v201302/FeedItemService we receive an internal API error. SOAP request: ?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:Header ns1:RequestHeader xmlns:ns1= https://adwords.google.com/api/adwords/cm/v201302; soapenv:mustUnderstand=0 ns1:authTokenremoved/ns1:authToken ns1:clientCustomerIdremoved/ns1:clientCustomerId ns1:developerTokenremoved/ns1:developerToken ns1:userAgentbGenius (AwApi-Java, AdWords-Axis/1.14.0, Common-Java/1.14.0, Axis/1.4, Java/1.7.0_09, jars)/ns1:userAgent ns1:validateOnlyfalse/ns1:validateOnly ns1:partialFailurefalse/ns1:partialFailure /ns1:RequestHeader /soapenv:Header soapenv:Body get xmlns=https://adwords.google.com/api/adwords/cm/v201302; selector fieldsFeedId/fields fieldsFeedItemId/fields fieldsAttributeValues/fields fieldsDevicePreference/fields predicates fieldFeedId/field operatorIN/operator values571890/values /predicates predicates fieldStatus/field operatorEQUALS/operator valuesACTIVE/values /predicates paging startIndex0/startIndex numberResults1/numberResults /paging /selector /get /soapenv:Body /soapenv:Envelope SOAP response: ?xml version=1.0 encoding=UTF-8?soap:Envelope xmlns:soap= http://schemas.xmlsoap.org/soap/envelope/; soap:Header ResponseHeader xmlns= https://adwords.google.com/api/adwords/cm/v201302; requestId0004e4e88ab7a7800ae58943597e/requestId serviceNameFeedItemService/serviceName methodNameget/methodName operations0/operations responseTime2149/responseTime units0/units /ResponseHeader /soap:Header soap:Body soap:Fault faultcodesoap:Server/faultcode faultstring[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api.services.common.error.InternalApiError.lt;initgt;(InternalApiErro]/faultstring detail ApiExceptionFault xmlns= https://adwords.google.com/api/adwords/cm/v201302; message[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api.services.common.error.InternalApiError.lt;initgt;(InternalApiErro]/message ApplicationException.TypeApiException/ApplicationException.Type errors xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance; xsi:type=InternalApiError fieldPath/ trigger/ errorStringInternalApiError.UNEXPECTED_INTERNAL_API_ERROR/errorString ApiError.TypeInternalApiError/ApiError.Type reasonUNEXPECTED_INTERNAL_API_ERROR/reason /errors /ApiExceptionFault /detail /soap:Fault /soap:Body /soap:Envelope Could you look into this issue for us? If you need any additional information please let me know. Kind regards, Jaap-Jan Frans bGenius -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To
Re: Need Help with ValidateOnly-Header
Hello, ok, the main workflow is clear to me. At the moment im trying to fetch an exception for a non-valid keyword but cant get one. I have tried it with several brand keywords or porn and stuff like that. Can you give me an example for which keyword the validateOnly-header throws an exception? Thanks, Kai Am Freitag, 30. August 2013 18:46:01 UTC+2 schrieb Anash P. Oommen: Hi, If you use validateOnly header as true, then you won't get any results back, because no operations are actually performed if there are no errors. If there are errors, you will get an exception back from the server. You need to process it to fix the relevant errors and retry your API call. Cheers. Anash P. Oommen, AdWords API Advisor. On Friday, 30 August 2013 14:58:07 UTC+1, testmc...@unister.de wrote: Hello, i`m using the php-client for the adwords api and now want to check for example keywords which i sent to adwords over the validateOnly-header. My Question now how can i get the result of the request set with the validateOnly-Header? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Issues running GetRefreshToken.php
Hi Ewan and Evgeniy, Okay, GetRefreshToken.php needs to be run through the command line. My fault for not reading the documentation properly! This gave me a URL and a token to use to access the final refresh token. Thanks again for taking the time to reply to my issue. On Wednesday, August 28, 2013 9:33:02 PM UTC+1, Alan Coleman wrote: Hi Ewan and Evgeniy, This doesn't seem to be the simple process the Google guys are making out. I'm following this process: https://code.google.com/p/google-api-adwords-php/wiki/OAuth2 I've added the client_id and client_secret to the SetOAuth2Info method array as you suggested above. However I'm getting the following error: { error : invalid_request } The client_id and client_secret are both from our MCC Account, which I gather is where they are supposed to come from. However our developerToken we used with our email password authentication is from a linked account. So I'm thinking that the developerToken will also need to be from our MCC account, which means we'll need to reapply for another token. Great. Back to GetRefreshToken.php, the developerToken doesn't seem to be declared anywhere, which I find confusing. Any thoughts would be greatly appreciated, as usual. Many thanks On Thursday, August 22, 2013 12:25:37 AM UTC+1, Ewan Heming wrote: Hi Alan, As Evgeniy mentioned, there's probably something wrong with your PHP configuration, but you could try adding the parameters to the example file instead of auth.ini. At line 85 of GetRefreshToken.php you should find the following code: $user = new AdWordsUser(); $user-LogAll(); The AdWordsUser object has a SetOAuth2Info method that takes an associative array of parameters, and you can set the client_id and client_secret as follows: $user-SetOAuth2Info(array( client_id = INSERT_OAUTH2_CLIENT_ID_HERE, client_secret = INSERT_OAUTH2_CLIENT_SECRET_HERE )); Regards, Ewan -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- 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: Strange SelectorError.START_INDEX_IS_TOO_HIGH
Hi Takeshi, We also seem to be experiencing this issue. We have a client account that, according to the AdParamPage objects we get from the adparamservice, contains 402856 ad params. After succesfully retrieving a number of pages we get: [SelectorError.START_INDEX_IS_TOO_HIGH @ ; trigger:'19'] Request ID: 0004e57b8f9aa3680ae5500a660d Thank you for looking into this matter. Kind regards, Jaap-Jan Frans bGenius 0004e57b6dc1b4c00ae599cb65dd For example we have an account that has 402856 ad params, and we get the start index too high message when we reach start index Example request ID: Op maandag 2 september 2013 14:39:59 UTC+2 schreef Takeshi Hagikura (AdWords API Team): Hi Dorlan, Thanks for the report. Could you please tell us the example requestId (It's included in the soap response)? I'll look into that. Best, - Takeshi, AdWords API Team On Monday, September 2, 2013 4:46:57 PM UTC+9, Dorian Kind wrote: Hello, as this issue is affecting us quite heavily, I'm bumping this thread. If any request IDs or SOAP logs would be of help, I'll gladly provide them. Many thanks and best regards, Dorian On Thursday, August 29, 2013 5:30:06 PM UTC+2, Dorian Kind wrote: Hi all, since yesterday, we started to see SelectorError.START_INDEX_IS_TOO_HIGH errors when fetching all AdParams for a given campaign, even though there are more AdParams existing. These errors usually start appearing at an offset of around 12. The campaign in question currently has 148124 AdParams set as indicated by the totalNumEntries of the returned pages that are working; entries beyond a specifc offset however just throw a START_INDEX_IS_TOO_HIGH error. I'd be grateful for any hints as we have currently no way at all to retrieve a complete list of AdParams for that specific campaign. Best regards, Dorian -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Display Network cost and the criteria performance report
Hi Paul, I am pulling segmented data, yes, but the cost numbers stay the same whether I remove or include those segments (that is, when I remove AdNetworkType1/2). This indicates that the segments simply take the same superset of data (a superset which includes automatic placements) and slice them in a different way. I *want* the report to return automatic placements; this best suits my needs. What concerns me is that, based on the thread I quoted in my original post, someone will decide that this is a bug, and then 'fix' it for me. Let me know what other information I can provide for you so that you might let me know what the intended behavior is. Thanks for your help, Heather -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Get list of all clients
How can I get a list of all clients of an adwords account? Right now I have: ManagedCustomerService customerService = (ManagedCustomerService)user.GetService(AdWordsService.v201302.ManagedCustomerService); customerService.RequestHeader.clientCustomerId = null; ManagedCustomerPage customerPage = customerService.get(new Selector { fields = new string[] { Name, CustomerId } }); but it's only returning the one client that I'm using for the ClientLogin: add key=AuthorizationMethod value=ClientLogin / add key=Email value=clientloginemail / add key=Password value=clientloginpassword / How do I display *all* clients? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Completed OAuth2 setup but still being asked for email and password pair
Hello everyone, I have completed my OAuth2 set up but am still receiving errors asking for the email and password pair. This was my process, as per the documentation: 1. Set up an application in the API Console 2. client_id and client_secret added to auth.ini 3. client_id and client_secret added to GetRefreshToken.php 4. Run GetRefreshToken.php through command line 5. Open the supplied URL in a browser after signing in to account 6. Accept when prompted 7. Copy Authorization code back into command line 8. Wait for refresh_token 9. Copy refresh_token into auth.ini 10. Run /adwords_api_php_4.5.1/examples/AdWords/v201302/BasicOperations/GetCampaigns.php The following error is being returned to the browser: An error has occured: Validation failed for [email] with value []: email is required and cannot be NULL. My auth.ini contains the following variables that are not coded out: 1. developerToken 2. userAgent 3. client_id 4. client_secret 5. refresh_token I simply can't believe I'm finding this so difficult, I've been hacking away at it for weeks. As always, any help would be appreciated. Many thanks -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Adwords content retrieval
The AdGroupAdServicehttps://developers.google.com/adwords/api/docs/reference/v201306/AdGroupAdServiceget operation will return ad content such as Headline, Description1, Description2, and so forth. The id field of Ad (and the various subclasses such as Text Ad, Mobile Ad, etc.) is a selectable field so pass in a Selectorhttps://developers.google.com/adwords/api/docs/reference/v201306/AdGroupAdService.Selectorwith a Predicate of id EQUALS id of ad you want to return. Now, the above is just my best guess but since the id field of Ad says it's selectable, and there's a different field called AdGroupId that is also selectable, I think that the above will work to return an ad based on it's id (as opposed to returning it based on AdGroupId). Hope this helps. On Sunday, September 1, 2013 1:55:42 AM UTC-5, Joan Elaydi wrote: What is the function and class used in Adwords API that retrieves the ad Content by ID not by adGroup? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Best practice for making sure your local API data is up to date with live Adwords data
I'm just getting started with accessing our Adwords account information via the API. One of the most basic functions I'm trying to get right is making sure my local data I'm basing my API updates on is current. Therefore, the very first thing I do before I change anything is use CampaignService to get the list of all Active Campaigns and then use the CAMPAIGN_PERFORMANCE_REPORT to get all the basic Campaign info to make sure I'm basing my changes on current information. For example, I don't want to try to adjust the Budget up by 10% if the Budget information I'm using is out-of-date and is already 10% greater. However, the CampaignService doesn't allow Budget to be accessed (selectable) so I use the CAMPAIGN_PERFORMANCE_REPORT to get that information (after I've use the CampaignService API to make sure my list of Active Campaigns is correct). Is this kind of workflow reasonable? Is it what you do? Any other ideas? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Kevin's Google App Engine Python Demo
Hey Kevin/API team, Is there an updated version of this demo available for download somewhere? Went to download it and noticed it was deprecated. Thanks, Daniel -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Failed to Get a List of Automatic Placements via AdGroupCriterionService
Hi Heather, It should return only managed placement data, but we had a temporary issue with the report and it was returning both for a bit, it should be working as expected right now. Let me know if that is not the case. Best, - David On Tuesday, August 27, 2013 3:38:54 PM UTC-4, HeatherH wrote: Hello David, Is it still true that the criteria report only returns managed placement data? The cost totals seem to indicate that I'm getting back both managed and automatic placements. I haven't applied any filters to the report. Thanks, Heather -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Use existed developer token to access test account( with OAuth2)
Read the guide on ClientLogin API and OAuthhttps://developers.google.com/adwords/api/docs/guides/basic-concepts#clientlogin. In particular, read the section under the heading Making Adwords API calls. That section makes it clear that you need 2 things, a Developer Token _and_ authorized credentials to access the specific Adwords account. It sounds like you have the first part, the Developer Token. To learn more about the second part, I suggest you click on the link to OAuth2 that is in that section that will take you to the section on using OAuthhttps://developers.google.com/adwords/api/docs/authentication#oauth . Hope this helps, ~Brett On Tuesday, September 3, 2013 1:59:28 AM UTC-5, Brandon wrote: Hi, I've already have a reviewed developer token. And use OAuth2 for authentication. Did I need a whole new service account of the Google API Console to access my test account? Or is it possible to use the same service account to access it? I've tried but I got failed when it returns me access denied. I think it's because the MCC account does not know the test account. Then how should I do to make my MCC account to link with it? Thanks, Brandon -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Best practice for making sure your local API data is up to date with live Adwords data
I'm going to answer my own question because I just stumbled upon the CustomerSyncServicehttps://developers.google.com/adwords/api/docs/reference/v201306/CustomerSyncService that seems to have been made for just the sort of thing I'm trying to do. I guess the idea here is to start with a complete account fleshed out in local data as of a certain DateTime and then poll for changes as of the last time you polled for changes. I'm going to work this into my account syncing workflow and see how it goes. Now, can I give myself points for answering my own question :) On Tuesday, September 3, 2013 4:45:52 PM UTC-5, Brett Baggott wrote: I'm just getting started with accessing our Adwords account information via the API. One of the most basic functions I'm trying to get right is making sure my local data I'm basing my API updates on is current. Therefore, the very first thing I do before I change anything is use CampaignService to get the list of all Active Campaigns and then use the CAMPAIGN_PERFORMANCE_REPORT to get all the basic Campaign info to make sure I'm basing my changes on current information. For example, I don't want to try to adjust the Budget up by 10% if the Budget information I'm using is out-of-date and is already 10% greater. However, the CampaignService doesn't allow Budget to be accessed (selectable) so I use the CAMPAIGN_PERFORMANCE_REPORT to get that information (after I've use the CampaignService API to make sure my list of Active Campaigns is correct). Is this kind of workflow reasonable? Is it what you do? Any other ideas? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: Get list of all clients
I'm using OAuth2 authorization so I'm not 100% sure this will work for you but I think you need to drop the line about the customerService.RequestHeader and set the Client ID for the account you want to get the account list for by using: config.ClientCustomerId = 111-222- I just tried the ManagedCustomerService example code that I think you are working from and did the above and it listed all my accounts attached to my MCC which was the ClientCustomerId I used as above. Hope this helps, ~Brett On Tuesday, September 3, 2013 11:25:00 AM UTC-5, Rivka wrote: How can I get a list of all clients of an adwords account? Right now I have: ManagedCustomerService customerService = (ManagedCustomerService)user.GetService(AdWordsService.v201302.ManagedCustomerService); customerService.RequestHeader.clientCustomerId = null; ManagedCustomerPage customerPage = customerService.get(new Selector { fields = new string[] { Name, CustomerId } }); but it's only returning the one client that I'm using for the ClientLogin: add key=AuthorizationMethod value=ClientLogin / add key=Email value=clientloginemail / add key=Password value=clientloginpassword / How do I display *all* clients? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords API Forum group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups AdWords API Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.