Re: GetTargetingIdeaService exception ExpatError after Update

2013-11-12 Thread Takeshi Hagikura (AdWords API Team)
Hi Colln,

If it's still reproducible, please file an issue with detailed steps and 
environment as much as possible.
https://code.google.com/p/google-api-ads-python/issues/list

Best,
- Takeshi, AdWords API Team

On Saturday, November 2, 2013 6:04:55 AM UTC+9, Colin Usala wrote:
>
> Hello,
>
> We're having the same problems with this; it's only happening on some 
> machines as opposed to others, all running the exact same script.
>
> Is there a particular version of adspygoogle that this was linked back to?
>
> Please let us know.
>
> Thanks,
>
> Colin
>
> On Wednesday, June 12, 2013 12:41:28 AM UTC-4, Takeshi Hagikura wrote:
>>
>> Hi, 
>>
>> We can't replicate it on our side. 
>> Let me confirm, does it occur every time or sporadically? 
>> Does the exact same code (except for the version difference) succeed with 
>> v201209 and fail with v201302?
>>
>> Is is possible to log the WSDL received in the proxy server?
>> Looks like it's failing in parsing WSDL. It might be possible that proxy 
>> is not returning the entire file or something of that nature.
>>
>> Also FYI, you can omit this field " 'authToken': 
>> credential.access_token,".
>> Because authToken is for ClientLogin tokens.
>>
>> Best,
>> - Takeshi, AdWords API Team
>>
>>
>> On Tuesday, June 11, 2013 1:29:47 PM UTC+9, Takeshi Hagikura (AdWords API 
>> Team) wrote:
>>>
>>> Hi, 
>>>
>>> Looks like it's happening on the client side.
>>> I'm asking the python library maintainer and get back to you.
>>>
>>> Best,
>>> - Takeshi, AdWords API Team
>>>
>>> On Saturday, June 8, 2013 12:21:54 AM UTC+9, report...@adwords.api wrote:

 When i call GetTargetingIdeaService (code  is almost identical to 
 get_keyword_idea.py) i get the Following exception. I recently updated to 
 the newest Version, with an older Version this call did not make any 
 Problems at all. Is it possible that something in the transition gone 
 wrong?


 client2 = AdWordsClient(headers={
   'email': MAIL,  
   'password': PASS, 
   'developerToken': TOKE,
   'authToken': credential.access_token,
   #'clientCustomerId': '123456789',
   'userAgent': AGENT,
   'oauth2credentials': credential ,
  # 'partialFailure': 'y',
 },  config = { 'proxy' :PROXY})

  targeting_idea_service = 
 client.GetTargetingIdeaService(version='v201209',http_proxy='
 192.168.0.32:3128') <- error



 Traceback (most recent call last):
   File "O:\Corporate Development\00 Data 
 Mining\PythonScripts\workspace\iCrossingScripts\keywordExtract.py", line 
 221, in 
 main(client,row)
   File "O:\Corporate Development\00 Data 
 Mining\PythonScripts\workspace\iCrossingScripts\keywordExtract.py", line 
 46, in main
 targeting_idea_service = 
 client.GetTargetingIdeaService(version='v201302',http_proxy='IP')
   File 
 "C:\Python27\lib\site-packages\adspygoogle\adwords\AdWordsClient.py", line 
 1457, in GetTargetingIdeaService
 self.__logger, 'TargetingIdeaService')
   File 
 "C:\Python27\lib\site-packages\adspygoogle\adwords\GenericAdWordsService.py",
  
 line 89, in __init__
 namespace, namespace_extractor)
   File 
 "C:\Python27\lib\site-packages\adspygoogle\common\GenericApiService.py", 
 line 103, in __init__
 wsdl_url, noroot=1, http_proxy=self._op_config['http_proxy'])
   File "C:\Python27\lib\site-packages\adspygoogle\SOAPpy\WSDL.py", line 
 67, in __init__
 self.wsdl = reader.loadFromString(str(wsdlsource))
   File 
 "C:\Python27\lib\site-packages\adspygoogle\SOAPpy\wstools\WSDLTools.py", 
 line 47, in loadFromString
 return self.loadFromStream(StringIO(data))
   File 
 "C:\Python27\lib\site-packages\adspygoogle\SOAPpy\wstools\WSDLTools.py", 
 line 28, in loadFromStream
 document = DOM.loadDocument(stream)
   File 
 "C:\Python27\lib\site-packages\adspygoogle\SOAPpy\wstools\Utility.py", 
 line 
 602, in loadDocument
 return xml.dom.minidom.parse(data)
   File "C:\Python27\lib\site-packages\_xmlplus\dom\minidom.py", line 
 1915, in parse
 return expatbuilder.parse(file)
   File "C:\Python27\lib\site-packages\_xmlplus\dom\expatbuilder.py", 
 line 930, in parse
 result = builder.parseFile(file)
   File "C:\Python27\lib\site-packages\_xmlplus\dom\expatbuilder.py", 
 line 207, in parseFile
 parser.Parse(buffer, 0)
 xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1, 
 column 6

>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Googl

Re: Problems retrieving account details for a specific Adwords account with CustomerID 308-863-3431

2013-11-12 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Can you please share the request and response SOAP xml logs to spot the 
issue (please remove the sensitive info before posting)?

Best,
- Takeshi, AdWords API Team

On Wednesday, November 6, 2013 12:12:48 PM UTC+9, Mark Ibanez wrote:
>
> Hi,
>
> We have a .Net application that uses AdWords API. In this application, we 
> retrieve accounts and campaigns in both MCC and regular AdWords accounts. 
> Below is the code we use to do that.
>
> ManagedCustomerService MCServices = 
> (ManagedCustomerService)User.GetService(AdWordsService.v201302.ManagedCustomerService);
> Selector AccountsSelector = new Selector();
> AccountsSelector.fields = new string[] { "CustomerId", "Name" 
> };
> AccountsSelector.paging = new Paging();
> AccountsSelector.paging.startIndex = 0;
> AccountsSelector.paging.numberResults = 500;
> ManagedCustomerPage AccountsPage = 
> MCServices.get(AccountsSelector);
>
> foreach (var Account in AccountsPage.entries)
> {
> string CustomerID = 
> Account.customerId.ToString().Substring(0, 3) + "-" +
> Account.customerId.ToString().Substring(3, 3) + 
> "-" +
> Account.customerId.ToString().Substring(6);
>
> if (AccountsPage.totalNumEntries > 1 && 
> ClientCustomerID == CustomerID)
> continue;
>
> //Process Accounts Here
>
> (User.Config as AdWordsAppConfig).ClientCustomerId = 
> CustomerID;
> // Get the CampaignService.
> CampaignService campaignService =
> 
> (CampaignService)User.GetService(AdWordsService.v201302.CampaignService);
>
> // Create the selector.
> Selector selector = new Selector();
> selector.fields = new string[] { "Id", "Name", 
> "Status" };
>
> // Set the selector paging.
> selector.paging = new Paging();
> int offset = 0;
> int pageSize = 500;
> CampaignPage page = new CampaignPage();
>
> try
> {
> do
> {
> selector.paging.startIndex = offset;
> selector.paging.numberResults = pageSize;
>
> // Get the campaigns.
> page = campaignService.get(selector);
>
> // Display the results.
> if (page != null && page.entries != null)
> {
> int i = offset;
> foreach (Campaign campaign in page.entries)
> {
> //Process Campaigns Here
> }
> }
> offset += pageSize;
> } while (offset < page.totalNumEntries);
> }
> catch (Exception ex) {  }
> }
>
> This works for both MCC and regular AdWords accounts. But we are having 
> trouble with a specific account. The CustomerID for this account is 
> 308-863-3431. The code breaks because AccountsPage.entries being returned 
> is null. We tried to troubleshoot using the code below.
>
> CustomerService CustService = 
> (CustomerService)User.GetService(AdWordsService.v201302.CustomerService);
> var CustPage = CustService.get();
>
> MessageBox.Show(CustPage.descriptiveName, 
> CustPage.customerId.ToString());
>
> What shows up is that the descriptiveName field is blank which could mean 
> it is probably null. This could be the reason why the 
> ManagedCustomerService object is return null entries. Anyway, we really 
> need help to figure out what's going on here. Why does this occur only with 
> this particular account and not with the others both MCC and regular 
> accounts.
>
> Looking forward to your help and thanks in advance.
>
>
> Best regards,
>
>
> Mark Ibanez
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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: getting budgets for specific dates using BudgetOrderService

2013-11-12 Thread Takeshi Hagikura (AdWords API Team)
Hi Carl,

