Re: How to get stats using Firefox Poster Plugin (SOAP - Adhoc)

2014-03-07 Thread Ray Tsang (AdWords API Team)
Mike,

Please refer to our reporting 
guide- reports 
are not SOAP-based services.
I did notice that the Authorization header needs "Bearer" keyword; 
*Authorization: 
Bearer the_access_token*

Cheers,

Ray

On Friday, March 7, 2014 8:23:50 AM UTC-5, Mike Young wrote:
>
> The firefox plugin called poster (
> https://addons.mozilla.org/en-US/firefox/addon/poster/) would be a good 
> way to start. 
> What headers and coding would I need to use as I need to test my xml code.
>
> At the moment I have in the main window: -
>
> Posting to *(url)*  
> *https://adwords.google.com/api/adwords/reportdownload/v201309 
> *
> *Content type = multipart/form-data*
>
> __rdxml=https://adwords.google.com/api/adwords/cm/v201309";>
>   
> Impressions
> Clicks
> Cost
> 
>   Status
>   IN
>   ACTIVE
>   PAUSED
> 
>   
>   Custom Mike Report
>   CAMPAIGN_PERFORMANCE_REPORT
>   TODAY
>   XML
> 
>
> I need to add the SOAP envelope but have had many problems
> HEADERS used are: -
>
>- Authorization: 1/Kck
>- developerToken: _RK0xx
>- clientCustomerId: 123-456-7890(this is not my main MCC 
>account but a sub account?, Is this correct)
>- returnMoneyInMicros: true
>
>
> Can anyone help?
>
> Just need stats in xml..to download
>
>  
>
>
>
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: Pull campaign stats from MCC with a lot of sub accounts

2014-03-07 Thread Ray Tsang (AdWords API Team)
Mike,

I've responded to your other thread.  Let's continue the conversation there.

Cheers,

Ray

On Friday, March 7, 2014 10:21:53 AM UTC-5, Mike Young wrote:
>
> This question was asked a few years ago. I have made a few amendments, and 
> pasted it again, as it was never really answered(Full question and 
> replies, https://groups.google.com/forum/#!topic/adwords-api/zZB9oaURERM)
>
>
> Can anyone give me a run down on how to  pull campaign stats for one MCC 
> with a LOT of sub accounts within it?
> Example Account Structure for our MCC:
>
> XX, MAIN MCC ACCOUNT
> --XX, Sub Account
> --XX, Sub Account
> --XX, Sub Account
> --XX, Sub Account
> --XX, Sub Account
> --XX, Sub Account
> --XX, Sub Account
>
>
> I need to be able to iterate dynamically through our entire list of 
> accounts (quite large 25 clients) and perform a campaign stats report for 
> each one, then use the returned data and store it into our own DB.
> The campaign stats example file is great, but it takes a hard coded 
> clientCustomerID from the auth.ini file in order to run that report with 
> the live service.  I can run the account hierarchy example file, and get 
> all of our account id's, and the client customer ID's of each sub and 
> tertiary account, but I don't see a way to use the adwords user constructor 
> in combination with these two example files in order to pull the right data.
>
> The php client library has lots of example files, but not much in the way 
> of 'how-to' guides explaining how to dynamically run reports without the 
> use of the auth.ini file, or how I can perform dynamic reporting with 
> threading.
>
> I need one report, of 25 clients.
>
> I have already created a script that rotates via a scheduled task for each 
> client, that is run every minute. (But this means each client is only 
> updated every 25 mins)
>
> Help..
>
> P.S. I'm using PHP
>
>
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: Pull campaign stats for one MCC with sub accounts

2014-03-07 Thread Ray Tsang (AdWords API Team)
Mike,

Please see php client library doc.  You can dynamically set client customer 
ID by calling 
SetCustomerId()function.

Cheers,

Ray

On Friday, March 7, 2014 8:13:56 AM UTC-5, Mike Young wrote:
>
> My question is the same exactly what was posted two years ago that is 
> below. I have tried everything.how can I change the 
> getcampaignstats.php or another file such as Downloadreportcriteria.php and 
> hard code the *ClientCustomerId*. 
> I will then use this many times each with a different *ClientCustomerId 
> in. (Then it will not take the value from AdwordsUser.php*, and I can run 
> many of them at one time, via threadding etc)
>
>
> *Can anyone give me a run down on how to  pull campaign stats for one MCC 
> with a LOT of sub accounts within it?*
> I can't seem to find much in the way of advice for this.
> Example Account Structure for our MCC:
>
> XX, MAIN MCC ACCOUNT
> --XX, Sub Account
> --XX, Sub Account
> --XX, Sub Account
> --XX, Sub Account
> --XX, Sub Account
> --XX, Sub Account
> --XX, Sub Account
>
>
> I need to be able to iterate dynamically through our entire list of 
> accounts (quite large 25 clients) and perform a campaign stats report for 
> each one, then use the returned data and store it into our own DB.
>
> The campaign stats example file is great (V201306 (will update version 
> later), but it takes a hard coded clientCustomerID from the auth.ini file 
> in order to run that report with the live service.  
> I can run the account hierarchy example file, and get all of our account 
> id's, and the client customer ID's of each sub account.
> The php client library has lots of example files, but not much in the way 
> of 'how-to' guides explaining how to dynamically run reports without the 
> use of the auth.ini file, or how I can perform dynamic reporting with 
> threading.
>
> Full question and replies are here (
> https://groups.google.com/forum/#!topic/adwords-api/zZB9oaURERM)
>
> The adhoc answer at the bottom does not show full code for php.
> I would love to be able to report using this way
>
>
>  (Someone please help)
>
> Thanks!
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: QuotaCheckError.INCOMPLETE_SIGNUP Error

2014-03-07 Thread Ray Tsang (AdWords API Team)
Mahmoud,

Were you still having the issue since you accepted the T&C?

Thanks,

Ray

On Thursday, March 6, 2014 7:08:05 PM UTC-5, Mahmoud Hamroun wrote:
>
> Hi all:
>
> I'm trying to authenticate with Adwords API and I'm getting this 
> [QuotaCheckError.INCOMPLETE_SIGNUP] error.
>
> Here some information about my auth.ini file:
>
> - Developer Token taken from Production MCC Account
>
> - Client Customer ID taken from a Child from test MCC account
>
> - Client_id and Client_secret taken from Developers Console Project ( test 
> MCC Account )
>
> - Refresh token generated accessing with test MCC Account
>
>
> All billing information is set in both of accounts
>
> Any ideas?
>
> Thank you.
> Production Account : 
> Customer ID: 653-301-5553
> mccbrid...@gmail.com 
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: Getting a wrong Account ID in Campaign Performance Report

2014-03-07 Thread Ray Tsang (AdWords API Team)
Martin,

Thanks for reporting this.  I'll take a look at this.
You won't need to use this field since you should already know the client 
customer ID that you are pulling.

That being said, this field may not be useful to you - I'll investigate it.

Cheers!

Ray

On Friday, March 7, 2014 9:00:03 AM UTC-5, Martin wrote:
>
> Hi,
> When I download a Campaign Performance Report the Account Id I get is 
> wrong although the Account name is correct. It is not even a valid Account 
> Id as it is too short.
>
> Any ideas on how to solve this?
>
> I've attached logs for the latest attempt. This is with v201402 although I 
> had the same issue last week with v201309
> Thanks!
>
> Martin
>
> First lines of the report:
> "CAMPAIGN_PERFORMANCE_REPORT (Mar 7, 2014)"
> Account ID,Account,Campaign ID,Campaign,Currency,Budget,Budget ID,Budget 
> period,Budget explicitly shared
> 98512001, Correct_Account_Name, other_valid_data
>
> soap_xml
> [2014-03-07 10:40:06,687::DEBUG:: (AwApi-Python/15.13.0, 
> Common-Python/3.1.1, Python/2.7)] StartTime: 2014-03-07 10:40:03
> POST: https://adwords.google.com/api/adwords/reportdownload/v201402
> clientCustomerId: Correct_Account_Id
> developerToken: ***
> Accept-Encoding: gzip
> Content-Encoding: gzip
> Content-Length: 190
> User-Agent: **,gzip
> Content-Type: application/x-www-form-urlencoded
> Authorization: Bearer 
> *
>
>
> __rdquery=SELECT+AccountId%2C+AccountDescriptiveName%2C+CampaignId%2C+CampaignName%2C+AccountCurrencyCode%2C+TotalBudget%2C+Amount%2C+BudgetId%2C+Period%2C+IsBudgetExplicitlyShared+FROM+CAMPAIGN_PERFORMANCE_REPORT+DURING+TODAY&__fmt=GZIPPED_CSV
>
> HTTP 200
> Content-Type: application/x-gzip; charset=UTF-8
>
> Content-Length: 98987
>
> Content-Disposition: /tmp/reportId-null7937318180025389689.tmprpt.csv.gz
>
> Date: Fri, 07 Mar 2014 13:40:06 GMT
>
> Expires: Fri, 07 Mar 2014 13:40:06 GMT
>
> Cache-Control: private, max-age=0
>
> X-Content-Type-Options: nosniff
>
> X-Frame-Options: SAMEORIGIN
>
> X-XSS-Protection: 1; mode=block
>
> Server: GSE
>
> Connection: close
> EndTime: 2014-03-07 10:40:06
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: why the PyXML error I am getting while downloading the report?

2014-03-07 Thread Ray Tsang (AdWords API Team)
Rishav,

Could I trouble you to confirm if you have PyXML v0.8.3 or newer?

Thanks,

Ray

On Wednesday, March 5, 2014 11:31:18 PM UTC-5, Rishav Kumar wrote:
>
> storage=Storage(location of my credentials \SampleAD.dat')
> credential =storage.get()
> if credential is None:
> flow = OAuth2WebServerFlow(
> client_id=oauth2_client_id,
> client_secret=oauth2_client_secret,
> # Scope is the server address with 
> '/api/adwords' appended.
> scope='
> https://adwords.google.com/api/adwords',
> user_agent='SampleAPI',
> 
> redirect_uri='urn:ietf:wg:oauth:2.0:oob')
> authorize_url = flow.step1_get_authorize_url()
> print authorize_url
> webbrowser.open(authorize_url,)
> print ('Log in to your Google Account and open the following URL: 
> \n%s\n' %authorize_url)
> print 'After approving the token enter the verification code (if 
> specified).'
> code = raw_input('Code: ').strip()
> try:
> credential = flow.step2_exchange(code)
> 
> storage=Storage('D:\Rishav_Work\Eclipse_WorkSpace\SampleAd.dat')
> client = AdWordsClient(headers={'developerToken': '%s++USD' % 
> email,
> 'clientCustomerId': 
> client_customer_id,
> 'userAgent': 'SampleAPI',
> 'oauth2credentials': credential
> })
> credentials = client.oauth2credentials
> print 'OAuth2 authorization successful!'
>
> # OAuth2 credential objects can be refreshed via 
> credentials.refresh() - the
> # access token expires after 1 hour.
> credentials.refresh(httplib2.Http())
>
> # Note: you could simply set the credentials as below and skip 
> the previous
> # steps once access has been granted.
> client.oauth2credentials = credentials
>
> campaign_service = client.GetCampaignService(version='v201309')
> print campaign_service
> # OAuth2 credentials objects can be reused
> credentials = client.oauth2credentials
> client.oauth2credentials = credentials
> http = httplib2.Http()
> print http
> print 'OAuth2 authorization successful!'
> storage.put(credentials)
> 
> except FlowExchangeError as e:
> sys.exit('Authentication has failed: %s' % e)
> else:
> client = AdWordsClient(headers={'developerToken': '%s++USD' % 
> email,
> 'clientCustomerId': 
> client_customer_id,
> 'userAgent': 'SampleAPI',
> 'oauth2credentials': credential
> })
> credentials = client.oauth2credentials
> print 'OAuth2 authorization successful!'
>
> # OAuth2 credential objects can be refreshed via 
> credentials.refresh() - the
> # access token expires after 1 hour.
> credentials.refresh(httplib2.Http())
>
> # Note: you could simply set the credentials as below and skip the 
> previous
> # steps once access has been granted.
> client.oauth2credentials = credentials
>
> campaign_service = client.GetCampaignService(version='v201309')
>
> # Get all campaigns.
> # Construct selector and get all campaigns.
> selector = {
> 'fields': ['Id', 'Name', 'Status']
> }
> campaigns = campaign_service.Get(selector)[1]
>
> # Display results.
> if 'entries' in campaigns:
> for campaign in campaigns['entries']:
> print ('Campaign with id \'%s\', name \'%s\' and status 
> \'%s\' was found.'
>  % (campaign['id'], campaign['name'], campaign['status']))
> else:
> print 'No campaigns were found.'
>
> # Initialize appropriate service.
> report_downloader = client.GetReportDownloader(version='v201309')
> report = {
>   'reportName': 'Last 7 days CRITERIA_PERFORMANCE_REPORT',
>   'dateRangeType': 'LAST_7_DAYS',
>   'reportType': 'CRITERIA_PERFORMANCE_REPORT',
>   'downloadFormat': 'CSV',
>   'selector': {
>'fields': ['CampaignId', 'AdGroupId', 'Id', 
> 'CriteriaType',
>   'Criteria', 'Impressions', 
> 'Clicks', 'Cost']
>},
>   # Enable to get rows with zero impressions.
>   

Re: Changing Adwords API billing information

2014-03-07 Thread Ray Tsang (AdWords API Team)
Ismael,

I've responded to you on your other thread.  Let's continue our discussion 
there.

Cheers,

Ray

On Wednesday, March 5, 2014 8:29:36 AM UTC-5, I.A Veron wrote:
>
> Hello Eric, 
>
> Perhaps you may assist me with a current situation about our API.
>
> We are running our API through our MCC: ID: 994-569-2192
> and our token under:
> Agency/SEM
> Conzentra Tecnologías de la Información S.L
> http://www.conzentra.com
>
>
> But since we moved from Spain to the U.S we want to update the billing 
> information to which the API charges are being made. How do we proceed. We 
> have contacted AdWords team but they are unable to give us an answer.
>
> Can you help us?
>
> Thanks
> Ismael
>
>
>
>
>
>
> El miércoles, 14 de abril de 2010 12:56:18 UTC-3, AdWords API Advisor 
> escribió:
>>
>> Hi Maurice,
>>
>> To change your AdWords API budget you need to log in to the MCC
>> account that owns your developer token and navigate to "My account" =>
>> "AdWords API Center".
>>
>> Best,
>> - Eric Koleda, AdWords API Team
>>
>> On Apr 13, 6:00 am, Maurice van der Meer  wrote:
>> > Hi!
>> >
>> > When using the keywords api tool I keep getting back
>> > "This account has reached its user specified budget.".
>> >
>> > As I have sent in a big number of requests, I expected
>> > this to happen. However, I am unable to see what my
>> > current budget is and what billing information is used.
>> >
>> > Can anyone tell me where I can find the billing information
>> > that is used for API calls and where I can change that?
>> >
>> > Thanks in advance!
>> >
>> > -- Maurice
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: Beta targeting types enable

2014-03-07 Thread Ray Tsang (AdWords API Team)
Robert,

Could I trouble you to confirm which services you were planning to use? 
 There were a few features that came out of 
betain
 our latest release.  Please check them out as well.

Thanks,

Ray

On Thursday, March 6, 2014 9:02:49 AM UTC-5, Robert Rodakowski wrote:
>
> Ok, starting from today beta targeting types are out of beta!
>
>
> W dniu środa, 5 marca 2014 14:46:14 UTC+1 użytkownik Robert Rodakowski 
> napisał:
>>
>> Hi,
>>
>> I've got a question regarding beta location targeting types (
>> https://developers.google.com/adwords/api/docs/appendix/geotargeting). 
>> Some time ago (a few months mayby), we got an error, after trying to use 
>> one of beta targeting types (via adwords API). Nowadays it seems, that it 
>> works correctly on our test account - beta targeting types are being set on 
>> campaigns wihout any error and are available via AdWords UI.
>>
>> The question is: is it required to (somehow) "white-list" account, to be 
>> able to use beta targeting types? Or mayby we can assume, that all accounts 
>> have it already enabled?
>>
>> Best regards,
>> Robert.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: Change billing information in AdWords API

2014-03-07 Thread Ray Tsang (AdWords API Team)
Ismael,

Do you have a account rep from Google?  Have you reached out to them 
directly?

Thanks!

Ray

On Wednesday, March 5, 2014 8:54:25 AM UTC-5, I.A Veron wrote:
>
> Hello,
>
> We are trying to change the billing information to which changes are made 
> for our Adwords API. We have submitted this request to the Adwords Team, 
> but they we unable to solve and for that, they redirect us to you, the API 
> Team.
>
> This is our MMC account:
>
> ID: 994-569-2192
>
> We would like to change the billing information. How do we proceed to 
> update this?
>
>  
>
> Regards
>
> Ismael Veron
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: Click performance report vs valuetrack parameters

2014-03-07 Thread Ray Tsang (AdWords API Team)
Arthur,

Could I trouble you to elaborate a bit more on your use case and any other 
information you were looking for except for valuetrack option?

Thanks,

Ray

On Wednesday, March 5, 2014 6:24:20 AM UTC-5, Arthur wrote:
>
> I see the click performance report as a more convenient way to tie session 
> data to adwords sources than to use the valuetrack parameters.
>
> Unfortunately, not all information is available here. Will that change in 
> the near future? 
>
> For example, I do not have the position of the ad available while this is 
> a valuetrack option. Hence, I still have to use and parse the valuetrack 
> parameters and tie them to the gclid.
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: How to determine that a keyword is inactive (v13 reports)

2014-03-07 Thread Ray Tsang (AdWords API Team)
Hi,

The closet API that I know off that may be useful is 
QualtiyInfo
.

Cheers,

Ray

On Thursday, February 27, 2014 3:56:48 PM UTC-5, SBond wrote:
>
> Hi all,
>>
>
> Does anyone know if this has been updated at all?  I would love to get 
> this data through the API if possible:
>
> Low Quality Score
> Low Search Volume
> Below First Page Bid
>
> Any updates would be greatly appreciated :) 
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: How to determine that a keyword is inactive (v13 reports)

2014-03-07 Thread Ray Tsang (AdWords API Team)
Hi,

Let's continue this discussion on the other 
thread
 that 
you've commented on. 

Thanks!

Ray

On Thursday, February 27, 2014 3:56:48 PM UTC-5, SBond wrote:
>
> Hi all,
>>
>
> Does anyone know if this has been updated at all?  I would love to get 
> this data through the API if possible:
>
> Low Quality Score
> Low Search Volume
> Below First Page Bid
>
> Any updates would be greatly appreciated :) 
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: filtering keywords

2014-03-07 Thread Ray Tsang (AdWords API Team)
Hi,

While I can't comment on the exact use case, I feel you may first want to 
determine if there is an AdWords web-based tool that can help you with your 
need, such as the keyword 
plannertool?

Once you've found a tool that matches your need, please let us know - there 
may be a corresponding AdWords 
APIthat may be useful.

Cheers,

Ray

On Tuesday, February 25, 2014 4:57:59 PM UTC-5, BigBoss#111 wrote:
>
> I have a slightly different problem. I have a big list of science terms I 
> want to use on our site that customers can use to search some products. The 
> problem is, the synonym list is huge & only about 5% of the words are 
> actually searched. Is there a way to use this tool to filter out unsearched 
> words?
>
> The traffic on even the popular ones is pretty low so make turning them 
> into an Adwords campaign wouldn't be terribly profitable.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: Got a refresh token for an MCC account, but GetCampaigns results in: AuthenticationError.NOT_ADS_USER

2014-03-07 Thread Ray Tsang (AdWords API Team)
Frank,

Thanks for the detailed feedback!  At this point, I'll have to guess that 
the refresh token you are using doesn't belong to the MCC user.  Please 
regenerate a refresh token - when you are authorizing the access, please 
make sure you are logged in as the owner of the MCC account.

Please let me know if that helps,

Ray,

On Friday, March 7, 2014 8:33:02 AM UTC-5, Frank Tolsma wrote:
>
> Ray,
>
> Yes, I am using the Java library.
>
> I thought about using setClientCustomerId(). I think you have to remove 
> the '-' from the xxx-xxx- id, but I tried with and without '-', of 
> course. But no luck.
>
> The I looked for an example that would do the initial part of what I need 
> to do: iterate over the customer accounts. The 
> adwords.axis.v201309.accountmanagement.GetAccountHierarchy example does 
> that. And it uses the ManagedCustomerServiceInterface, as you suggested. 
> But I get the same NOT_ADS_USER error.
>
> I don't know where exactly, because the debugger won't let me step through 
> the source code for some reason (I hate these environments where a million 
> things can be configured the wrong way), but the logging shows me the 
> following:
>
> [07 mrt 2014 14:11:20,961-requestInfoLogger:INFO:main] Request made: 
> Service: "*ManagedCustomerServiceInterfacePort*" Method: "get" URL: "
> https://adwords.google.com/api/adwords/mcm/v201309/
> *ManagedCustomerService*"
> [07 mrt 2014 14:11:21,038-soapXmlLogger:WARN:main] SOAP Request:
> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="
> http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";>
> 
> https://adwords.google.com/api/adwords/mcm/v201309"; 
> soapenv:mustUnderstand="0">
> https://adwords.google.com/api/adwords/cm/v201309";>*MCC account id*
> 
> https://adwords.google.com/api/adwords/cm/v201309";>*myDeveloperToken*
> 
> https://adwords.google.com/api/adwords/cm/v201309";>*Test* (AwApi-Java, 
> AdWords-Axis/1.24.0, Common-Java/1.24.0, Axis/1.4, Java/1.7.0_51, 
> maven)
> https://adwords.google.com/api/adwords/cm/v201309
> ">false
> https://adwords.google.com/api/adwords/cm/v201309
> ">false
> 
> 
> 
> https://adwords.google.com/api/adwords/mcm/v201309";>
> 
> https://adwords.google.com/api/adwords/cm/v201309";>Login
> https://adwords.google.com/api/adwords/cm/v201309";>CustomerId
> https://adwords.google.com/api/adwords/cm/v201309";>Name
> 
> 
> 
> 
>
> [07 mrt 2014 14:11:21,117-soapXmlLogger:WARN:main] SOAP Response:
> http://schemas.xmlsoap.org/soap/envelope/";>
> 
> https://adwords.google.com/api/adwords/cm/v201309"; xmlns="
> https://adwords.google.com/api/adwords/mcm/v201309";>
> 0004f40400141fc00adb052a3b83
> ManagedCustomerService
> get
> 0
> 166
> 
> 
> 
> 
> soap:Server
> [AuthenticationError.NOT_ADS_USER @ ; 
> trigger:'']
> 
> https://adwords.google.com/api/adwords/mcm/v201309"; xmlns:ns2="
> https://adwords.google.com/api/adwords/cm/v201309";>
> [*AuthenticationError.NOT_ADS_USER* @ ; 
> trigger:'']
> 
> ApiException
> http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="ns2:AuthenticationError">
> 
> 
> 
> AuthenticationError.NOT_ADS_USER
> 
> AuthenticationError
> NOT_ADS_USER
> 
> 
> 
> 
> 
> 
>
> Exception in thread "main" AxisFault
>  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
>  faultSubcode: 
>  faultString: [AuthenticationError.NOT_ADS_USER @ ; trigger:'']
>  faultActor: 
>  faultNode: 
>  faultDetail: 
> 
> {https://adwords.google.com/api/adwords/mcm/v201309}ApiExceptionFault:[AuthenticationError.NOT_ADS_USER
>  
> @ ; 
> trigger:'']ApiException  
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="ns2:AuthenticationError">AuthenticationError.NOT_ADS_USERAuthenticationErrorNOT_ADS_USER
>
> [*AuthenticationError.NOT_ADS_USER* @ ; trigger:'']
>
> It looks like: 
> ManagedCustomerPage page = managedCustomerService.get(selector); 
> is where the error happens.
> So it is not even asking to get info about a specific customer account 
> yet, but only trying to get a list of customer accounts...
>
> So maybe the MCC refreshToken is wrong? The thing is: I did not generate 
> that token. I had the person who owns the MCC account do it for me.
> But I can successfully execute the following, so I think that means the 
> MCC account info and the refreshToken are ok.
>
> Credential oAuth2Credential = new OfflineCredentials.Build

Pull campaign stats from MCC with a lot of sub accounts

2014-03-07 Thread Mike Young
This question was asked a few years ago. I have made a few amendments, and 
pasted it again, as it was never really answered(Full question and 
replies, https://groups.google.com/forum/#!topic/adwords-api/zZB9oaURERM)


Can anyone give me a run down on how to  pull campaign stats for one MCC 
with a LOT of sub accounts within it?
Example Account Structure for our MCC:

XX, MAIN MCC ACCOUNT
--XX, Sub Account
--XX, Sub Account
--XX, Sub Account
--XX, Sub Account
--XX, Sub Account
--XX, Sub Account
--XX, Sub Account


I need to be able to iterate dynamically through our entire list of 
accounts (quite large 25 clients) and perform a campaign stats report for 
each one, then use the returned data and store it into our own DB.
The campaign stats example file is great, but it takes a hard coded 
clientCustomerID from the auth.ini file in order to run that report with 
the live service.  I can run the account hierarchy example file, and get 
all of our account id's, and the client customer ID's of each sub and 
tertiary account, but I don't see a way to use the adwords user constructor 
in combination with these two example files in order to pull the right data.

The php client library has lots of example files, but not much in the way 
of 'how-to' guides explaining how to dynamically run reports without the 
use of the auth.ini file, or how I can perform dynamic reporting with 
threading.

I need one report, of 25 clients.

I have already created a script that rotates via a scheduled task for each 
client, that is run every minute. (But this means each client is only 
updated every 25 mins)

Help..

P.S. I'm using PHP




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


How to get stats using Firefox Poster Plugin (SOAP - Adhoc)

2014-03-07 Thread Mike Young
The firefox plugin called poster 
(https://addons.mozilla.org/en-US/firefox/addon/poster/) would be a good 
way to start. 
What headers and coding would I need to use as I need to test my xml code.

At the moment I have in the main window: -

Posting to *(url)*  
*https://adwords.google.com/api/adwords/reportdownload/v201309*
*Content type = multipart/form-data*

__rdxml=https://adwords.google.com/api/adwords/cm/v201309";>
  
Impressions
Clicks
Cost

  Status
  IN
  ACTIVE
  PAUSED

  
  Custom Mike Report
  CAMPAIGN_PERFORMANCE_REPORT
  TODAY
  XML


I need to add the SOAP envelope but have had many problems
HEADERS used are: -

   - Authorization: 1/Kck
   - developerToken: _RK0xx
   - clientCustomerId: 123-456-7890(this is not my main MCC account 
   but a sub account?, Is this correct)
   - returnMoneyInMicros: true


Can anyone help?

Just need stats in xml..to download

 





-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://adwords.google.com/api/adwords/cm/v201309/CampaignService?wsdl' : failed to load external entity

2014-03-07 Thread Ray Tsang (AdWords API Team)
Mathis,

I've sent you a T&C.  Please follow up in that the private thread.

Cheers,

Ray

On Friday, March 7, 2014 6:03:44 AM UTC-5, Mathis Lübbers wrote:
>
> I wanted to test GetCampaigns.php with the test account and I've done all 
> the things that are required (developer token from production MCC)
>
> I have completed billing and T&C setup in production and test account, but 
> still there's the incomplete-signUp-error.
>
> I can't understand why I am still getting this error.
>
> Thanks a lot!
>
> Am Donnerstag, 6. März 2014 23:48:59 UTC+1 schrieb Ray Tsang (AdWords API 
> Team):
>>
>> Mathis,
>>
>> Please see our sign up 
>> guideto make sure 
>> you have a completed billing and T&C setup.
>> Secondly, the the developer token has not been approved - have you 
>> submitted the new token form
>> ?
>>
>> The developer token can only be used with test 
>> accountsprior 
>> to its approval.  Please visit our test account guide for more info.
>>
>> Thanks!
>>
>> Ray
>>
>> On Thursday, March 6, 2014 6:57:46 AM UTC-5, Mathis Lübbers wrote:
>>>
>>> Hi,
>>>
>>> I solved the problem regarding the SOAP-ERROR with deinstalling xampp 
>>> and installing it again without running any anti-virus program or User 
>>> Account Control.
>>>
>>> Maybe someone has the same problem.
>>>
>>> Now logically, we have the incomplete sigUp error on both machines. I've 
>>> sent you my production MCC CID in private. 
>>>
>>> Thanks!
>>>
>>> Am Mittwoch, 5. März 2014 23:09:40 UTC+1 schrieb Ray Tsang (AdWords API 
>>> Team):

 Mathis,

 Following up on your private thread - 

 Machine A: even though curl works, it appears you may have additional 
 environmental issues that's behind my expertise.  Please make sure both 
 machines are setup with the same versions and configurations of PHP, etc.

 Machine B: did you use a developer token from a production MCC?  Please 
 send me the MCC CID.

 Thanks,

 On Tuesday, March 4, 2014 2:30:20 PM UTC-5, Ray Tsang (AdWords API 
 Team) wrote:
>
> Mathis,
>
> This is great:
>
> Machine A: there is a bigger issue here w/ the machine setup if curl 
> doesn't work at all.  It could be caused by many many factors that's 
> outside of my expertise.
>
> Machine B: regarding the date function error, please make sure you 
> have set a default 
> timezone
> .
>
> For INCOMPLETE_SIGNUP_ERROR, please send me your MCC's CID and the AW 
> CID that you are accessing in private (respond to author).
>
> Thanks!
>
> --
> Ray Tsang (AdWords API Advisor)
>
>
> On Tuesday, March 4, 2014 9:53:03 AM UTC-5, Mathis Lübbers wrote:
>>
>> Hey Ray,
>> thank your for your response!
>> I think, I have you to tell the whole problem again, because I've 
>> made a mistake in the discription of the problem, sorry therefore!
>>
>> We have installed the API with it's configurations on two different 
>> machines (A,B) using these steps:
>>
>> download the current php library 
>> create MCC production account (developer token in auth.ini)
>> create MCC test account (creat client --> client costumer ID in 
>> auth.ini)
>> create Project at Google Developers Console (client ID , clientSecret 
>> in auth.ini)
>> get RefreshToken --> insert in auth.ini
>> uncomment   extension=php_openssl.dll
>>extension=php_curl.dll
>>extension=php_soap.dllin php.ini 
>> (on Machine A in php.ini-developement and php.ini-production, too)
>>  
>> tried GetCampaigns on two different machines and got two different 
>> errors.
>>
>> Machine A : 
>>
>> An error has occurred: SOAP-ERROR: Parsing WSDL: Couldn't load from '
>> https://adw
>>
>> ords.google.com/api/adwords//api/adwords/cm/v201309/CampaignService?wsdl'
>>  
>> : fail
>> ed to load external entity "
>> https://adwords.google.com/api/adwords//api/adwords/
>> cm/v201309/CampaignService?wsdl"
>>
>> Machine B:
>>
>> Warning: date(): It is not safe to rely on the system's timezone 
>> settings. You are *required* to use the date.timezone setting or the 
>> date_default_timezone_set() function. In case you used any of those 
>> methods 
>> and you are still getting this warning, you most likely misspelled the 
>> timezone identifier. We selected the timezone 'UTC' for now, but please 
>> set 
>> date.timezone to select your timezone. in 
>> /Applications/XAMPP/xamppfiles/htdocs/adwordsapi/src/Google/Api/Ads/Common/Util/Logger.php
>>  
>>

Re: SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://adwords.google.com/api/adwords/cm/v201309/CampaignService?wsdl' : failed to load external entity

2014-03-07 Thread Joseph Collins
Ray,

I have only seen this issue appear when Google's load balancer directs 
traffic to 173.194.115.0/24. This issue affects adwords.google.com, 
google.com, gmail.com, youtube.com, etc. with both HTTP (cURL feedback: *Recv 
failure: Connection was reset*) and HTTPS (cURL feedback: *Unknown SSL 
protocol error in connection*) requests via cURL, Telnet and Google Chrome.

The issue has been consistently reproduced in every big network (Comcast, 
Limestone Networks, Amazon AWS and several unknowns via VPN) accessible to 
me.

The failure rate on 173.194.115.0/24 was roughly 70% over ~200 requests.


On Wednesday, March 5, 2014 5:09:40 PM UTC-5, Ray Tsang (AdWords API Team) 
wrote:
>
> Mathis,
>
> Following up on your private thread - 
>
> Machine A: even though curl works, it appears you may have additional 
> environmental issues that's behind my expertise.  Please make sure both 
> machines are setup with the same versions and configurations of PHP, etc.
>
> Machine B: did you use a developer token from a production MCC?  Please 
> send me the MCC CID.
>
> Thanks,
>
> On Tuesday, March 4, 2014 2:30:20 PM UTC-5, Ray Tsang (AdWords API Team) 
> wrote:
>>
>> Mathis,
>>
>> This is great:
>>
>> Machine A: there is a bigger issue here w/ the machine setup if curl 
>> doesn't work at all.  It could be caused by many many factors that's 
>> outside of my expertise.
>>
>> Machine B: regarding the date function error, please make sure you have 
>> set a default 
>> timezone
>> .
>>
>> For INCOMPLETE_SIGNUP_ERROR, please send me your MCC's CID and the AW CID 
>> that you are accessing in private (respond to author).
>>
>> Thanks!
>>
>> --
>> Ray Tsang (AdWords API Advisor)
>>
>>
>> On Tuesday, March 4, 2014 9:53:03 AM UTC-5, Mathis Lübbers wrote:
>>>
>>> Hey Ray,
>>> thank your for your response!
>>> I think, I have you to tell the whole problem again, because I've made a 
>>> mistake in the discription of the problem, sorry therefore!
>>>
>>> We have installed the API with it's configurations on two different 
>>> machines (A,B) using these steps:
>>>
>>> download the current php library 
>>> create MCC production account (developer token in auth.ini)
>>> create MCC test account (creat client --> client costumer ID in auth.ini)
>>> create Project at Google Developers Console (client ID , clientSecret in 
>>> auth.ini)
>>> get RefreshToken --> insert in auth.ini
>>> uncomment   extension=php_openssl.dll
>>>extension=php_curl.dll
>>>extension=php_soap.dllin php.ini (on 
>>> Machine A in php.ini-developement and php.ini-production, too)
>>>  
>>> tried GetCampaigns on two different machines and got two different 
>>> errors.
>>>
>>> Machine A : 
>>>
>>> An error has occurred: SOAP-ERROR: Parsing WSDL: Couldn't load from '
>>> https://adw
>>> ords.google.com/api/adwords//api/adwords/cm/v201309/CampaignService?wsdl' 
>>> : fail
>>> ed to load external entity "
>>> https://adwords.google.com/api/adwords//api/adwords/
>>> cm/v201309/CampaignService?wsdl"
>>>
>>> Machine B:
>>>
>>> Warning: date(): It is not safe to rely on the system's timezone 
>>> settings. You are *required* to use the date.timezone setting or the 
>>> date_default_timezone_set() function. In case you used any of those methods 
>>> and you are still getting this warning, you most likely misspelled the 
>>> timezone identifier. We selected the timezone 'UTC' for now, but please set 
>>> date.timezone to select your timezone. in 
>>> /Applications/XAMPP/xamppfiles/htdocs/adwordsapi/src/Google/Api/Ads/Common/Util/Logger.php
>>>  
>>> on line 236
>>>
>>>
>>> Warning: date(): It is not safe to rely on the system's timezone 
>>> settings. You are *required* to use the date.timezone setting or the 
>>> date_default_timezone_set() function. In case you used any of those methods 
>>> and you are still getting this warning, you most likely misspelled the 
>>> timezone identifier. We selected the timezone 'UTC' for now, but please set 
>>> date.timezone to select your timezone. in 
>>> /Applications/XAMPP/xamppfiles/htdocs/adwordsapi/src/Google/Api/Ads/Common/Util/Logger.php
>>>  
>>> on line 236
>>> An error has occurred: [QuotaCheckError.INCOMPLETE_SIGNUP @ ; 
>>> trigger:'']
>>>
>>>
>>> In both cases we got no soap_xml.log files in the Basic_Operations 
>>> folder.
>>>
>>> On machine A curl doesn't run successfully, but on machine B it does. 
>>> (So I wasn't able to fetch the URL via curl from the same machine that 
>>> throws SOAP ERROR, I'm sorry for this confusion!)
>>>
>>> When we tried to fetch the URL (
>>> https://adwords.google.com/api/adwords/cm/v201309/CampaignService?wsdl) via 
>>> curl we got:
>>>
>>> see Addition (Machine_A.txt, Machine_B.text)
>>>
>>>
>>> We are very grateful for your help!
>>>
>>> Am Montag, 3. März 2014 20:17:27 UTC+1 schrieb Ray Tsang (AdWords API 
>>> Team):

 Math

Re: Got a refresh token for an MCC account, but GetCampaigns results in: AuthenticationError.NOT_ADS_USER

2014-03-07 Thread Frank Tolsma
Ray,

Yes, I am using the Java library.

I thought about using setClientCustomerId(). I think you have to remove the 
'-' from the xxx-xxx- id, but I tried with and without '-', of course. 
But no luck.

The I looked for an example that would do the initial part of what I need 
to do: iterate over the customer accounts. The 
adwords.axis.v201309.accountmanagement.GetAccountHierarchy example does 
that. And it uses the ManagedCustomerServiceInterface, as you suggested. 
But I get the same NOT_ADS_USER error.

I don't know where exactly, because the debugger won't let me step through 
the source code for some reason (I hate these environments where a million 
things can be configured the wrong way), but the logging shows me the 
following:

[07 mrt 2014 14:11:20,961-requestInfoLogger:INFO:main] Request made: 
Service: "*ManagedCustomerServiceInterfacePort*" Method: "get" URL: 
"https://adwords.google.com/api/adwords/mcm/v201309/*ManagedCustomerService*
"
[07 mrt 2014 14:11:21,038-soapXmlLogger:WARN:main] SOAP Request:
http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

https://adwords.google.com/api/adwords/mcm/v201309"; 
soapenv:mustUnderstand="0">
https://adwords.google.com/api/adwords/cm/v201309";>*MCC account 
id*
https://adwords.google.com/api/adwords/cm/v201309";>
*myDeveloperToken*
https://adwords.google.com/api/adwords/cm/v201309";>*Test*(AwApi-Java,
 AdWords-Axis/1.24.0, Common-Java/1.24.0, Axis/1.4, 
Java/1.7.0_51, maven)
https://adwords.google.com/api/adwords/cm/v201309";>false
https://adwords.google.com/api/adwords/cm/v201309";>false



https://adwords.google.com/api/adwords/mcm/v201309";>

https://adwords.google.com/api/adwords/cm/v201309";>Login
https://adwords.google.com/api/adwords/cm/v201309";>CustomerId
https://adwords.google.com/api/adwords/cm/v201309";>Name





[07 mrt 2014 14:11:21,117-soapXmlLogger:WARN:main] SOAP Response:
http://schemas.xmlsoap.org/soap/envelope/";>

https://adwords.google.com/api/adwords/cm/v201309"; 
xmlns="https://adwords.google.com/api/adwords/mcm/v201309";>
0004f40400141fc00adb052a3b83
ManagedCustomerService
get
0
166




soap:Server
[AuthenticationError.NOT_ADS_USER @ ; 
trigger:'']

https://adwords.google.com/api/adwords/mcm/v201309"; 
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201309";>
[*AuthenticationError.NOT_ADS_USER* @ ; 
trigger:'']

ApiException
http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="ns2:AuthenticationError">



AuthenticationError.NOT_ADS_USER

AuthenticationError
NOT_ADS_USER







Exception in thread "main" AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
 faultSubcode: 
 faultString: [AuthenticationError.NOT_ADS_USER @ ; trigger:'']
 faultActor: 
 faultNode: 
 faultDetail: 

{https://adwords.google.com/api/adwords/mcm/v201309}ApiExceptionFault:[AuthenticationError.NOT_ADS_USER
 
@ ; 
trigger:'']ApiExceptionhttp://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="ns2:AuthenticationError">AuthenticationError.NOT_ADS_USERAuthenticationErrorNOT_ADS_USER

[*AuthenticationError.NOT_ADS_USER* @ ; trigger:'']

It looks like: 
ManagedCustomerPage page = managedCustomerService.get(selector); 
is where the error happens.
So it is not even asking to get info about a specific customer account yet, 
but only trying to get a list of customer accounts...

So maybe the MCC refreshToken is wrong? The thing is: I did not generate 
that token. I had the person who owns the MCC account do it for me.
But I can successfully execute the following, so I think that means the MCC 
account info and the refreshToken are ok.

Credential oAuth2Credential = new OfflineCredentials.Builder()
.forApi(Api.ADWORDS)
.fromFile()
.build()
.generateCredential();

// Construct an AdWordsSession.
AdWordsSession session = new AdWordsSession.Builder()
.fromFile()
.withOAuth2Credential(oAuth2Credential)
.build();


thanks,
Frank





Op vrijdag 7 maart 2014 00:08:56 UTC+1 schreef Ray Tsang (AdWords API Team):
>
> Frank,
>
> Jake is right - there is a way to specify the CID.  It sounds like you are 
> using Java client library - what you can do is using 
> AdWordsSession.setClientCustomerId()

QuotaCheckError.INCOMPLETE_SIGNUP Error

2014-03-07 Thread Mahmoud Hamroun
Hi all:

I'm trying to authenticate with Adwords API and I'm getting this 
[QuotaCheckError.INCOMPLETE_SIGNUP] error.

Here some information about my auth.ini file:

- Developer Token taken from Production MCC Account

- Client Customer ID taken from a Child from test MCC account

- Client_id and Client_secret taken from Developers Console Project ( test MCC 
Account )

- Refresh token generated accessing with test MCC Account


All billing information is set in both of accounts

Any ideas?

Thank you.
Production Account : 
Customer ID: 653-301-5553
mccbridgesea...@gmail.com

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: "AdGroupCreativeId" in Click Performance Report doesn't match "Id" in Ad Performance Report

2014-03-07 Thread Fred Cohen
Danial,

Unfortunately it looks like the problem is still there.. the 
AdGroupCreativeID in the Click Performance Report still doesn't not 
reference an ID in the Ad Performance Report.




On Tuesday, February 25, 2014 12:59:57 PM UTC, Fred Cohen wrote:
>
> Hi Danial, 
>
> How far off that API release are we? roughly? weeks? months?
>
> Regards
>
> Fred
>  
> *Fred Cohen*
>
> *Connected Worlds*
>
> *Websites** | **Marketing** | **IT Support** | **Telecoms*
>
> Tel: (+44)01603 819 133
> Email: fredco...@connectedworlds.co.uk
>
> www.connectedworlds.co.uk
>
>  
>
> Connected Worlds Ltd
>
> Registered in England and Wales: 8175376
>
>
> This email, any files transmitted with it and any subsequent emails are 
> confidential, and may be subject to legal privilege, and are intended 
> solely for the use of the individual or entity to whom they are addressed. 
> If you have received this email in error or think you may have done so, you 
> may not peruse, use, disseminate, distribute or copy this message. Please 
> notify the sender immediately and delete the original e-mail from your 
> system. 
>
> Computer viruses can be transmitted by e-mail. Connected Worlds accepts no 
> liability for any damage caused by any virus transmitted by this e-mail. 
>
> Anything stated within this email is opinion only, although every effort 
> will have been made to validate any statement, nothing can be used as a 
> statement of fact in any circumstance.
>  
>
> On 25 February 2014 12:53, Danial Klimkin <
> adwordsapiadvisor+dan...@google.com> wrote:
>
>> Hello Fred,
>>
>>
>> This should be resolved with the next API release. Due to the nature of 
>> the change, we can't make it in between releases.
>>
>>
>> -Danial, AdWords API Team.
>>
>>
>> On Saturday, February 22, 2014 12:21:00 PM UTC+4, Fred Cohen wrote:
>>>
>>> Hi Danial
>>>
>>> Any update on this? It brought my script development to a halt back in 
>>> december and I havent been able to do much since.
>>>
>>> Thanks
>>>
>>> On Wednesday, 12 February 2014 09:46:08 hi UTC, Danial Klimkin  wrote:
>>> > Hello Max,
>>> > 
>>> > 
>>> > 
>>> > 
>>> > I am sorry for the delay on this issue. We are looking for the best 
>>> approach here as it appears to be tricky issue internally.
>>> > 
>>> > 
>>> > 
>>> > 
>>> > -Danial, AdWords API Team.
>>> > 
>>> > 
>>> > On Monday, January 20, 2014 9:30:40 PM UTC+4, Max Amillion wrote:
>>> > A timeline for resolution of this issue would be great. This is a huge 
>>> problem and I have no idea how long it will remain this way - it would be 
>>> great to at least inform clients of an ETA. Thanks!
>>> > 
>>> > On Monday, October 21, 2013 9:26:34 AM UTC-4, Ittai Chorev wrote:
>>> > Hi,
>>> > 
>>> > 
>>> > I pulled a Click Performance Report with the "AdGroupCreativeId" 
>>> attribute on an adgroup with only one click that date.
>>> > Then I pulled an Ad Performance Report on the same adgroup/date and 
>>> the "ID" field in the Ad report (which should match the Ad ID) doesn't 
>>> match the "AdGroupCreativeId" from the Click Performance Report.
>>> > 
>>> > 
>>> > When I added the other attributes they all matched - "Slot", "Device" 
>>> and "KeywordID" (called "CriterionID" in the Click Performance Report).
>>> > 
>>> > 
>>> > Thanks,
>>> > Ittai
>>>
>>>  -- 
>> -- 
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>> Also find us on our blog and Google+:
>> https://googleadsdeveloper.blogspot.com/
>> https://plus.google.com/+GoogleAdsDevelopers/posts
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>>  
>> You received this message because you are subscribed to the Google
>> Groups "AdWords API Forum" group.
>> To post to this group, send email to adwords-api@googlegroups.com
>> To unsubscribe from this group, send email to
>> adwords-api+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/adwords-api?hl=en
>> --- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "AdWords API Forum" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/adwords-api/faoaijq2xjo/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> adwords-api+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

Pull campaign stats for one MCC with sub accounts

2014-03-07 Thread Mike Young
My question is the same exactly what was posted two years ago that is 
below. I have tried everything.how can I change the 
getcampaignstats.php or another file such as Downloadreportcriteria.php and 
hard code the *ClientCustomerId*. 
I will then use this many times each with a different *ClientCustomerId in. 
(Then it will not take the value from AdwordsUser.php*, and I can run many 
of them at one time, via threadding etc)


*Can anyone give me a run down on how to  pull campaign stats for one MCC 
with a LOT of sub accounts within it?*
I can't seem to find much in the way of advice for this.
Example Account Structure for our MCC:

XX, MAIN MCC ACCOUNT
--XX, Sub Account
--XX, Sub Account
--XX, Sub Account
--XX, Sub Account
--XX, Sub Account
--XX, Sub Account
--XX, Sub Account


I need to be able to iterate dynamically through our entire list of 
accounts (quite large 25 clients) and perform a campaign stats report for 
each one, then use the returned data and store it into our own DB.

The campaign stats example file is great (V201306 (will update version 
later), but it takes a hard coded clientCustomerID from the auth.ini file 
in order to run that report with the live service.  
I can run the account hierarchy example file, and get all of our account 
id's, and the client customer ID's of each sub account.
The php client library has lots of example files, but not much in the way 
of 'how-to' guides explaining how to dynamically run reports without the 
use of the auth.ini file, or how I can perform dynamic reporting with 
threading.

Full question and replies are here 
(https://groups.google.com/forum/#!topic/adwords-api/zZB9oaURERM)

The adhoc answer at the bottom does not show full code for php.
I would love to be able to report using this way


 (Someone please help)

Thanks!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: Alert Service required MCC account.

2014-03-07 Thread Ray Tsang (AdWords API Team)
Chirag,

Thanks for the request and response.  I'll be investigating this more.

Cheers,

Ray

On Thursday, March 6, 2014 5:58:45 PM UTC-5, Ray Tsang (AdWords API Team) 
wrote:
>
> Chirag,
>
> Since you are using php, could I trouble you to try this 
> example
> ?
>
> Thanks,
>
> Ray
>
> On Thursday, March 6, 2014 4:24:10 AM UTC-5, Chirag wrote:
>>
>> Hello Ray,
>>
>> Sent you the new request header. I have permission for the user and not 
>> the MCC account.
>> Please note that i have same customerid set for request.
>>
>>
>> On Thursday, March 6, 2014 12:23:25 AM UTC+5:30, Ray Tsang (AdWords API 
>> Team) wrote:
>>>
>>> Chirag,
>>>
>>> I don't think you attached the latest request in the private message. 
>>>  Please note that you can only get alerts with the ID that you have access 
>>> to (based on the clientCustomerId header).
>>>
>>> Thanks,
>>>
>>> Ray
>>>
>>> On Tuesday, March 4, 2014 2:26:07 PM UTC-5, Ray Tsang (AdWords API Team) 
>>> wrote:

 Chirag,

 I noticed that the RequestHeader.clientCustomerId is not the same as 
 the selector.query.clientCustomerIds.  Is the latter managed by the former?

 Thanks,

 Ray

 On Tuesday, February 25, 2014 12:22:05 AM UTC-5, Chirag wrote:
>
> Hello Ray,
>
> request xml also sent.
>
>
>
> On Tuesday, February 25, 2014 1:41:10 AM UTC+5:30, Ray Tsang (AdWords 
> API Team) wrote:
>>
>> Chirag,
>>
>> I only saw the response xml.  Could I trouble you to send the request 
>> XML as well?
>>
>> Thanks,
>>
>> Ray
>>
>> On Monday, February 24, 2014 7:51:58 AM UTC+1, Chirag wrote:
>>>
>>> Hello Ray,
>>>
>>> Replied to author.
>>>
>>>
>>>
>>> On Wednesday, February 12, 2014 9:17:42 PM UTC+5:30, Ray Tsang 
>>> (AdWords API Team) wrote:

 Chirag,

 Just to confirm, you will need to set the clientCustomerIds to a 
 real CID rather than the sample 00.  If you have changed it to 
 the 
 real CID, please use the "Reply to Author" feature to send me your 
 request/response log/payload.

 Thanks!

 --
 Ray Tsang (AdWords API Advisor)


 On Wednesday, January 8, 2014 4:30:17 AM UTC-5, Chirag wrote:
>
> Hello,
> Any update?
> I am waiting for this.
> As on thread you said this was possible but using API it is not 
> possible.
>
>
>
> On Tuesday, December 3, 2013 10:52:24 PM UTC+5:30, Chirag wrote:
>>
>> Hello Paul,
>>
>> Yes, As you can see in my earlier post, i am using the same code 
>> as your one.
>> But as you are not getting any error, i have tryed once again 
>> with no success.
>> Please see my request id here, getting same error - "An error has 
>> occurred: [AlertError.INVALID_CLIENT_ID_SELECTED @ 
>> selector.query.clientExternalCustomerIds[0]] "
>>
>> My request Id : 
>> requestId=0004eca46e3a88200aa4e603090b
>>
>> My Code : 
>>
>> // Create alert query.
>> $query = new AlertQuery();
>> $query->clientSpec = "ID_LIST";
>> $query->clientCustomerIds = array(00);
>> $query->filterSpec = "ALL";
>> $query->triggerTimeSpec = "ALL_TIME";
>>
>> // Create selector.
>> $selector = new AlertSelector();
>> $selector->query = $query;
>>
>> // Create paging controls.
>> $selector->paging = new Paging(0, 
>> AdWordsConstants::RECOMMENDED_PAGE_SIZE);
>>
>> On Tuesday, December 3, 2013 7:48:09 PM UTC+5:30, Paul Matthews 
>> (AdWords API Team) wrote:
>>>
>>> Hi Chirag,
>>>
>>> Here's the code that I've got:
>>>
>>> $query = new AlertQuery();
>>> $query->clientSpec = "ID_LIST";
>>> $query->clientCustomerIds = array(00);
>>> $query->filterSpec = "ALL";
>>> $query->triggerTimeSpec = "ALL_TIME";
>>> $selector = new AlertSelector();
>>> $selector->query = $query;
>>>  // Create paging controls.
>>> $selector->paging = new Paging(0, 
>>> AdWordsConstants::RECOMMENDED_PAGE_SIZE);
>>>
>>>
>>> Where the value of 00 is my (integer) client ID, with 
>>> no hyphens.
>>>
>>> Regards,
>>>
>>> - Paul, AdWords API Team.
>>>
>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and

Criteria predicate in audience performance report

2014-03-07 Thread GregT
Hi,

Sometimes when pulling audience structure data for RLSA with the audience 
performance report, I want to get the data for just one audience for a 
campaign.  However, whenever I try to use a predicate that limits the 
audience, I get back no rows.  The predicates for status and campaign id 
work fine (returning what I would expect if I don't also add in the 
criteria predicate).  I know that audience criteria are a little odd, with 
the "boomuserlist::12345" format 
(https://groups.google.com/forum/#!topic/adwords-api/TwCw8z80I9w), so I'm 
not sure if I'm creating the predicate incorrectly, or it might just not be 
possible.

The predicates I've tried unsuccessfully are predicates where Criteria 
equals boomuserlist::12345 or Criteria equals 12345, where 12345 is the id 
of the audience.  This is with v201309 (Java library).

Should one of these predicates work, or is there a different predicate I 
should use, or is this just not possible?  Obviously, I can work around it 
by filtering by audience id as I parse the report, but I'd rather not if I 
don't have to.

Thanks in advance,
Greg


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: ImageError.SERVER_ERROR when creating ads

2014-03-07 Thread Ray Tsang (AdWords API Team)
Rodrigo,

Thanks!  Just wanted to make sure because it was a common issue.  Could I 
trouble you to run the request again and send me the latest response (with 
the requestId).

Appreciate the help,

Ray

On Thursday, March 6, 2014 9:36:34 PM UTC-5, Rodrigo Ferreira wrote:
>
> Hi Ray, I do 2 and let SoapClient take care of encoding.
>
> I remember trying 1 and always getting an error, whilst 2 works most of 
> the time except for the relatively rare occasions where I run into the 
> issue. 
>
> Em quinta-feira, 6 de março de 2014 20h04min13s UTC-3, Ray Tsang (AdWords 
> API Team) escreveu:
>>
>> Rodrigo,
>>
>> First thing I'd like to make sure how you are setting the file content 
>> into the data field.  Did you do:
>> 1.  ...->data = base64_encode(file_get_content(...)) or
>> 2. ...->data = file_get_content(...)
>>
>> Thanks,
>>
>> On Thursday, March 6, 2014 2:57:16 PM UTC-5, Rodrigo Ferreira wrote:
>>>
>>> I use my own PHP library based on SoapClient component and the specs.
>>>
>>> Em quarta-feira, 5 de março de 2014 19h19min38s UTC-3, Ray Tsang 
>>> (AdWords API Team) escreveu:

 Rodrigo,

 Could I trouble you to confirm what client library are you using?

 Thanks,

 On Monday, March 3, 2014 5:55:43 PM UTC-5, Ray Tsang (AdWords API Team) 
 wrote:
>
> Rodrigo,
>
> Could I trouble you to send me the full request using the "Reply to 
> Author" function?  (with sensitive information stripped out).
>
> Thanks,
>
> Ray
>
> On Wednesday, February 26, 2014 5:12:12 PM UTC-5, Rodrigo Ferreira 
> wrote:
>>
>> Hi there,
>>
>> I am experience the following error when I perform calls to "mutate 
>> ADD" image ads.
>>
>> It seems random and not dependent on input.
>>
>> How should I go about it?
>>
>> Thanks in advance!
>>
>> Best,
>> Rodrigo
>>
>> http://schemas.xmlsoap.org/soap/envelope/
>> ">
>> 
>> https://adwords.google.com/api/adwords/cm/v201309";>
>> 0004f2f24d7d1c980ae064432285
>> AdGroupAdService
>> mutate
>> 0
>> 10183
>> 
>> 
>> 
>> 
>> soap:Server
>> [ImageError.SERVER_ERROR @ 
>> operations[0].operand.ad.image.data]
>> 
>> 
>> https://adwords.google.com/api/adwords/cm/v201309";>
>> [ImageError.SERVER_ERROR @ 
>> operations[0].operand.ad.image.data]
>> ApiException
>> http://www.w3.org/2001/XMLSchema-instance"; 
>> xsi:type="ImageError">
>> operations[0].operand.ad.image.data
>> 
>> ImageError.SERVER_ERROR
>> ImageError
>> SERVER_ERROR
>> 
>> 
>> 
>> 
>> 
>> 
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Getting a wrong Account ID in Campaign Performance Report

2014-03-07 Thread Martin
Hi,
When I download a Campaign Performance Report the Account Id I get is wrong 
although the Account name is correct. It is not even a valid Account Id as 
it is too short.

Any ideas on how to solve this?

I've attached logs for the latest attempt. This is with v201402 although I 
had the same issue last week with v201309
Thanks!

Martin

First lines of the report:
"CAMPAIGN_PERFORMANCE_REPORT (Mar 7, 2014)"
Account ID,Account,Campaign ID,Campaign,Currency,Budget,Budget ID,Budget 
period,Budget explicitly shared
98512001, Correct_Account_Name, other_valid_data

soap_xml
[2014-03-07 10:40:06,687::DEBUG:: (AwApi-Python/15.13.0, 
Common-Python/3.1.1, Python/2.7)] StartTime: 2014-03-07 10:40:03
POST: https://adwords.google.com/api/adwords/reportdownload/v201402
clientCustomerId: Correct_Account_Id
developerToken: ***
Accept-Encoding: gzip
Content-Encoding: gzip
Content-Length: 190
User-Agent: **,gzip
Content-Type: application/x-www-form-urlencoded
Authorization: Bearer 
*

__rdquery=SELECT+AccountId%2C+AccountDescriptiveName%2C+CampaignId%2C+CampaignName%2C+AccountCurrencyCode%2C+TotalBudget%2C+Amount%2C+BudgetId%2C+Period%2C+IsBudgetExplicitlyShared+FROM+CAMPAIGN_PERFORMANCE_REPORT+DURING+TODAY&__fmt=GZIPPED_CSV

HTTP 200
Content-Type: application/x-gzip; charset=UTF-8

Content-Length: 98987

Content-Disposition: /tmp/reportId-null7937318180025389689.tmprpt.csv.gz

Date: Fri, 07 Mar 2014 13:40:06 GMT

Expires: Fri, 07 Mar 2014 13:40:06 GMT

Cache-Control: private, max-age=0

X-Content-Type-Options: nosniff

X-Frame-Options: SAMEORIGIN

X-XSS-Protection: 1; mode=block

Server: GSE

Connection: close
EndTime: 2014-03-07 10:40:06

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: How to get Adwords report size

2014-03-07 Thread Jason Stedman
If Ray's content length suggestion works you could even perform an http HEAD 
method request which should get you just the header so you could decide how to 
handle the report content without dropping the stream and starting over if it 
is too big to hold in memory.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Re: SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://adwords.google.com/api/adwords/cm/v201309/CampaignService?wsdl' : failed to load external entity

2014-03-07 Thread Mathis Lübbers
I wanted to test GetCampaigns.php with the test account and I've done all 
the things that are required (developer token from production MCC)

I have completed billing and T&C setup in production and test account, but 
still there's the incomplete-signUp-error.

I can't understand why I am still getting this error.

Thanks a lot!

Am Donnerstag, 6. März 2014 23:48:59 UTC+1 schrieb Ray Tsang (AdWords API 
Team):
>
> Mathis,
>
> Please see our sign up 
> guideto make sure 
> you have a completed billing and T&C setup.
> Secondly, the the developer token has not been approved - have you 
> submitted the new token form
> ?
>
> The developer token can only be used with test 
> accountsprior 
> to its approval.  Please visit our test account guide for more info.
>
> Thanks!
>
> Ray
>
> On Thursday, March 6, 2014 6:57:46 AM UTC-5, Mathis Lübbers wrote:
>>
>> Hi,
>>
>> I solved the problem regarding the SOAP-ERROR with deinstalling xampp and 
>> installing it again without running any anti-virus program or User 
>> Account Control.
>>
>> Maybe someone has the same problem.
>>
>> Now logically, we have the incomplete sigUp error on both machines. I've 
>> sent you my production MCC CID in private. 
>>
>> Thanks!
>>
>> Am Mittwoch, 5. März 2014 23:09:40 UTC+1 schrieb Ray Tsang (AdWords API 
>> Team):
>>>
>>> Mathis,
>>>
>>> Following up on your private thread - 
>>>
>>> Machine A: even though curl works, it appears you may have additional 
>>> environmental issues that's behind my expertise.  Please make sure both 
>>> machines are setup with the same versions and configurations of PHP, etc.
>>>
>>> Machine B: did you use a developer token from a production MCC?  Please 
>>> send me the MCC CID.
>>>
>>> Thanks,
>>>
>>> On Tuesday, March 4, 2014 2:30:20 PM UTC-5, Ray Tsang (AdWords API Team) 
>>> wrote:

 Mathis,

 This is great:

 Machine A: there is a bigger issue here w/ the machine setup if curl 
 doesn't work at all.  It could be caused by many many factors that's 
 outside of my expertise.

 Machine B: regarding the date function error, please make sure you have 
 set a default 
 timezone
 .

 For INCOMPLETE_SIGNUP_ERROR, please send me your MCC's CID and the AW 
 CID that you are accessing in private (respond to author).

 Thanks!

 --
 Ray Tsang (AdWords API Advisor)


 On Tuesday, March 4, 2014 9:53:03 AM UTC-5, Mathis Lübbers wrote:
>
> Hey Ray,
> thank your for your response!
> I think, I have you to tell the whole problem again, because I've made 
> a mistake in the discription of the problem, sorry therefore!
>
> We have installed the API with it's configurations on two different 
> machines (A,B) using these steps:
>
> download the current php library 
> create MCC production account (developer token in auth.ini)
> create MCC test account (creat client --> client costumer ID in 
> auth.ini)
> create Project at Google Developers Console (client ID , clientSecret 
> in auth.ini)
> get RefreshToken --> insert in auth.ini
> uncomment   extension=php_openssl.dll
>extension=php_curl.dll
>extension=php_soap.dllin php.ini 
> (on Machine A in php.ini-developement and php.ini-production, too)
>  
> tried GetCampaigns on two different machines and got two different 
> errors.
>
> Machine A : 
>
> An error has occurred: SOAP-ERROR: Parsing WSDL: Couldn't load from '
> https://adw
>
> ords.google.com/api/adwords//api/adwords/cm/v201309/CampaignService?wsdl' 
> : fail
> ed to load external entity "
> https://adwords.google.com/api/adwords//api/adwords/
> cm/v201309/CampaignService?wsdl"
>
> Machine B:
>
> Warning: date(): It is not safe to rely on the system's timezone 
> settings. You are *required* to use the date.timezone setting or the 
> date_default_timezone_set() function. In case you used any of those 
> methods 
> and you are still getting this warning, you most likely misspelled the 
> timezone identifier. We selected the timezone 'UTC' for now, but please 
> set 
> date.timezone to select your timezone. in 
> /Applications/XAMPP/xamppfiles/htdocs/adwordsapi/src/Google/Api/Ads/Common/Util/Logger.php
>  
> on line 236
>
>
> Warning: date(): It is not safe to rely on the system's timezone 
> settings. You are *required* to use the date.timezone setting or the 
> date_default_timezone_set() function. In case you used any of those 
> methods 
> and you are still getting this warning,