What your request xml looks like?
As in the document, startDateTime should be in the form of "20361231 235959 
America/Los_Angeles"
(I think if you omit the timezone, the account's one is used)
https://developers.google.com/adwords/api/docs/reference/v201309/BudgetOrderService.BudgetOrder

Please check your request XML if the startDateTime (endDateTime) is 
correctly formatted.

Best,
- Takeshi, AdWords API Team

On Thursday, November 7, 2013 3:14:30 PM UTC+9, Carl Robben wrote:
>
> Hi,
>
> I'm using the Python client library v201309 and I'm having trouble getting 
> budgets for specific dates using the BudgetOrderService.  I've tried two 
> different approaches and neither one is returning what I am expecting.
>
> I tried using the dateRange in the selector like this:
>
> selector = {'fields': ['Id', 'StartDateTime', 'EndDateTime'],
>  'dateRange': {'min': start.strftime("%Y%m%d"),
>  'max': end.strftime("%Y%m%d")}}
>
> I get returned every result for the account, it seems to ignore the 
> dateRange completely.
>
> So I tried a different approach and used the predicates in the selector 
> like this:
>
> selector = {'fields': ['Id', 'StartDateTime', 'EndDateTime']}
>  'predicates': [{'field': 'StartDateTime',
> 'operator': 'GREATER_THAN_EQUALS',
> 'values': [start.strftime("%Y%m%d")]},
>{'field': 'EndDateTime',
> 'operator': 'LESS_THAN_EQUALS',
> 'values': [end.strftime("%Y%m%d")]}]}
>
> This seems to work for some accounts, but usually only if start and end 
> are selecting the current month and there is an active budget.   I can't 
> get it to return any budgets in the future.  At the same time I am logged 
> into Adwords and I can see the budgets I'm trying to retrieve using the api.
>
> Also no matter what I specify in 'fields' it will always return me 
> everything.
>
> Any help would be appreciated.
>
> Cheers
>
> Carl
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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: ManagedCustomerServiceError.TEST_ACCOUNT_LINK_ERROR when mutating an ADD operation for new account in MCC

2013-11-12 Thread Takeshi Hagikura (AdWords API Team)
Hi,

Currently you can't link your test account to your production MCC account. 
Please separate the test and production accounts.

Best,
- Takeshi, AdWords API Team

On Wednesday, November 6, 2013 2:16:22 PM UTC+9, Steven Goh wrote:
>
> I have an MCC test and a production account. But I use the same dev API 
> key for both, so I can programmatically test adding of new accounts in my 
> test account.
>
> However, after creation of a few accounts in both the production/test 
> account, I now face this error: TEST_ACCOUNT_LINK_ERROR
>
> In the 
> docs,
>  
> it says this means: "Error involving test accounts (mixed types) or too 
> many child accounts."
>
> What does that even mean?
>
> Below shows the incoming SOAP response.
>
> 
>> http://schemas.xmlsoap.org/soap/envelope/";>
>>  
>>   https://adwords.google.com/api/adwords/mcm/v201309"; xmlns:ns2="
>> https://adwords.google.com/api/adwords/cm/v201309";>
>>0004ea7b1ec720300aa4e6037a10
>>ManagedCustomerService
>>mutate
>>1
>>327
>>   
>>  
>>  
>>   
>>soap:Server
>>[ManagedCustomerServiceError.TEST_ACCOUNT_LINK_ERROR @ 
>> operations[0]; trigger:'TEST_ACCOUNT_LINK_ERROR']
>>
>> https://adwords.google.com/api/adwords/mcm/v201309"; xmlns:ns2="
>> https://adwords.google.com/api/adwords/cm/v201309";>
>>  [ManagedCustomerServiceError.TEST_ACCOUNT_LINK_ERROR @ 
>> operations[0]; trigger:'TEST_ACCOUNT_LINK_ERROR']
>> 
>>  ApiException
>>  http://www.w3.org/2001/XMLSchema-instance"; 
>> xsi:type="ManagedCustomerServiceError">
>>   operations[0]
>>   TEST_ACCOUNT_LINK_ERROR
>>   
>> ManagedCustomerServiceError.TEST_ACCOUNT_LINK_ERROR
>>   ManagedCustomerServiceError
>>   TEST_ACCOUNT_LINK_ERROR
>>  
>> 
>>
>>   
>>  
>> 
>
>
> How can I fix this? What is the maximum accounts I can create 
> programmatically with the API in the MCC?
>
> Thanks!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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: Setting the Target CPA value with v201306

2013-11-12 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Please refer to ConversionOptimizerBiddingScheme.
https://developers.google.com/adwords/api/docs/reference/v201309/CampaignService.ConversionOptimizerBiddingScheme

Does this answer to your question?

Best,
- Takeshi, AdWords API Team

On Thursday, November 7, 2013 1:30:00 AM UTC+9, Marc wrote:
>
>
> How do I set the values for the Target CPA?
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: OAuth2 - Unable to retrieve Refresh Token via AdWords API (v201309) and receiving AdWordsCredentialsExpiredException when attempting to retrieve campaigns (CampaignService)

2013-11-12 Thread Takeshi Hagikura (AdWords API Team)
Hi,

When you paste the URL provided by the library, what the access_type looks 
like?
If you set the IsOffline property correctly, the URL should be like the 
form of this as in this 
page
:

https://accounts.google.com/o/oauth2/auth?
client_id=*your-client-id*&\
response_type=code&\
scope=https%3A%2F%2Fadwords.google.com%2Fapi%2Fadwords%2F&\
redirect_uri=urn:ietf:wg:oauth:2.0:oob&\
access_type=offline&\
approval_prompt=auto

Best,
- Takeshi, AdWords API Team


On Thursday, November 7, 2013 5:44:06 AM UTC+9, yet wrote:
>
> I can retrieve the Refresh Token via the *OAuthProvider *from previous 
> versions (calling *FetchAccessAndRefreshTokens*), but I cannot retrieve 
> it using the newest version's (v201309) *OAuth2ProviderForApplications*. 
>  I set the OAuth object's *IsOffLine *property to true as specified in 
> previous versions to be able to obtain the Refresh Token on the initial 
> Fetch call. Note that the OAuth authentication is set up exactly like the 
> Adwords example project *AdWords.Examples.CSharp.OAuth*.
>
> Additionally, I am receiving the following error when attempting to 
> retrieve campaigns (CampaignService): 
> *Exception of type 
> 'Google.Api.Ads.AdWords.Lib.AdWordsCredentialsExpiredException' was thrown. 
>  *
> Can someone explain this exception specifically?  I've performed several 
> searches and have come up empty.  Note that this call is set up exactly 
> like the example within *Google.Api.Ads.AdWords.Examples.CSharp.OAuth*.
>
> Many thanks for any assistance to the aforementioned issues!
> -Yet
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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: using the media service to avoid upload image for every image ad

2013-11-12 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

This thread seems to be outdated. 
Can you please start the new thread?

Please separate your code into two parts, uploading an image and making a 
image ad. 
Please narrow down the issue by following the image uploading 
examplefirst

Best,
- Takeshi, AdWords API Team

On Friday, November 8, 2013 9:33:00 PM UTC+9, sand...@gmail.com wrote:
>
> Hi,
>
> I am struggling with this error... Please help out ..  I have created 
> below custom function to push image ads ... but getting error : 
>  [NullError.NULL_CONTENT @ 
> operations[0].operand.ad.image.data]
>
>
> function AddImageAdsExample(AdWordsUser $user, $adGroupId) {
>
>   $mediaService = $user->GetService('MediaService', ADWORDS_VERSION);
>   $adGroupAdService = $user->GetService('AdGroupAdService', 
> ADWORDS_VERSION);
>
>   $numAds = 1;
>   $operations = array();
>   for ($i = 0; $i < $numAds; $i++) {
>   $image = new Image();
>   $image->data = MediaUtils::GetBase64Data('http://goo.gl/HJM3L');
>   $image->type = 'IMAGE';
>
>   
>   // Make the upload request.
>   $result = $mediaService->upload(array($image));
>
>   // Display result.
>   $image = $result[0];
>   $dimensions = MapUtils::GetMap($image->dimensions);
>
>   $ImageAd = new ImageAd();
>   $ImageAd->displayUrl = "http://www.google.com";;
>   $ImageAd->url = "http://www.yahoo.com";;
>   //$ImageAd->devicePreference = "On";
>   $ImageAd->name = "testimage";
>   $ImageAd->image = $image ; 
>
> // Create ad group ad.
> $adGroupAd = new AdGroupAd();
> $adGroupAd->adGroupId = $adGroupId;
> $adGroupAd->ad = $ImageAd;
>
> // Set additional settings (optional).
> $adGroupAd->status = 'PAUSED';
>
> // Create operation.
> $operation = new AdGroupAdOperation();
> $operation->operand = $adGroupAd;
> $operation->operator = 'ADD';
> $operations[] = $operation;
> printf("Image with dimensions '%dx%d', MIME type '%s', and id '%s' was "
>   . "uploaded.\n", $dimensions['FULL']->width,
>   $dimensions['FULL']->height, $image->mimeType, $image->mediaId);
>
>   }
>
>   // Make the mutate request.
>   $result = $adGroupAdService->mutate($operations);
> foreach ($result->value as $adGroupAd) {
> printf("Banner ad with text '%s' and ID '%s' was added.\n",
> $adGroupAd->ad->name, $adGroupAd->ad->id);
>   }
> }
>
> Please help me out .. what I am missing in it !!! 
>
> On Tuesday, May 1, 2012 11:57:23 PM UTC+5:30, Kevin Winter wrote:
>>
>> Hi,
>>   Sorry about that, I was mistaken.  The MediaService will only return 
>> back entries for items uploaded via itself, which can be used in 
>> TemplateAds.
>>
>> When an image gets uploaded via a AdGroupAd operation, it is not visible 
>> via the MediaService.
>>
>> The converse is that you must upload an image via the AdGroupAdService 
>> (you must provide Name, Dimensions and ImageData).  You can use 
>> the adToCopyImageFrom field to copy an image from an existing field - but 
>> you cannot specify a mediaId as I incorrectly stated previously.  I 
>> apologize for the confusion.
>>
>> - Kevin Winter, AdWords API Team
>>
>> On Tuesday, May 1, 2012 7:04:38 AM UTC-4, u...@taykey.com wrote:
>>>
>>> Hi Kevin,
>>>
>>> I tried to do it according to that way, however:
>>>
>>> i got an error: NullError.NULL_CONTENT @ 
>>> operations[0].operand.ad.image.data
>>>
>>> this error got when trying to add the AdGroupAd
>>>
>>> p.s - im using the sandbox with the java client
>>>
>>>
>>>
>>> On Monday, April 30, 2012 10:41:32 PM UTC+3, Kevin Winter wrote:

 Hi,
   Yes, this is the correct way to do it.

 - Kevin Winter
 AdWords API Team

 On Monday, April 30, 2012 11:03:21 AM UTC-4, u...@taykey.com wrote:
>
> ok, so to make sure i underestand
>
> upload an image using the media service - got an media id of this 
> image.
>
> then when creating a new adGroupAd, set the adGroupAd -> imageAd -> 
> image -> mediaId with the received media id of the uploaded image
>
> got it ?
>
> 10x again :)
>
>
>
> On Monday, April 30, 2012 5:53:36 PM UTC+3, Kevin Winter wrote:
>>
>> Hi,
>>   When you send the ImageAd object to the AdWords API, you can 
>> populate the image field (
>> https://developers.google.com/adwords/api/docs/reference/latest/AdGroupAdService.Image)
>>  
>> and just specify the mediaId as returned by the MediaService.  Most 
>> of the rest of the fields are readonly, and the name and imageData 
>> fields 
>> should only be sent to the MediaService, not with AdGroupAdService 
>> requests.
>>
>> - Kevin Winter
>> AdWords API Team
>>
>> On Monday, April 30, 2012 10:34:49 AM UTC-4, u...@taykey.com wrote:
>>>
>>> Hi Kevin,
>>>
>>> thank you very much for your replay
>>> i know aobut the adToCopyImageFrom field.
>>> i wanted to kno

Re: API error - RateExceededError.RATE_EXCEEDED

2013-11-12 Thread Takeshi Hagikura (AdWords API Team)
Hi assaf,

RateExceededError is not relevant to how many operations you have made in a 
day. 
It occurs when you have made large number of requests in a specific time 
period.  
Please refer to the blog post for more details.
http://adwordsapi.blogspot.com/2010/06/better-know-error-rateexceedederror.html

a. The only possible way is store the operation counts in your side
b. Please apply for the Standard access. 

Best,
- Takeshi, AdWords API Team

On Sunday, November 10, 2013 4:02:18 PM UTC+9, assaf wrote:
>
> Hi,
>
> This morning I see my API tool was returning the error bellow -
>
> This was only after using the tool for 1 day.
> I understand that there is a 1 operations limit per day. I really 
> don't think this is my case.
>
> a. How can I know how many operations were performed yesterday from my 
> developer key?
> b. How can I increase this?
>
> Thanks.
>
> The error:
>
> {https://adwords.google.com/api/adwords/cm/v201302}ApiExceptionFault:[RateExceededError
>  
>  retryAfterSeconds=86400>]ApiException  
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="RateExceededError">RateExceededError.RATE_EXCEEDEDRateExceededErrorRATE_EXCEEDEDBillingPerDayDEVELOPER86400
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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: API connection issue

2013-11-12 Thread Takeshi Hagikura (AdWords API Team)
Hi Ramakrishna,

Do you have the exact same request XML you are sending without the client 
library?
If possible, please include the HTTP level info such as HTTP headers and 
destination host name.

(before posting, please remove the sensitive info such as your developer 
token and credential info)

Best,
- Takeshi, AdWords API Team

On Saturday, November 9, 2013 5:05:45 AM UTC+9, Ramakrishna BS wrote:
>
> We are facing some issues while connecting AdWords account using C#.net 
> code. We are approaching option 1 (Make a raw API call, from the 
> *https://code.google.com/p/google-api-adwords-dotnet/wiki/NoClientLibrary*)
>  
> for this. It is giving remote server retuned an error: (500) Internal 
> server error.  This is what we are doing,  We have Approved Developer 
> Token key with our account. So we hope, by this we can able to connect the 
> AdWords account, but while we are trying to get “authToken” using 
> “GetOAuth2AccessToken()” function, the system throwing above error. We did 
> not write any extra code for that function as we already have Developer 
> Token with us, we simply assigned that token as string to “authToken” and 
> using that variable in code. 
> Does we miss anything here? Kindly help us in resolving this issue.
>  
> thanks,
> Ramakrishna BS
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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: Interrogating SOAP Headers for API Usage?

2013-11-12 Thread Takeshi Hagikura (AdWords API Team)
Hi Chris, 

The new Java library's serviceInterface is not a subclass of Stub. 
Does your registerResponseHandler extract the SOAP response header for 
tracking the API usage? 

Best,
- Takeshi, AdWords API Team

On Monday, November 11, 2013 9:50:20 PM UTC+9, cbmam...@gmail.com wrote:
>
> I replied to the email that was sent but it doesn't look like it made it 
> to the forum:
>
> Takeshi,
>
>   With the new library I am pretty much following what the examples 
> have:
>
> AdWordsSession session = getAdWordsSession(authProperties);
>
> AdWordsServices adWordsServices = new AdWordsServices();
>
> Object serviceInterfaceObj =
>
> adWordsServices.get(session, argService);
>
> LOG.debug("service interface obj " + 
> serviceInterfaceObj.getClass().getName());
>
>
> The object returned (serviceInterfaceObj) is a proxy object that can be 
> cast to Remote but it appears only Remote.  A ClassCastException is 
> generated if one attempts to cast this object to 
> org.apache.axis.client.Stub as our code had previously done.  The proxy 
> object does contain objects that can probably be used to accomplish what we 
> did with the old library but I am assuming these are not meant to be public.
>
>
> In the old library:
>
>
> AdWordsUser adWordsUser = new AdWordsUser(authProperties);
>
> serviceInterface = adWordsUser.getService(argService);
>
> 
> registerResponseHandler((org.apache.axis.client.Stub)serviceInterface);
>
>
> The object returned (serviceInterface) can be cast to a Stub and the an 
> axis response handler can be registered.  The method 
> registerResponseHandler is mine and not part of the library.
>
>
> Thanks,
>
> Chris Marshall
>
> On Wednesday, November 6, 2013 10:30:03 PM UTC-5, Takeshi Hagikura 
> (AdWords API Team) wrote:
>>
>> Hi Chris, 
>>
>> To find if there is anything we can do, can you please let me know what 
>> class and method are you trying to do the same thing in the new Java 
>> library? 
>> Also please let me know more details what you did with the old Java 
>> library. 
>>
>> Best,
>> - Takeshi, AdWords API Team
>>
>> On Sunday, November 3, 2013 2:06:18 AM UTC+9, cbmam...@gmail.com wrote:
>>>
>>> We are in the middle of getting our code working with the new Java 
>>> client library and with the previous version we had registered an axis 
>>> response handler to retrieve the API usage statistics.  The new version of 
>>> the library (AdWordServices get) produces a proxy object that appears to 
>>> have the right contents to do this but the fact it is in a proxy object it 
>>> doesn't look like this is intended to be a public part of the library's 
>>> API.  What is the correct way of doing this?
>>>
>>> thanks,
>>> Chris Marshall
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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: Test Account on Google Adword

2013-11-12 Thread Danial Klimkin
Hello Naman,


I will lock this thread to avoid duplication and will respond on the 
original one.


-Danial.


On Monday, November 11, 2013 9:33:56 PM UTC+4, naman jindal wrote:
>
>
> Hi Danial,
>
> I am also facing the same issue. I am not able to bypass the invalid_grant 
> exception for a few days now.
>
> Can you please help us. Here i my post for any details:
> https://groups.google.com/forum/#!topic/adwords-api/WXXZDQJYYqI
>
> Thanks!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Invalid Grant - Need Help OAuth2 - Urgent Pelase!

2013-11-12 Thread Danial Klimkin
Hello Naman,


I suggest clearing the config and trying to do the OAuth flow again.

Before starting please make sure to log off from any google account in your 
browser and clear cookies. When following the auth URL you will be 
presented with the login screen. Make sure to log in with you *AdWords API 
account details.*


-Danial, AdWords API Team.


On Sunday, November 10, 2013 6:35:31 PM UTC+4, naman jindal wrote:
>
>
> Hi Anash,
>
> Did you get my message?
> I am waiting for your inputs/suggestions.
>
> Thanks!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


How to specify which account to interact with?

2013-11-12 Thread Michael Lai
Hi,

I just got started on the API and think I successfully went through the 
Auth2.0 setup process. However, when I run GetCampaigns.php, it is still 
returning no campaigns, so I suspect that I am doing something wrong or 
interacting with the wrong account.

Basically, what I did was register a Native Application while logged in 
with the id used for my MCC account. I then used the Client ID and Client 
Secret to generate the refresh token and updated all that information in 
the auth.ini file. I have a few questions:

1) How can I confirm that I am interacting with the correct account? I want 
to see if that is the reason why I am not getting any campaigns.
2) How can I interact with the test account? I have read that all the 
authentication information should stay the same, so what changes?
3) When do I need to specify Client Customer ID?

Thanks in advance!
Michael

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


GetCampaigns not returning any campaigns

2013-11-12 Thread Michael Lai
Hi,

I'm just getting started with the API and believe I was able to set up the 
Auth2.0 properly. What I've done is register a Native Application using the 
account that my MCC is registered under. (I am assuming this is how the API 
knows which account I want to interact with?)

However, when I run GetCampaigns.php, no results are returned. What am I 
missing? Do I need to further specify the clientCustomerId, or is setting 
the client_id and client_secret sufficient?

Thanks!
Michael

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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: Report for Ads on Youtube?

2013-11-12 Thread Danial Klimkin
Hello Stephane,


AdWords for Video campaigns are currently not available in the API. We have 
no time estimation currently.


-Danial, AdWords API Team.


On Monday, November 11, 2013 11:21:34 PM UTC+4, Stephane wrote:
>
> Hi,
>
> I can't seem to find how to get statistics for the Ads displayed in 
> Youtube videos? 
>
> https://developers.google.com/adwords/api/docs/appendix/reports 
>
> Am I missing something? If not, is this in the pipeline?
>
> Thanks,
>
> Stéphane
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


adUnionId error

2013-11-12 Thread pete
Hello

I'm getting an error when creating a TemplateAd
AdError: the violating text is "", located in the adUnionId field; the 
Policy violated is called ""

The process flow is to create an Ad by using the API to "get" an Ad, make a 
copy in memory, change the url field, set the id field to null then attempt 
to create a new ad from this copy.

Which throws the error above.

The adUnionId field is populated (from the "get") and I don't attempt to 
make any changes to it.

Can you throw some light on what I'm doing wrong. Thanks

pete

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


Ad extension report not getting output

2013-11-12 Thread Chirag
Hello,

Ad Extensions Performance Report and campaign Adextensions report not 
giving any ad extensions.

But in account it shows location and sitelink extensions.

Any other way to get AdExtensions?

Thanks,
Chirag

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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: Interrogating SOAP Headers for API Usage?

2013-11-12 Thread cbmamherst
Takeshi,
 Tracking API usage is exactly what we were doing with it.

regards,
Chris Marshall

On Tuesday, November 12, 2013 5:43:32 AM UTC-5, Takeshi Hagikura (AdWords 
API Team) wrote:
>
> Hi Chris, 
>
> The new Java library's serviceInterface is not a subclass of Stub. 
> Does your registerResponseHandler extract the SOAP response header for 
> tracking the API usage? 
>
> Best,
> - Takeshi, AdWords API Team
>
> On Monday, November 11, 2013 9:50:20 PM UTC+9, cbmam...@gmail.com wrote:
>>
>> I replied to the email that was sent but it doesn't look like it made it 
>> to the forum:
>>
>> Takeshi,
>>
>>   With the new library I am pretty much following what the examples 
>> have:
>>
>> AdWordsSession session = 
>> getAdWordsSession(authProperties);
>>
>> AdWordsServices adWordsServices = new AdWordsServices();
>>
>> Object serviceInterfaceObj =
>>
>> adWordsServices.get(session, argService);
>>
>> LOG.debug("service interface obj " + 
>> serviceInterfaceObj.getClass().getName());
>>
>>
>> The object returned (serviceInterfaceObj) is a proxy object that can be 
>> cast to Remote but it appears only Remote.  A ClassCastException is 
>> generated if one attempts to cast this object to 
>> org.apache.axis.client.Stub as our code had previously done.  The proxy 
>> object does contain objects that can probably be used to accomplish what we 
>> did with the old library but I am assuming these are not meant to be public.
>>
>>
>> In the old library:
>>
>>
>> AdWordsUser adWordsUser = newAdWordsUser(authProperties);
>>
>> serviceInterface = adWordsUser.getService(argService);
>>
>> 
>> registerResponseHandler((org.apache.axis.client.Stub)serviceInterface);
>>
>>
>> The object returned (serviceInterface) can be cast to a Stub and the an 
>> axis response handler can be registered.  The method 
>> registerResponseHandler is mine and not part of the library.
>>
>>
>> Thanks,
>>
>> Chris Marshall
>>
>> On Wednesday, November 6, 2013 10:30:03 PM UTC-5, Takeshi Hagikura 
>> (AdWords API Team) wrote:
>>>
>>> Hi Chris, 
>>>
>>> To find if there is anything we can do, can you please let me know what 
>>> class and method are you trying to do the same thing in the new Java 
>>> library? 
>>> Also please let me know more details what you did with the old Java 
>>> library. 
>>>
>>> Best,
>>> - Takeshi, AdWords API Team
>>>
>>> On Sunday, November 3, 2013 2:06:18 AM UTC+9, cbmam...@gmail.com wrote:

 We are in the middle of getting our code working with the new Java 
 client library and with the previous version we had registered an axis 
 response handler to retrieve the API usage statistics.  The new version of 
 the library (AdWordServices get) produces a proxy object that appears to 
 have the right contents to do this but the fact it is in a proxy object it 
 doesn't look like this is intended to be a public part of the library's 
 API.  What is the correct way of doing this?

 thanks,
 Chris Marshall

>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


TemplateAd fields

2013-11-12 Thread kostfast

TemplateAd fields

I have a TemplateAd with Image, I want copy this ad to change uri

get ad by php lib using AdGroupAdService, and have a result AdGroupAd 
object like this:

object(AdGroupAd)#20 (8) {
  ["adGroupId"]=>
  string(10) "8765847077"
  ["ad"]=>
  object(TemplateAd)#18 (13) {
["templateId"]=>
string(3) "364"
["adUnionId"]=>
NULL
["templateElements"]=>
array(1) {
  [0]=>
  object(TemplateElement)#17 (2) {
["uniqueName"]=>
string(6) "adData"
["fields"]=>
NULL
  }
}
["dimensions"]=>
object(Dimensions)#16 (2) {
  ["width"]=>
  int(160)
  ["height"]=>
  int(600)
}
["name"]=>
string(7) "160*600"
["duration"]=>
NULL
["originAdId"]=>
NULL
["id"]=>
string(11) "27803504957"
["url"]=>
string(23) "http://bank-credits.net";
["displayUrl"]=>
string(16) "bank-credits.net"
["devicePreference"]=>
NULL
["AdType"]=>
string(10) "TemplateAd"
["_parameterMap":"Ad":private]=>
array(1) {
  ["Ad.Type"]=>
  string(6) "AdType"
}
  }
  ["experimentData"]=>
  NULL
  ["status"]=>
  string(7) "ENABLED"
  ["approvalStatus"]=>
  string(11) "FAMILY_SAFE"
  ["disapprovalReasons"]=>
  NULL
  ["trademarkDisapproved"]=>
  bool(false)
  ["forwardCompatibilityMap"]=>
  NULL
}

but there is no templateElements with image data, how can I get all 
templateElements or Image ?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: AdWords API/OAuth2 Problem

2013-11-12 Thread naman jindal
Hi Takeshi,

I am still facing the issue. Please help me out. Here is what I have done 
so far.

I am using Java client Library.
I am trying to build a Jsp Servlet application that would allow me to 
perform certain operations in a user friendly way. I am not sure how this 
is done but I am trying hard and taking help from forums/documentation to 
get this done. Currently I am stuck at the fist step of OAuth2 
authorization.

Here's a brief of what I have done till now :

1. I downloaded the example provided by the API team with the 
documentation, and transformed it into a Maven Web App.
2. Now I am trying to play around with ads.properties file to fill in all 
the details necessary for connection to the API.
 2a) For client Id I went to the link : 
https://code.google.com/apis/console#access -> API Access -> Create Client 
ID 
 2b) I specified the redirect url as -: 
https://localhost/oauth2callback

3. From there I got my client Id and client secret. Using this I generated 
a refresh token, and then I added the developer token,clientcustomerId that 
I had to the properties file and tried to run GetCampaigns program where in 
I got the error - > Invalid Grant

I have shared some more confidential details with you in a private message. 
Can you please suggest if I am following the right process or not?

Thanks for your time!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: AdWords API/OAuth2 Problem

2013-11-12 Thread John Slegers
I'm also still having the same problem.

I don't think it's anything we're doing wrong. I seems like a bug or a 
problem with our accounts on Google's end.




Op dinsdag 12 november 2013 15:06:58 UTC+1 schreef naman jindal:
>
> Hi Takeshi,
>
> I am still facing the issue. Please help me out. Here is what I have done 
> so far.
>
> I am using Java client Library.
> I am trying to build a Jsp Servlet application that would allow me to 
> perform certain operations in a user friendly way. I am not sure how this 
> is done but I am trying hard and taking help from forums/documentation to 
> get this done. Currently I am stuck at the fist step of OAuth2 
> authorization.
>
> Here's a brief of what I have done till now :
>
> 1. I downloaded the example provided by the API team with the 
> documentation, and transformed it into a Maven Web App.
> 2. Now I am trying to play around with ads.properties file to fill in all 
> the details necessary for connection to the API.
>  2a) For client Id I went to the link : 
> https://code.google.com/apis/console#access -> API Access -> Create 
> Client ID 
>  2b) I specified the redirect url as -: 
> https://localhost/oauth2callback
>
> 3. From there I got my client Id and client secret. Using this I generated 
> a refresh token, and then I added the developer token,clientcustomerId that 
> I had to the properties file and tried to run GetCampaigns program where in 
> I got the error - > Invalid Grant
>
> I have shared some more confidential details with you in a private 
> message. 
> Can you please suggest if I am following the right process or not?
>
> Thanks for your time!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Invalid Grant - Need Help OAuth2 - Urgent Pelase!

2013-11-12 Thread John Slegers
I tried that... over and over and over...

The last time, I made sure to clear the browser's entire history. That way, 
I was sure I wasn't logged in into any system that uses Google credentials. 
Yes, I still see no improvement.

I don't think it's anything we're doing wrong. I seems like a bug or a 
problem with our accounts on Google's end.





Op dinsdag 12 november 2013 13:15:18 UTC+1 schreef Danial Klimkin:
>
> Hello Naman,
>
>
> I suggest clearing the config and trying to do the OAuth flow again.
>
> Before starting please make sure to log off from any google account in 
> your browser and clear cookies. When following the auth URL you will be 
> presented with the login screen. Make sure to log in with you *AdWords 
> API account details.*
>
>
> -Danial, AdWords API Team.
>
>
> On Sunday, November 10, 2013 6:35:31 PM UTC+4, naman jindal wrote:
>>
>>
>> Hi Anash,
>>
>> Did you get my message?
>> I am waiting for your inputs/suggestions.
>>
>> Thanks!
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Invalid Grant - Need Help OAuth2 - Urgent Pelase!

2013-11-12 Thread John Slegers
I tried that over and over and over. The last time, I even made sure to 
clear the browser's entire history.

I don't think it's anything we're doing wrong. I seems like a bug or a 
problem with our accounts on Google's end.





Op dinsdag 12 november 2013 13:15:18 UTC+1 schreef Danial Klimkin:
>
> Hello Naman,
>
>
> I suggest clearing the config and trying to do the OAuth flow again.
>
> Before starting please make sure to log off from any google account in 
> your browser and clear cookies. When following the auth URL you will be 
> presented with the login screen. Make sure to log in with you *AdWords 
> API account details.*
>
>
> -Danial, AdWords API Team.
>
>
> On Sunday, November 10, 2013 6:35:31 PM UTC+4, naman jindal wrote:
>>
>>
>> Hi Anash,
>>
>> Did you get my message?
>> I am waiting for your inputs/suggestions.
>>
>> Thanks!
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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: Interrogating SOAP Headers for API Usage?

2013-11-12 Thread Takeshi Hagikura (AdWords API Team)
Hi Chris,

That feature is tracked with this 
issue, 
that isn't available yet. 
For the time being, please enable the SOAP logging if you'd like to track 
the API usage.

Best,
- Takeshi, AdWords API Team

On Tuesday, November 12, 2013 9:44:32 PM UTC+9, cbmam...@gmail.com wrote:
>
> Takeshi,
>  Tracking API usage is exactly what we were doing with it.
>
> regards,
> Chris Marshall
>
> On Tuesday, November 12, 2013 5:43:32 AM UTC-5, Takeshi Hagikura (AdWords 
> API Team) wrote:
>>
>> Hi Chris, 
>>
>> The new Java library's serviceInterface is not a subclass of Stub. 
>> Does your registerResponseHandler extract the SOAP response header for 
>> tracking the API usage? 
>>
>> Best,
>> - Takeshi, AdWords API Team
>>
>> On Monday, November 11, 2013 9:50:20 PM UTC+9, cbmam...@gmail.com wrote:
>>>
>>> I replied to the email that was sent but it doesn't look like it made it 
>>> to the forum:
>>>
>>> Takeshi,
>>>
>>>   With the new library I am pretty much following what the examples 
>>> have:
>>>
>>> AdWordsSession session = 
>>> getAdWordsSession(authProperties);
>>>
>>> AdWordsServices adWordsServices = new AdWordsServices();
>>>
>>> Object serviceInterfaceObj =
>>>
>>> adWordsServices.get(session, argService);
>>>
>>> LOG.debug("service interface obj " + 
>>> serviceInterfaceObj.getClass().getName());
>>>
>>>
>>> The object returned (serviceInterfaceObj) is a proxy object that can be 
>>> cast to Remote but it appears only Remote.  A ClassCastException is 
>>> generated if one attempts to cast this object to 
>>> org.apache.axis.client.Stub as our code had previously done.  The proxy 
>>> object does contain objects that can probably be used to accomplish what we 
>>> did with the old library but I am assuming these are not meant to be public.
>>>
>>>
>>> In the old library:
>>>
>>>
>>> AdWordsUser adWordsUser = newAdWordsUser(authProperties);
>>>
>>> serviceInterface = adWordsUser.getService(argService);
>>>
>>> 
>>> registerResponseHandler((org.apache.axis.client.Stub)serviceInterface);
>>>
>>>
>>> The object returned (serviceInterface) can be cast to a Stub and the an 
>>> axis response handler can be registered.  The method 
>>> registerResponseHandler is mine and not part of the library.
>>>
>>>
>>> Thanks,
>>>
>>> Chris Marshall
>>>
>>> On Wednesday, November 6, 2013 10:30:03 PM UTC-5, Takeshi Hagikura 
>>> (AdWords API Team) wrote:

 Hi Chris, 

 To find if there is anything we can do, can you please let me know what 
 class and method are you trying to do the same thing in the new Java 
 library? 
 Also please let me know more details what you did with the old Java 
 library. 

 Best,
 - Takeshi, AdWords API Team

 On Sunday, November 3, 2013 2:06:18 AM UTC+9, cbmam...@gmail.com wrote:
>
> We are in the middle of getting our code working with the new Java 
> client library and with the previous version we had registered an axis 
> response handler to retrieve the API usage statistics.  The new version 
> of 
> the library (AdWordServices get) produces a proxy object that appears to 
> have the right contents to do this but the fact it is in a proxy object 
> it 
> doesn't look like this is intended to be a public part of the library's 
> API.  What is the correct way of doing this?
>
> thanks,
> Chris Marshall
>


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: AdWords API/OAuth2 Problem

2013-11-12 Thread naman jindal
Hey,

I found the problem. I was making a very lame mistake. 

I was copying the code received from the url into my ads properties file 
considering it as a refresh token, but I now realised that I had to input 
the same into the GetRefreshToken Console and then I recieved the refresh 
token.

@John : Please check if you are also making the same mistake.

@Takeshi : I now have another problem to deal with. Can you please help me 
out :

"QuotaCheckError.INCOMPLETE_SIGNUP"

Thanks and Regards,
Naman Jindal

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: AdWords API/OAuth2 Problem

2013-11-12 Thread John Slegers
The GetRefreshToken Console?

This is what I'm doing :

* Run file GetRefreshToken.php
* This gives me an error with a link
* I copy-paste the link in my browser
* I log in to the browser as instructed
* I copy the code I receive
* I put it in the auth.ini file of my PHP app

I think I'm making the same mistake you're making, but I'm not clear on how 
to solve it. I don't know any other place to put the code I'm receiving. I 
don't know of any GetRefreshToken Console.




Op dinsdag 12 november 2013 17:49:15 UTC+1 schreef naman jindal:
>
> Hey,
>
> I found the problem. I was making a very lame mistake. 
>
> I was copying the code received from the url into my ads properties file 
> considering it as a refresh token, but I now realised that I had to input 
> the same into the GetRefreshToken Console and then I recieved the refresh 
> token.
>
> @John : Please check if you are also making the same mistake.
>
> @Takeshi : I now have another problem to deal with. Can you please help me 
> out :
>
> "QuotaCheckError.INCOMPLETE_SIGNUP"
>
> Thanks and Regards,
> Naman Jindal
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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: Access Level for API

2013-11-12 Thread Jonathan Wu
Takeshi, 

That is very weird. Through my own testing, I achieved read-only access. I 
basically linked my email account to my companies Adwords account and tried 
some api operations. 

With my account set to Standard access, I was able to use the API to pull 
ads from a test campaign and then pause some to of the ads. 

When I set my account to read-only access, I could still use the API to get 
the ads from the test campaign, but when I tried to use the api to pause 
the ads, I would get a "forbidden" error code. The change in user access 
took a few minutes to propagate, but once it changed, I could consistently 
perform get operations but not mutate operations. 

Wondering if someone over there changed something in the infrastructure 
without updating the API team?

-Jonathan


On Monday, November 11, 2013 9:09:55 PM UTC-8, Takeshi Hagikura (AdWords 
API Team) wrote:
>
> Hi Jonathan,
>
> Apologies for the delayed response. It was buried. 
> What Kevin said in that thread is still true. 
> https://groups.google.com/forum/#!msg/adwords-api/B0VVHqNOLYs/C0sTKzJF2uYJ
>
> We don't have read-only API access level yet. 
> You can emulate it by using a read-only AdWords account. 
>
> Best,
> - Takeshi, AdWords API Team
>
> On Monday, October 21, 2013 6:45:22 AM UTC+9, Jonathan Wu wrote:
>>
>> This is the access level I am talking about: 
>> https://support.google.com/adwords/answer/1704346?hl=en
>>
>> The access level's on that page used to include something called UI and 
>> API access. That is no longer listed. After testing, we now have API access 
>> for a client that set our user access to READ-ONLY. This didn't work 
>> before. We just need a clear statement that API access is now directly tied 
>> to user access level and, if possible, documentation about it. This is so 
>> that, going forward, we can tell clients the minimum user access we need to 
>> service them.
>>
>> Thanks,
>> Jon
>>
>> On Thursday, October 17, 2013 8:43:42 AM UTC-7, Jonathan Wu wrote:
>>>
>>> This is not the access I was asking about. I'm talking about user Access 
>>> level. Before, our MCC account had a user Access Level on our client 
>>> accounts that was called UI and API access. Now that access level no longer 
>>> exists. When we work with new clients, we have to advise them what user 
>>> access level they need to provide us in order for us to service them. What 
>>> minimum user access level should our MCC account have on our client's 
>>> account in order to have API access?
>>>
>>>
>>> Regards,
>>> Jonathan Wu
>>>
>>>
>>> On Wed, Oct 16, 2013 at 10:31 PM, Takeshi Hagikura (AdWords API Team) <
>>> adwordsapiad...@google.com> wrote:
>>>
 Hi,

 We haven't changed the names for access levels. 
 There's been Basic and Standard access levels since it was introduced. (
 http://googleadsdeveloper.blogspot.jp/2013/01/new-simplified-adwords-api-pricing.html
 )

 Currently minimum is Basic access, with that access you can make 10,000 
 operations per day. 
 With Standard access, how many operations you can make a day is not 
 restricted. 

 I'm not sure what MCC access means here.

 Best,
 - Takeshi, 

 On Wednesday, October 16, 2013 5:41:52 AM UTC+9, Jonathan Wu wrote:
>
> We see that the Access Level names have changed and there is now no 
> mention of API access in any of the descriptions. What is the minimum 
> Access level we would need to have API access? Is Standard enough? or do 
> we 
> need MCC access?
>
  -- 
 -- 
 =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 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 adwor...@googlegroups.com
 To unsubscribe from this group, send email to
 adwords-api...@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 a topic in the 
 Google Groups "AdWords API Forum" group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/adwords-api/Mi6mg1g0mUU/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to 
 adwords-api...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.

>>>
>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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 g

Check remaining balance for an MCC account with enabled credit line

2013-11-12 Thread Артокс Медиа





Hello, is there a way to get remaining budget or budget percent spent for 
different clients at MCC account with enabled credit line? We have hundreds 
of clients and we would like to send alert emails to our account managers 
about low clients balance. Unfortunatly we could not find a way to do so 
using AdWords API.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.


How to allow MCC accounts to access their adwords account data via our Adwords API [PHP]

2013-11-12 Thread Christian Gibbs
We have an adwords API key and I want our system to allow other clients to 
access their MCC account data using our platform.

I would do this in any method possible, OAuth, adwords client library, 
google apps.

I know this is possible because I have seen other software that does this.

If anyone knows how to achieve this via PHP, that would be great.

Basically, someone would login to their MCC via our platform, and access 
their adwords data.

Thank you anyone, in advance. I appreciate your time and effort.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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 keyword match Type in v201306 using targeting idea service

2013-11-12 Thread Ismail Ansari
Hi Danial,

i'm using RelatedToQuerySearchParameter but still same issue it would be 
favour if you share same piece of code.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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: Generating Refresh Token Automatically (Windows Service Application)

2013-11-12 Thread Anash P. Oommen (AdWords API Team)
Hi Bikram,

There are couple of ways by which you can do this depending on how your 
business works. IMO the 4th option is probably what you need.

1. If you are managing the entire client account on your own without 
involving the end user in any manner at any stage, then it might as well 
make sense to create a brand new AdWords account for them and manage their 
ads in that account. You could create it using ManagedCustomerService under 
your MCC account. That way, you would need only the credentials of your MCC 
account. You could generate a refresh token for your MCC account and put 
that in a configuration file.

2. See if it is a possibility to link the accounts under your MCC. If this 
can be done, then you only need to know your MCC account's credentials. The 
OAuth2 logic works the same way as (1).

3. See if you can invite a login from your organization to manage the 
client's account. This way, you will end up with multiple accounts, but you 
know the credentials of all those accounts. You could generate refresh 
tokens offline for each of these accounts, and store those in the database. 
For each hierarchy of accounts, you could use the corresponding refresh 
token from your data store.

4. Provide a login page for your client, where they can login and then 
authenticate your service to access their AdWords accounts on their behalf. 
That web page could implement OAuth2, and generate a refresh token that you 
store in your database, along with the clientCustomerId of that account. 
You could then use these tokens to make API calls.

In all the above cases, getting a refresh token is a one-time process and 
wouldn't need any more user interaction.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Friday, November 8, 2013 12:22:59 PM UTC-5, Bikram Bhuyan wrote:
>
> Hi Anash,
>
> Thanks for your reply. Actually it will be a brand new integration we are 
> doing with AdWords API. So I am looking for the best possible way to 
> implement. So your suggestion and any other tips will be highly helpful as 
> we are currently working on a POC how to implement it in the right way.
>
> As our application will be a background running process, I am not sure how 
> we can implement it with connecting to different client AdWords account 
> which might not be related to our MCC account in any way. And based on the 
> documentation, we should use OAuth2 for the authentication and API access.
>
> So that part is little gray area for me right now.
>
> Thanks,
> Bikram.
>
> On Friday, November 8, 2013 8:21:00 AM UTC-8, Anash P. Oommen (AdWords API 
> Team) wrote:
>>
>> Hi Bikram,
>>
>> How exactly do you add a client to your system today? Do you ask for 
>> their email / password and store it locally, or ask them to invite one of 
>> your logins to manage the account, and use that account's username/password 
>> to make calls?
>>
>> Cheers,
>> Anash P. Oommen,
>> AdWords API Advisor.
>>
>> On Thursday, November 7, 2013 5:29:24 PM UTC-5, Bikram Bhuyan wrote:
>>>
>>> Hello,
>>>
>>> I have tested the sample application for our MCC account and everything 
>>> is working fine (All the basic API calls). But our requirement is little 
>>> different.
>>>
>>> We have a windows service which will be accessing the AdWords accounts 
>>> for our different clients. So no way their accounts will be related to our 
>>> MCC account which will be the primary account to be used in the windows 
>>> service. So my question is what is the process we should follow to access 
>>> the API for our clients, and what is the best way to generate the OAUTH 
>>> tokens to access the API.
>>>
>>> As it will be totally a back end running program, could you please 
>>> suggest what the is best practice normally followed in this scenario.
>>>
>>> Thanks,
>>> Bikram. 
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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: How to allow MCC accounts to access their adwords account data via our Adwords API [PHP]

2013-11-12 Thread Anash P. Oommen (AdWords API Team)
Hi Christian,

You need to use OAuth2 as authorization method to achieve this. The PHP 
client library has support for 
OAuth2, 
https://code.google.com/p/google-api-adwords-php/source/browse/examples/AdWords/Auth/GetRefreshToken.php
 
is a basic code example that shows how to do the OAuth2 flow and generate a 
refresh token.

The overall user experience would be like this:
1. The user logs into your website for the first time.
2. You take the user through the OAuth2 web flow 
(https://developers.google.com/accounts/docs/OAuth2WebServer), where you 
get the user's consent to make API calls on their behalf, and do that when 
they are offline.
3. Upon successful completion of the flow, you will get a refresh token 
from the OAuth2 server. Save that, and the customer's clientCustomerId in 
your local database.
4. Next time you need to make an API call, use the PHP client library to
  (a) Get an OAuth2 access token using the refresh token
  (b) Make an API call to the server using the Access token, your Developer 
token and the clientCustomerId.

Hope this helps. Feel free to follow up with more questions, I'll try to 
answer them or ask the PHP client library owner to follow up with you.

Cheers,
Anash P. Oommen,
AdWords API Advisor.


On Tuesday, November 12, 2013 2:12:30 PM UTC-5, Christian Gibbs wrote:
>
> We have an adwords API key and I want our system to allow other clients to 
> access their MCC account data using our platform.
>
> I would do this in any method possible, OAuth, adwords client library, 
> google apps.
>
> I know this is possible because I have seen other software that does this.
>
> If anyone knows how to achieve this via PHP, that would be great.
>
> Basically, someone would login to their MCC via our platform, and access 
> their adwords data.
>
> Thank you anyone, in advance. I appreciate your time and effort.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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: Access Level for API

2013-11-12 Thread Anash P. Oommen (AdWords API Team)
Hi Jonathan,

Allow me to clarify what Takeshi said - we don't have ANY AdWords API 
specific permissions. AdWords API follows whatever permissions you set on 
your AdWords account. So if you link your AdWords account under an MCC, 
then the MCC will have access to the client account. The level of access 
depends on the access you have given that login email on the UI. If it is 
readonly, you can run only reports. If you provide standard access, you can 
mutate objects as well.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Tuesday, November 12, 2013 1:50:46 PM UTC-5, Jonathan Wu wrote:
>
> Takeshi, 
>
> That is very weird. Through my own testing, I achieved read-only access. I 
> basically linked my email account to my companies Adwords account and tried 
> some api operations. 
>
> With my account set to Standard access, I was able to use the API to pull 
> ads from a test campaign and then pause some to of the ads. 
>
> When I set my account to read-only access, I could still use the API to 
> get the ads from the test campaign, but when I tried to use the api to 
> pause the ads, I would get a "forbidden" error code. The change in user 
> access took a few minutes to propagate, but once it changed, I could 
> consistently perform get operations but not mutate operations. 
>
> Wondering if someone over there changed something in the infrastructure 
> without updating the API team?
>
> -Jonathan
>
>
> On Monday, November 11, 2013 9:09:55 PM UTC-8, Takeshi Hagikura (AdWords 
> API Team) wrote:
>>
>> Hi Jonathan,
>>
>> Apologies for the delayed response. It was buried. 
>> What Kevin said in that thread is still true. 
>> https://groups.google.com/forum/#!msg/adwords-api/B0VVHqNOLYs/C0sTKzJF2uYJ
>>
>> We don't have read-only API access level yet. 
>> You can emulate it by using a read-only AdWords account. 
>>
>> Best,
>> - Takeshi, AdWords API Team
>>
>> On Monday, October 21, 2013 6:45:22 AM UTC+9, Jonathan Wu wrote:
>>>
>>> This is the access level I am talking about: 
>>> https://support.google.com/adwords/answer/1704346?hl=en
>>>
>>> The access level's on that page used to include something called UI and 
>>> API access. That is no longer listed. After testing, we now have API access 
>>> for a client that set our user access to READ-ONLY. This didn't work 
>>> before. We just need a clear statement that API access is now directly tied 
>>> to user access level and, if possible, documentation about it. This is so 
>>> that, going forward, we can tell clients the minimum user access we need to 
>>> service them.
>>>
>>> Thanks,
>>> Jon
>>>
>>> On Thursday, October 17, 2013 8:43:42 AM UTC-7, Jonathan Wu wrote:

 This is not the access I was asking about. I'm talking about user 
 Access level. Before, our MCC account had a user Access Level on our 
 client 
 accounts that was called UI and API access. Now that access level no 
 longer 
 exists. When we work with new clients, we have to advise them what user 
 access level they need to provide us in order for us to service them. What 
 minimum user access level should our MCC account have on our client's 
 account in order to have API access?


 Regards,
 Jonathan Wu


 On Wed, Oct 16, 2013 at 10:31 PM, Takeshi Hagikura (AdWords API Team) <
 adwordsapiad...@google.com> wrote:

> Hi,
>
> We haven't changed the names for access levels. 
> There's been Basic and Standard access levels since it was introduced. 
> (
> http://googleadsdeveloper.blogspot.jp/2013/01/new-simplified-adwords-api-pricing.html
> )
>
> Currently minimum is Basic access, with that access you can make 
> 10,000 operations per day. 
> With Standard access, how many operations you can make a day is not 
> restricted. 
>
> I'm not sure what MCC access means here.
>
> Best,
> - Takeshi, 
>
> On Wednesday, October 16, 2013 5:41:52 AM UTC+9, Jonathan Wu wrote:
>>
>> We see that the Access Level names have changed and there is now no 
>> mention of API access in any of the descriptions. What is the minimum 
>> Access level we would need to have API access? Is Standard enough? or do 
>> we 
>> need MCC access?
>>
>  -- 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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 adwor...@googlegroups.com
> To unsubscribe from this group, send email to
> adwords-api...@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

Re: API connection issue

2013-11-12 Thread Anash P. Oommen (AdWords API Team)
Hi Ramakrishna,

The wiki needs a bit of update. You don't need the 
{0} the string, and the OAuth2 header should instead 
go as an HTTP header

Authorization: Bearer access_token

I'll get the wiki fixed.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Friday, November 8, 2013 3:05:45 PM UTC-5, Ramakrishna BS wrote:
>
> We are facing some issues while connecting AdWords account using C#.net 
> code. We are approaching option 1 (Make a raw API call, from the 
> *https://code.google.com/p/google-api-adwords-dotnet/wiki/NoClientLibrary*)
>  
> for this. It is giving remote server retuned an error: (500) Internal 
> server error.  This is what we are doing,  We have Approved Developer 
> Token key with our account. So we hope, by this we can able to connect the 
> AdWords account, but while we are trying to get “authToken” using 
> “GetOAuth2AccessToken()” function, the system throwing above error. We did 
> not write any extra code for that function as we already have Developer 
> Token with us, we simply assigned that token as string to “authToken” and 
> using that variable in code. 
> Does we miss anything here? Kindly help us in resolving this issue.
>  
> thanks,
> Ramakrishna BS
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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: Access Level for API

2013-11-12 Thread Jonathan Wu
I see. Thanks for your help Anash.


Regards,
Jonathan Wu


On Tue, Nov 12, 2013 at 12:54 PM, Anash P. Oommen (AdWords API Team) <
adwordsapiadvisor+an...@google.com> wrote:

> Hi Jonathan,
>
> Allow me to clarify what Takeshi said - we don't have ANY AdWords API
> specific permissions. AdWords API follows whatever permissions you set on
> your AdWords account. So if you link your AdWords account under an MCC,
> then the MCC will have access to the client account. The level of access
> depends on the access you have given that login email on the UI. If it is
> readonly, you can run only reports. If you provide standard access, you can
> mutate objects as well.
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor.
>
>
> On Tuesday, November 12, 2013 1:50:46 PM UTC-5, Jonathan Wu wrote:
>>
>> Takeshi,
>>
>> That is very weird. Through my own testing, I achieved read-only access.
>> I basically linked my email account to my companies Adwords account and
>> tried some api operations.
>>
>> With my account set to Standard access, I was able to use the API to pull
>> ads from a test campaign and then pause some to of the ads.
>>
>> When I set my account to read-only access, I could still use the API to
>> get the ads from the test campaign, but when I tried to use the api to
>> pause the ads, I would get a "forbidden" error code. The change in user
>> access took a few minutes to propagate, but once it changed, I could
>> consistently perform get operations but not mutate operations.
>>
>> Wondering if someone over there changed something in the infrastructure
>> without updating the API team?
>>
>> -Jonathan
>>
>>
>> On Monday, November 11, 2013 9:09:55 PM UTC-8, Takeshi Hagikura (AdWords
>> API Team) wrote:
>>>
>>> Hi Jonathan,
>>>
>>> Apologies for the delayed response. It was buried.
>>> What Kevin said in that thread is still true. https://groups.google.
>>> com/forum/#!msg/adwords-api/B0VVHqNOLYs/C0sTKzJF2uYJ
>>>
>>> We don't have read-only API access level yet.
>>> You can emulate it by using a read-only AdWords account.
>>>
>>> Best,
>>> - Takeshi, AdWords API Team
>>>
>>> On Monday, October 21, 2013 6:45:22 AM UTC+9, Jonathan Wu wrote:

 This is the access level I am talking about:
 https://support.google.com/adwords/answer/1704346?hl=en

 The access level's on that page used to include something called UI and
 API access. That is no longer listed. After testing, we now have API access
 for a client that set our user access to READ-ONLY. This didn't work
 before. We just need a clear statement that API access is now directly tied
 to user access level and, if possible, documentation about it. This is so
 that, going forward, we can tell clients the minimum user access we need to
 service them.

 Thanks,
 Jon

 On Thursday, October 17, 2013 8:43:42 AM UTC-7, Jonathan Wu wrote:
>
> This is not the access I was asking about. I'm talking about user
> Access level. Before, our MCC account had a user Access Level on our 
> client
> accounts that was called UI and API access. Now that access level no 
> longer
> exists. When we work with new clients, we have to advise them what user
> access level they need to provide us in order for us to service them. What
> minimum user access level should our MCC account have on our client's
> account in order to have API access?
>
>
> Regards,
> Jonathan Wu
>
>
> On Wed, Oct 16, 2013 at 10:31 PM, Takeshi Hagikura (AdWords API Team)
>  wrote:
>
>> Hi,
>>
>> We haven't changed the names for access levels.
>> There's been Basic and Standard access levels since it was
>> introduced. (http://googleadsdeveloper.blogspot.jp/2013/01/new-
>> simplified-adwords-api-pricing.html)
>>
>> Currently minimum is Basic access, with that access you can make
>> 10,000 operations per day.
>> With Standard access, how many operations you can make a day is not
>> restricted.
>>
>> I'm not sure what MCC access means here.
>>
>> Best,
>> - Takeshi,
>>
>> On Wednesday, October 16, 2013 5:41:52 AM UTC+9, Jonathan Wu wrote:
>>>
>>> We see that the Access Level names have changed and there is now no
>>> mention of API access in any of the descriptions. What is the minimum
>>> Access level we would need to have API access? Is Standard enough? or 
>>> do we
>>> need MCC access?
>>>
>>  --
>> --
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>> 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 adwor...@googlegroups.com
>> To unsubscribe from 

Re: AdWords API/OAuth2 Problem

2013-11-12 Thread Takeshi Hagikura (AdWords API Team)
@ Nama,
QuotaCheckError.INCOMPLETE_SIGNUP usually means your account isn't 
correctly set. 
If you use your production account, please make sure your developer token 
is approved and you have accepted Terms&Conditions for the AdWords API.

@ John,
> I put it in the auth.ini file of my PHP app
Did you put a refresh token (in the form of 
1/Ix) as in this 
page (0. 
Get your access token. section)?

Best,
- Takeshi, AdWords API Team

On Wednesday, November 13, 2013 2:33:24 AM UTC+9, John Slegers wrote:
>
> The GetRefreshToken Console?
>
> This is what I'm doing :
>
> * Run file GetRefreshToken.php
> * This gives me an error with a link
> * I copy-paste the link in my browser
> * I log in to the browser as instructed
> * I copy the code I receive
> * I put it in the auth.ini file of my PHP app
>
> I think I'm making the same mistake you're making, but I'm not clear on 
> how to solve it. I don't know any other place to put the code I'm 
> receiving. I don't know of any GetRefreshToken Console.
>
>
>
>
> Op dinsdag 12 november 2013 17:49:15 UTC+1 schreef naman jindal:
>>
>> Hey,
>>
>> I found the problem. I was making a very lame mistake. 
>>
>> I was copying the code received from the url into my ads properties file 
>> considering it as a refresh token, but I now realised that I had to input 
>> the same into the GetRefreshToken Console and then I recieved the refresh 
>> token.
>>
>> @John : Please check if you are also making the same mistake.
>>
>> @Takeshi : I now have another problem to deal with. Can you please help 
>> me out :
>>
>> "QuotaCheckError.INCOMPLETE_SIGNUP"
>>
>> Thanks and Regards,
>> Naman Jindal
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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: Reading stats like impressions or total cost with v201309 without downloading a file

2013-11-12 Thread assaf
I have the same issue.
According to this 
http://googleadsdeveloper.blogspot.co.il/2013/10/adwords-api-how-to-migrate-from-stats.html
I don't see a way of avoiding the reports.

On Tuesday, November 12, 2013 9:35:12 AM UTC+2, b.ka...@mso-digital.de 
wrote:
>
> Hi there,
>  
> with AdWords API i want to get some stats about my campaigns like 
> impressions, costs, clicks, ctr.
> With older API versions like 201306 it was very easy to get these stats 
> with the type "Stats".
>  
> In v201309 this type is deprecated. Instead the "ReportDefinitionService" 
> should be used, to download the
> desired report file in *.csv or *.xls.
>  
> If i want to show some stats in a web application it is very 
> circumstantial to download such a report every time and parse it afterwards 
> (every time
> i refresh that page).
>  
> Is there an easier way to read out these stats? I don't know why things 
> were made so complicated in v201309. Before it was very easy to include 
> these stats
> data in own web apps.
>  
> Best Regards
> Bastian K.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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: Reading stats like impressions or total cost with v201309 without downloading a file

2013-11-12 Thread assaf
I have the same issue.
According to this 
http://googleadsdeveloper.blogspot.co.il/2013/10/adwords-api-how-to-migrate-from-stats.html
I don't see a way of avoiding the reports.

On Tuesday, November 12, 2013 9:35:12 AM UTC+2, b.ka...@mso-digital.de 
wrote:
>
> Hi there,
>  
> with AdWords API i want to get some stats about my campaigns like 
> impressions, costs, clicks, ctr.
> With older API versions like 201306 it was very easy to get these stats 
> with the type "Stats".
>  
> In v201309 this type is deprecated. Instead the "ReportDefinitionService" 
> should be used, to download the
> desired report file in *.csv or *.xls.
>  
> If i want to show some stats in a web application it is very 
> circumstantial to download such a report every time and parse it afterwards 
> (every time
> i refresh that page).
>  
> Is there an easier way to read out these stats? I don't know why things 
> were made so complicated in v201309. Before it was very easy to include 
> these stats
> data in own web apps.
>  
> Best Regards
> Bastian K.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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: GetCampaigns not returning any campaigns

2013-11-12 Thread Артокс Медиа
 You need to specify the clientCustomerId. 

понедельник, 11 ноября 2013 г., 21:28:45 UTC+3 пользователь Michael Lai 
написал:
>
> Hi,
>
> I'm just getting started with the API and believe I was able to set up the 
> Auth2.0 properly. What I've done is register a Native Application using the 
> account that my MCC is registered under. (I am assuming this is how the API 
> knows which account I want to interact with?)
>
> However, when I run GetCampaigns.php, no results are returned. What am I 
> missing? Do I need to further specify the clientCustomerId, or is setting 
> the client_id and client_secret sufficient?
>
> Thanks!
> Michael
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Invalid Grant - Need Help OAuth2 - Urgent Pelase!

2013-11-12 Thread naman jindal
Hi Anash,

The issue is now resolved. I was making a lame mistake. 

I was considering the code received from the url as the refresh token and 
never realized that I had to use that code to get the refresh token.

All solved now.

Thanks!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: AdWords API/OAuth2 Problem

2013-11-12 Thread naman jindal

@John : I think the link shared by Takeshi will solve your problem.

@Takeshi : Thanks! I was browsing through the forum for this error and then 
I realized that this is something related to the Account setup only. I had 
requested for the developer token about 3 weeks ago and it is still pending 
approval so I tried using a test account. Now I checked my account and 
realized that the credit card information that I had provided in my billing 
section has now expired, is that where the problem lies?

Regards,
Naman Jindal

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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.