Date ranges google ads api

2024-07-03 Thread Joshua Rebel
Hi,

How should i transform my date range if i want to compare the following 
data from query:


*SELECT metrics.cost_micros, segments.week, campaign.name FROM campaign 
WHERE metrics.cost_micros > 0 AND segments.date DURING LAST_WEEK_MON_SUN*
with the data of  two weeks ago (MON-SUN).

I can't find the proper date range to use this in my query.

Thanks in advance.

Joshua 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a6955eb6-dedd-43b7-bffe-fdee9d6c0330n%40googlegroups.com.


Re: assetgroup create failure on pmax retail campaign

2023-05-30 Thread Joshua Newman
Thank you for the response and information. I understand what the errors 
mean, but what I don't understand is why Assets are now required for PMax 
retail campaigns now. Was there an announcement about a change in 
requirements for PMax retail? According this documentation 
(https://developers.google.com/google-ads/api/docs/performance-max/assets#:~:text=As%20a%20best%20practice%2C%20we,maximize%20reach%20across%20all%20inventory.=30%20characters%20max%3B%20include%20at,with%2015%20characters%20or%20less.=90%20characters%20max%3B%20include%20at,with%2060%20characters%20or%20less.)
 
, Assets are not required for PMax retail because by linking the Google 
Merchant Account to the PMax campaign assets will be automatically 
generated. This has worked since we migrated from Smart Shopping Campaigns 
to PMax Retail campaigns back in September of 2022. Can someone elaborate 
on this for me?

On Tuesday, May 30, 2023 at 10:03:04 AM UTC-4 Google Ads API Forum Advisor 
wrote:

> Hello,
>
> Thanks for reaching out to the Google Ads API Forum.
>
> Upon checking the provided response logs with our team, I can see that 
> you’ve encountered following errors on your request:
>
>- NOT_ENOUGH_HEADLINE_ASSET 
>- NOT_ENOUGH_LONG_HEADLINE_ASSET 
>- NOT_ENOUGH_DESCRIPTION_ASSET 
>- NOT_ENOUGH_BUSINESS_NAME_ASSET 
>- NOT_ENOUGH_MARKETING_IMAGE_ASSET 
>- NOT_ENOUGH_SQUARE_MARKETING_IMAGE_ASSET 
>- NOT_ENOUGH_LOGO_ASSET 
>
>
> For the above errors, you may refer to this *guide* 
> 
>  
> on why it's being thrown. Also, you may see how to link assets to asset 
> groups using the interactive guide for Performance Max campaigns 
> 
>  
> here: 
> https://developers.google.com/google-ads/api/interactive-guides/performance-max?url=%2Fpmax%2FfullExample%2FassetGroupAssets
>
> If you are using client library, then you may use the sample working 
> example to create retail PMAX here: 
> https://developers.google.com/google-ads/api/samples/add-performance-max-retail-campaign
>
> If error persists after following the above guides, then our team requires 
> the complete request and response logs so that we can check the sequence on 
> how you have added operations in your API request. You may privately 
> provide complete request, response 
> 
>  
> logs with request ID 
> 
>  
> and request header 
> generated
>  
> so that we can check better.
> This message is in relation to case "ref:_00D1U1174p._5004Q2ltog8:ref"
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/20817872-8c84-4cb0-8425-6fa528922ef0n%40googlegroups.com.


AssetGroup create failure on PMax retail campaign

2023-05-26 Thread Joshua Newman
Hello there,

Starting yesterday (5/25/23) we started noticing API errors when attempting 
to create an AssetGroup for our PMax retail campaigns. The Merchant Center 
account is linked to the Google Ads Account and the respective MerchantId 
has been applied to the PMax Retail campaign. According to this 
documentation 
(https://developers.google.com/google-ads/api/docs/performance-max/retail), 
which has always worked for us, by linking to the Merchant Center, assets 
can be automatically generated for the campaign.

Has something changed for PMax retail campaigns? 

{ "StatusCode": 3, "Details": "Request contains an invalid argument.", 
"RequestId": "QfZIKvJKHumWkX-SWKBoWQ", "Failure": { "errors": [ { 
"errorCode": { "assetGroupError": "NOT_ENOUGH_HEADLINE_ASSET" }, "message": 
"Headline asset for a valid asset group is not enough.", "trigger": { 
"stringValue": "Asset type: headline" }, "location": { "fieldPathElements": 
[ { "fieldName": "operations", "index": 0 } ] } }, { "errorCode": { 
"assetGroupError": "NOT_ENOUGH_LONG_HEADLINE_ASSET" }, "message": "Long 
headline asset for a valid asset group is not enough.", "trigger": { 
"stringValue": "Asset type: long headline" }, "location": { 
"fieldPathElements": [ { "fieldName": "operations", "index": 0 } ] } }, { 
"errorCode": { "assetGroupError": "NOT_ENOUGH_DESCRIPTION_ASSET" }, 
"message": "Description headline asset for a valid asset group is not 
enough.", "trigger": { "stringValue": "Asset type: description" }, 
"location": { "fieldPathElements": [ { "fieldName": "operations", "index": 
0 } ] } }, { "errorCode": { "assetGroupError": 
"NOT_ENOUGH_BUSINESS_NAME_ASSET" }, "message": "Business name asset for a 
valid asset group is not enough.", "trigger": { "stringValue": "Asset type: 
business name" }, "location": { "fieldPathElements": [ { "fieldName": 
"operations", "index": 0 } ] } }, { "errorCode": { "assetGroupError": 
"NOT_ENOUGH_MARKETING_IMAGE_ASSET" }, "message": "Marketing image asset for 
a valid asset group is not enough.", "trigger": { "stringValue": "Asset 
type: marketing image" }, "location": { "fieldPathElements": [ { 
"fieldName": "operations", "index": 0 } ] } }, { "errorCode": { 
"assetGroupError": "NOT_ENOUGH_SQUARE_MARKETING_IMAGE_ASSET" }, "message": 
"Square marketing image asset for a valid asset group is not enough.", 
"trigger": { "stringValue": "Asset type: square marketing image" }, 
"location": { "fieldPathElements": [ { "fieldName": "operations", "index": 
0 } ] } }, { "errorCode": { "assetGroupError": "NOT_ENOUGH_LOGO_ASSET" }, 
"message": "Logo asset for a valid asset group is not enough.", "trigger": 
{ "stringValue": "Asset type: logo" }, "location": { "fieldPathElements": [ 
{ "fieldName": "operations", "index": 0 } ] } }, { "errorCode": { 
"assetGroupError": 13 }, "message": "Short description asset for a valid 
asset group is required.", "trigger": { "stringValue": "Asset type: 
description" }, "location": { "fieldPathElements": [ { "fieldName": 
"operations", "index": 0 } ] } } ], "requestId": "QfZIKvJKHumWkX-SWKBoWQ" } 
}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2459149a-1737-4f94-8b5d-cb0aee761aacn%40googlegroups.com.


Re: PMax AgeRange & Gender reporting

2022-08-08 Thread Joshua Newman

Thanks for response, but I don't see any metrics for *campaign_criterion. *I 
would like to be able to get the Gender & AgeRange report with Metrics for 
PMax.
On Sunday, August 7, 2022 at 11:24:35 PM UTC-4 adsapi wrote:

> Hi Joshua,
>  
>
> Thanks for reaching out to the Google Ads API team. I hope you are doing 
> well today.
>  
>
> With regards to your concern, *"Is there a different report view we 
> should be hitting or is this something that is still being worked on for 
> the API?"* for you to get the Gender and the Age range, you may use the 
> campaign_criterion 
> report 
> <https://developers.google.com/google-ads/api/fields/v10/campaign_criterion?hl=en>
>  and 
> include the campaign_criterion.age_range.type 
> <https://developers.google.com/google-ads/api/fields/v10/campaign_criterion?hl=en#campaign_criterion.age_range.type>
>  for 
> age range type and campaign_criterion.gender.type 
> <https://developers.google.com/google-ads/api/fields/v10/campaign_criterion?hl=en#campaign_criterion.gender.type>
>  for 
> gender type.
>  
>
> Let us know if you have further questions.
>  
>
> Regards,
> [image: Google Logo] 
> Darwin 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2dHxwf:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c0faf546-8af9-4a62-9044-d421ecefcbe2n%40googlegroups.com.


PMax AgeRange & Gender reporting

2022-08-05 Thread Joshua Newman
With SmartShopping campaigns being deprecated and being replaced by PMax we 
are trying to find how to report on AgeRange & Gender for Pmax campaigns 
just like we do for SmartShopping. Currently, we are not seeing an obvious 
way to do that since AgeRange & Gender have *AdgroupCriterion *attributed 
resource fields which PMax does not contain since there is no Adgroup in 
PMax. Is there a different report view we should be hitting or is this 
something that is still being worked on for the API?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e0d10b5b-4190-4d9f-9fa4-ad1c1b2cdb9en%40googlegroups.com.


ConversionAction Create Issue

2022-08-05 Thread Joshua Newman
Sometime around  2022-07-28  we started seeing a rare error occurring on 
ConversionAction create when the field *Category *is assigned value 
*ConvertedLead*. At this point we are seeing the error every time for the 
said field assignment. What confuses me is that the error says we are 
sending value *29*, which is not possible because the field is an enum and 
we assign  *ConvertedLead* which is suppose to be value *23*. We are using 
GoogleAdsApi v11. Below is the request & error response:

Request (Using *ConversionActionService.MutateConversionActions*)
{"UpdateMask":null,"Create":{"ResourceName":"","Id":0,"HasId":false,"Name":"ConnectLead-1924967148","HasName":true,"Status":0,"Type":8,"Origin":0,"PrimaryForGoal":false,"HasPrimaryForGoal":false,"Category":23,"OwnerCustomer":"","HasOwnerCustomer":false,"IncludeInConversionsMetric":false,"HasIncludeInConversionsMetric":false,"ClickThroughLookbackWindowDays":0,"HasClickThroughLookbackWindowDays":false,"ViewThroughLookbackWindowDays":30,"HasViewThroughLookbackWindowDays":true,"ValueSettings":{"DefaultValue":1.0,"HasDefaultValue":true,"DefaultCurrencyCode":"","HasDefaultCurrencyCode":false,"AlwaysUseDefaultValue":false,"HasAlwaysUseDefaultValue":false},"CountingType":3,"AttributionModelSettings":{"AttributionModel":104,"DataDrivenModelStatus":0},"TagSnippets":[],"PhoneCallDurationSeconds":0,"HasPhoneCallDurationSeconds":false,"AppId":"","HasAppId":false,"MobileAppVendor":0,"FirebaseSettings":null,"ThirdPartyAppAnalyticsSettings":null},"Update":null,"Remove":"","OperationCase":1}

Error Response:
{{ "errors": [ { "errorCode": { "fieldError": "INVALID_VALUE" }, "message": 
"The field's value is invalid.", "trigger": { "int64Value": "29" }, 
"location": { "fieldPathElements": [ { "fieldName": "operations", "index": 
0 }, { "fieldName": "create" }, { "fieldName": "category" } ] } } ], 
"requestId": "bAPqz_YRlxaeGbODJ6zZ-Q" }}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6d83ee12-5a3f-4953-876b-923e96f398c4n%40googlegroups.com.


Getting InternalServerError on PaymentAccountsService.ListPaymentsAccounts

2022-05-31 Thread Joshua Newman
On 2022-05-27 we started seeing the endpoint 
*PaymentAccountService.ListPaymentsAccounts* now returning 500 
InternalServerError for accounts. 

{{ "errors": [ { "errorCode": { "internalError": "INTERNAL_ERROR" }, 
"message": "An internal error has occurred." } ], "requestId": 
"d_08LdhlmPQWJoc7EncAYQ" }}

We haven't changed how we handle BillingSetup so not sure what the issue is.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3340a1e9-e45a-4bf1-a80d-4095c1382852n%40googlegroups.com.


Re: FinaUrls Readonly for some reason

2022-01-26 Thread Joshua Newman
Not sure if you got my last message as I tried to replay to author 
privately. What we are seeing is that in a .Net VB project, when utilizing 
the Google Ads Api .Net nuget package is that the compiler is seeing a 
syntax error when trying to assign the *FinaUrls* field of the *Ad* object 
meaning we are unable to build the project. I've attached a screenshot of 
the error. Because we are unable to build it means there is no Request or 
Response to supply to you. It seems like either the Nuget package is not 
compatible with .Net VB or there is a bug in the library for VB and not C#.

On Tuesday, January 25, 2022 at 3:11:45 PM UTC-5 adsapi wrote:

> Hi Josh,
>
> Please make sure to send the logs privately by using the *reply privately 
> to author *option, as the logs may contain sensitive data. 
>
>
> Thanks,
> Matt
> Google Ads API Team
>
> [image: Google Logo] 
> Matt 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2VP6B8:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7d5640c3-4e4a-45ce-8b7b-f7c1519f5169n%40googlegroups.com.


FinaUrls Readonly for some reason

2022-01-24 Thread Joshua Newman
Hello,

I'm integrating the latest version of the new Google Ads Api, but when I 
attempt to code the CreateAdGroupAd request in VB I noticed the property 
*FinalUrls*  is *Readonly*. However, in C# the property is not. I've 
attached a screenshot of the Metadata from a C# project & VB project.

Any assistance regarding this issue is greatly appreciated. Thanks

Josh Newman

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8c47db83-64d0-4e25-9592-063026dfcd55n%40googlegroups.com.


Help with requesting a Developers Token

2020-11-13 Thread Joshua W
Hi All,

I currently need some help with applying for a developers token. I am 
building an application, and would like to use the AdWords API to monetize 
it so I can become an affiliate.

I was just filling out the application when I found that you require a 
company URL to apply. I am just a single individual, and don't have a 
website. Is it still possible for me to apply for a Developers Token?

Kind Regards,
Josh

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c12cc953-52eb-43df-885c-d17650e5cdb2n%40googlegroups.com.


API vs Dashboard data mismatch

2020-10-21 Thread Joshua Sircus
Hello,

I am seeing a data mismatch in a few areas between the dashboard and what 
was retrieved from the Adwords API.

I'd like to focus on one data mismatch to start.

For the month of August 2020, email revenue lines up perfectly each day 
with the exception of one day where it is significantly off. The day in 
question is August 13, 2020.

Thank you for your help in advance,
Josh

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6c849766-d164-4853-a2bf-ebbb445d4a92n%40googlegroups.com.


Are certain keyword seeds for TargetingIdeaService forbidden?

2018-10-17 Thread Joshua Kozlowski
I have a client trying to use the TargetingIdeaService to generate entries 
for keywords related to criminal defense attorneys. Seed keywords like 
"violence" return an error with an empty message.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0e7c2396-06c2-4fa1-8cc7-73ff1c1fad78%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Can postal code or city/state data be gleaned from a location ID?

2018-09-13 Thread Joshua Brown
Accidentally posted twice. Admins feel free to delete one of these.

On Thursday, September 13, 2018 at 5:42:09 PM UTC-4, Joshua Brown wrote:
>
> I've been asked to help out on a friend's project. The client is running a 
> nationwide campaign, and when a user clicks on an ad they will be sent to a 
> landing page with a URL like this: 
> https://URL/landing/?loc_physical_ms=1023631. The client wants me to take 
> the location ID (in this case, 1023631), convert it to a geographical 
> location, compare it to a provided JSON list of offices, and put the ID of 
> the office closest to the location ID on the page.
>
> I am new to AdWords, so I'm not sure if this can be done. I know from the 
> LocationCriteria CSV file that 1023631 is Cleveland, but I don't see any 
> ZIP or separate City or State information there that I could use. CSV is 
> probably off the table anyway, as I don't have database access and 
> converting it to JSON would yield an enormous file. If I use the API, can I 
> get postal code or city/state information using the location ID?
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/660eede4-ea0e-49f9-9a96-b4c343cd7c4b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Can postal code or city/state data be gleaned from a location ID?

2018-09-13 Thread Joshua Brown
I've been asked to help out on a friend's project. The client is running a 
nationwide campaign, and when a user clicks on an ad they will be sent to a 
landing page with a URL like this: 
https://URL/landing/?loc_physical_ms=1023631. 
The client wants me to take the location ID (in this case, 1023631), 
convert it to a geographical location, compare it to a provided JSON list 
of offices, and put the ID of the office closest to the location ID on the 
page.

I am new to AdWords, so I'm not sure if this can be done. I know from the 
LocationCriteria CSV file that 1023631 is Cleveland, but I don't see any 
ZIP or separate City or State information there that I could use. CSV is 
probably off the table anyway, as I don't have database access and 
converting it to JSON would yield an enormous file. If I use the API, can I 
get postal code or city/state information using the location ID?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8b78c110-bf41-4582-bcf0-3e472cc714ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Can ZIP or City & State data be gleaned from the Location ID?

2018-09-13 Thread Joshua Brown
I've been asked to help out on a friend's project. The client is running a 
nationwide AdWords campaign, and they are using geotargeting. When the user 
clicks on the ad, they end up on a page with a URL like "
https://URL/new-landing-v4-nf/?loc_physical_ms=1023631 
".
 
The client wants me to take the location ID, convert it to a geographic 
location, compare it against a list of offices in a provided JSON feed, and 
put the ID of the office closest to the AdWords location ID on the landing 
page.

I am pretty new to AdWords. I know from the Location Criteria CSV that 
1023631 is the code for Cleveland, but I don't see a lot of other data 
there that I can grab, and anyway storing or converting that CSV file is 
off the table. I don't have database access and a JSON file would be 
enormous. If I figure out how to use the API, can I get city or even ZIP 
information using the location ID? I don't see a lot of examples on how to 
do this.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3e1d9957-7c8e-4d2e-ad9c-ab29fb80313d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Location Criteria seems to be useless in TrafficEstimatorService?

2017-09-29 Thread Joshua Kozlowski
I believe we found the issue. Looks like the boilerplate example does not 
properly set the criteria. You can only make one setCriteria call. When we 
changed the criteria setting to one single call, the location information 
was included in the request.

$campaignEstimateRequest->setCriteria([$english, $unitedStates]);

On Thursday, September 28, 2017 at 11:03:37 AM UTC-10, Joshua Kozlowski 
wrote:
>
> Hi, it seems like the location isn't being accounted for when estimating 
> traffic.
>
>
> I've been testing this code, 
> https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201708/Optimization/EstimateKeywordTraffic.php,
>  
> exactly (apart from changing the location id and echo'ing it out and using 
> my own ini file).
>
>
>
>   | location id: 2840 (USA)
> -- | --
>   |  
>   | Results for the platform with ID 3 and name 'Desktop':
>   | Estimated average CPC: 805686.00
>   | Estimated ad position: 4.47
>   | Estimated daily clicks: 151.93
>   | Estimated daily cost: 121466368.00
>   |  
>   | Results for the platform with ID 30001 and name 'Mobile':
>   | Estimated average CPC: 687972.00
>   | Estimated ad position: 3.29
>   | Estimated daily clicks: 607.32
>   | Estimated daily cost: 414612608.00
>   |  
>   | Results for the platform with ID 30002 and name 'Tablet':
>   | Estimated average CPC: 805338.00
>   | Estimated ad position: 3.84
>   | Estimated daily clicks: 116.32
>   | Estimated daily cost: 92955896.00
>   |  
>   | Results for the keyword with text 'mars cruise' and match type 'BROAD':
>   | Estimated average CPC: 315898.00
>   | Estimated ad position: 1.06
>   | Estimated daily clicks: 0.02
>   | Estimated daily cost: 5694.00
>   |  
>   | Results for the keyword with text 'cheap cruise' and match type 'PHRASE':
>   | Estimated average CPC: 736021.00
>   | Estimated ad position: 4.27
>   | Estimated daily clicks: 158.41
>   | Estimated daily cost: 115699104.00
>   |  
>   | Results for the keyword with text 'cruise' and match type 'EXACT':
>   | Estimated average CPC: 721342.00
>   | Estimated ad position: 3.62
>   | Estimated daily clicks: 717.14
>   | Estimated daily cost: 513330080.00
>
>
> location id: 1014485 (Denver)
> --
>   |  
>   | Results for the platform with ID 3 and name 'Desktop':
>   | Estimated average CPC: 805896.00
>   | Estimated ad position: 4.46
>   | Estimated daily clicks: 153.78
>   | Estimated daily cost: 122980812.00
>   |  
>   | Results for the platform with ID 30001 and name 'Mobile':
>   | Estimated average CPC: 689388.00
>   | Estimated ad position: 3.27
>   | Estimated daily clicks: 610.89
>   | Estimated daily cost: 417908704.00
>   |  
>   | Results for the platform with ID 30002 and name 'Tablet':
>   | Estimated average CPC: 806074.00
>   | Estimated ad position: 3.82
>   | Estimated daily clicks: 117.41
>   | Estimated daily cost: 93914592.00
>   |  
>   | Results for the keyword with text 'mars cruise' and match type 'BROAD':
>   | Estimated average CPC: 315900.00
>   | Estimated ad position: 1.06
>   | Estimated daily clicks: 0.02
>   | Estimated daily cost: 5739.00
>   |  
>   | Results for the keyword with text 'cheap cruise' and match type 'PHRASE':
>   | Estimated average CPC: 738061.00
>   | Estimated ad position: 4.25
>   | Estimated daily clicks: 160.06
>   | Estimated daily cost: 117224744.00
>   |  
>   | Results for the keyword with text 'cruise' and match type 'EXACT':
>   | Estimated average CPC: 722398.00
>   | Estimated ad position: 3.61
>   | Estimated daily clicks: 722.01
>   | Estimated daily cost: 517573632.00
>
>
> Notice, for example, that the "Estimated daily clicks" for "EXACT" 
> "cruise" is 717.14 for the USA and 722.01 for Denver. Shouldn't the numbers 
> vary more than that?
>
>
> Any ideas?
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/146f6b0b-77b3-45d6-908d-c204871b69cc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Location Criteria seems to be useless in TrafficEstimatorService?

2017-09-28 Thread Joshua Kozlowski


Hi, it seems like the location isn't being accounted for when estimating 
traffic.


I've been testing this code, 
https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201708/Optimization/EstimateKeywordTraffic.php,
 
exactly (apart from changing the location id and echo'ing it out and using 
my own ini file).



  | location id: 2840 (USA)
-- | --
  |  
  | Results for the platform with ID 3 and name 'Desktop':
  | Estimated average CPC: 805686.00
  | Estimated ad position: 4.47
  | Estimated daily clicks: 151.93
  | Estimated daily cost: 121466368.00
  |  
  | Results for the platform with ID 30001 and name 'Mobile':
  | Estimated average CPC: 687972.00
  | Estimated ad position: 3.29
  | Estimated daily clicks: 607.32
  | Estimated daily cost: 414612608.00
  |  
  | Results for the platform with ID 30002 and name 'Tablet':
  | Estimated average CPC: 805338.00
  | Estimated ad position: 3.84
  | Estimated daily clicks: 116.32
  | Estimated daily cost: 92955896.00
  |  
  | Results for the keyword with text 'mars cruise' and match type 'BROAD':
  | Estimated average CPC: 315898.00
  | Estimated ad position: 1.06
  | Estimated daily clicks: 0.02
  | Estimated daily cost: 5694.00
  |  
  | Results for the keyword with text 'cheap cruise' and match type 'PHRASE':
  | Estimated average CPC: 736021.00
  | Estimated ad position: 4.27
  | Estimated daily clicks: 158.41
  | Estimated daily cost: 115699104.00
  |  
  | Results for the keyword with text 'cruise' and match type 'EXACT':
  | Estimated average CPC: 721342.00
  | Estimated ad position: 3.62
  | Estimated daily clicks: 717.14
  | Estimated daily cost: 513330080.00


location id: 1014485 (Denver)
--
  |  
  | Results for the platform with ID 3 and name 'Desktop':
  | Estimated average CPC: 805896.00
  | Estimated ad position: 4.46
  | Estimated daily clicks: 153.78
  | Estimated daily cost: 122980812.00
  |  
  | Results for the platform with ID 30001 and name 'Mobile':
  | Estimated average CPC: 689388.00
  | Estimated ad position: 3.27
  | Estimated daily clicks: 610.89
  | Estimated daily cost: 417908704.00
  |  
  | Results for the platform with ID 30002 and name 'Tablet':
  | Estimated average CPC: 806074.00
  | Estimated ad position: 3.82
  | Estimated daily clicks: 117.41
  | Estimated daily cost: 93914592.00
  |  
  | Results for the keyword with text 'mars cruise' and match type 'BROAD':
  | Estimated average CPC: 315900.00
  | Estimated ad position: 1.06
  | Estimated daily clicks: 0.02
  | Estimated daily cost: 5739.00
  |  
  | Results for the keyword with text 'cheap cruise' and match type 'PHRASE':
  | Estimated average CPC: 738061.00
  | Estimated ad position: 4.25
  | Estimated daily clicks: 160.06
  | Estimated daily cost: 117224744.00
  |  
  | Results for the keyword with text 'cruise' and match type 'EXACT':
  | Estimated average CPC: 722398.00
  | Estimated ad position: 3.61
  | Estimated daily clicks: 722.01
  | Estimated daily cost: 517573632.00


Notice, for example, that the "Estimated daily clicks" for "EXACT" "cruise" 
is 717.14 for the USA and 722.01 for Denver. Shouldn't the numbers vary 
more than that?


Any ideas?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e0fe0ce7-250a-4615-9996-39ae3f152c41%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: how to upload 1 million email on audiences google adwords use api php?

2017-04-28 Thread Joshua Wells
Is there a way to scale that to something like 1MM plus hashed emails? We 
have been able to upload through the GUI a like of that size or double, but 
through the API is comes to a crawl and doesn't seem to process or error 
out.  Using Python library for AdWords API.

On Thursday, June 9, 2016 at 3:55:36 PM UTC-4, Umesh Dengale wrote:
>
> Hello,
>
> You could use the CrmBasedUserList 
> 
>  
> to upload the customer emails. Please check out re-marketing guide 
> 
>  
> for more details. 
>
> Please check out AddCrmBasedUserList 
> 
>  
> example code from Java client library. Other languages example code could 
> be found here 
> . The 
> first call, which is the mutate, creates the CrmBasedUserList, with no 
> members. The subsequent calls are to mutateMembers, which can then add 
> people to the existing list up to 10,000 per operation/request (e.g 
> AdwordsUserListService.mutateMembers(mutateMembersOperation)).  You can 
> only have one operation per user list id when you call mutateMembers. 
>
>
> E.g. you want to upload 100,000 user email to CrmBasedUserList. In this 
> case, to upload 100,000 users, first call, which is the mutate, creates the 
> CrmBasedUserList, with no members and you could have another 10 separate 
> mutateMembers requests(i.e. 10 separate 
> AdwordsUserListService.mutateMembers(mutateMembersOperation1) API calls) 
> each containing 10,000 users in mutateMembersOperation. (e.g. 
> AdwordsUserListService.mutateMembers(mutateMembersOperation1)) , 
> AdwordsUserListService.mutateMembers(mutateMembersOperation2)), ..up to. 
> AdwordsUserListService.mutateMembers(mutateMembersOperation10)).
>
>
> Thanks,
>
> Umesh, AdWords API Team.
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1d3fd5d0-3fba-4931-a488-ec47c38e23d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Developer Token Works, Production Token can't connect

2015-12-07 Thread Joshua Bartley
I might have mixed my words the first time. CLIENT_ID and CLIENT_SECRET is 
the two values we changed. Developer token is the same for the dev server 
and production servers.

I have read the guide, but my error does not make sense because we have 
re-done the OAuth flow multiple times. We changed the server to the 
different CLIENT_ID and CLIENT_SECRET and re-authorize the application to 
that, the authorization flow works but then can no longer access the API. 
I've dumped the request object from the oauth flow to validate the client 
ids and dumped the customer id before sending a request through the PHP 
Library. What is perplexing is that this code works on one server, but as 
soon as we change the CLIENT_ID and CLIENT_SECRET everything stops work, 
even after repeated authorizations through OAUth and verifying the 
application in the google account security section.

Also if I attempt to reconnect the application to AdWords, but it was never 
deactivated, I only get an access token back which tells me the 
authorization flow is correct since the refresh token only shows up on the 
first authorization.

Thanks,
-Josh

On Monday, December 7, 2015 at 10:13:23 AM UTC-5, Umesh Dengale wrote:
>
> Hi Josh,
>
> A developer tokens can be used with any AdWords account, regardless of 
> which manager account was used to apply for it. A developer token 
>  
> is 
> associated with a manager account simply for record-keeping purposes.
>  
> The AuthorizationError.USER_PERMISSION_DENIED means your OAuth credentials 
> don't match clientCustomerId you specify. Basically, login you are using 
> doesn't have access to the account you are trying to touch. BTW, this is 
> covered here 
> .
>  
> Please re-do the OAuth flow (generate new refresh token) making sure you 
> are logged in under a proper account(MCC account owner). Please check out 
> OAuth2.0 
> PHP guide 
> 
>  for 
> more details. 
>
> Regards,
> Umesh, AdWords API Team.
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c2cbfd7c-9aed-411a-a946-4f1fbc33a042%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Developer Token Works, Production Token can't connect

2015-12-04 Thread Joshua Bartley
For my application we have two developer tokens(or applications), one for 
development, and one approved for production use. On the development server 
we can connect and reconnect to our test mcc accounts perfectly. Switch out 
the CLIENT_ID, CLIENT_SECRET, DEVELOPER_TOKEN causes the code to break. The 
current error is "USER_PERMISSION_DENIED". The accounts are linked, because 
I see it in my accounts application access and if I attempt a reconnect, I 
only receive an access token, no refresh_token like when I disconnect and 
connect the first time and receive an refresh_token. We are using the PHP 
client library for access.

I wanted to see if anyone has had this issue or if anything sounded 
familiar enough to help guide me on where to look or how to troubleshoot 
this more.

Thanks,
-Josh

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4c2049ef-5fe4-4d79-aaa2-642f1905d778%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


GLCID

2015-04-02 Thread Joshua Gideon
I am logging adwords traffic and monitoring competitor's fraud clicks.

Often I see repeat visits with same glcid. Will these visits account 
towards adword billing or is it billed only once per glcid?

Can someone also explain how google adwords assign glcid?

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/83399b8a-4ab7-4539-8d62-f4a2a739e303%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Test MCC account fails account setup

2014-12-02 Thread Joshua Bartley
I created a test MCC account, when I first log into the account I get 
constant pop ups that a save didn't occur and to log out and log back in. I 
cleared all my cookies and used a different browser, same error but I can't 
get past the create the campaign step. This was after a few attempts where 
I figured out that test mcc accounts are not compatible with google apps 
accounts. 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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/cc98bcd7-9d53-4eb0-b5ca-7bd7ea40aaac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


AuthorizationError.USER_PERMISSION_DENIED

2014-06-09 Thread Joshua Newman
Recently migrated from clientLogin to Oauth2 and had no problem retrieving 
the access token and refresh token for our managed accounts. I now have 1 
account getting this error while using Oauth2:

Google.Api.Ads.AdWords.Lib.AdWordsApiException: An API exception has 
occurred. See ApiException and InnerException fields for more details. --- 
System.Web.Services.Protocols.SoapException: 
[AuthorizationError.USER_PERMISSION_DENIED @ ; trigger:'']

I've checked the developer token and the clientCustomerId and both are 
correct. Also the account was able to get Oauth2 access and refresh tokens; 
the account successfully refreshes the access token too. Any help is 
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: AuthorizationError.USER_PERMISSION_DENIED

2014-06-09 Thread Joshua Newman
Thanks for the response. No other account is behaving this way and I think 
its because what we had to do to link it. Initially the account's password 
had been changed so we couldn't get it an oauth2 access/refresh token. To 
fix this we added a new user to the account with administrative access then 
requested the oauth2 tokens using the new email/password combination. Now 
everytime we use oauth2 with this account we get the USER_PERMISSION_DENIED 
error. I also double checked that the account's oauth2 tokens were acquired 
using the correct email/password. I'm not sure where to go from here.

On Monday, June 9, 2014 10:46:48 AM UTC-4, Josh Radcliff (AdWords API Team) 
wrote:

 Hi,

 That error indicates that the user associated with the OAuth2 access token 
 in the request does not have access to the account in the 
 *clientCustomerId* SOAP header. Two common causes for this are:

 1. The OAuth2 refresh token was obtained while logged in as an MCC, but 
 that MCC no longer has access to the client account.
 2. When obtaining the OAuth2 refresh token you (or the user who went 
 through the flow) were logged into some other Google account that does not 
 have access to the client account. You will be able to get a refresh token 
 (or access token) for the AdWords scope regardless of whether the user has 
 an AdWords account since the OAuth2 flow does not check if an AdWords 
 account exists for the user -- it merely grants access to the AdWords scope 
 for that user.

 Also, the developer token has *no impact* on authorization. A valid 
 OAuth2 access token can be used to make API requests against your account 
 using *any* developer token, as the developer token is not part of the 
 OAuth2 flow.

 Cheers,
 Josh, AdWords API Team

 On Monday, June 9, 2014 9:12:41 AM UTC-4, Joshua Newman wrote:

 Recently migrated from clientLogin to Oauth2 and had no problem 
 retrieving the access token and refresh token for our managed accounts. I 
 now have 1 account getting this error while using Oauth2:

 Google.Api.Ads.AdWords.Lib.AdWordsApiException: An API exception has 
 occurred. See ApiException and InnerException fields for more details. --- 
 System.Web.Services.Protocols.SoapException: 
 [AuthorizationError.USER_PERMISSION_DENIED @ ; trigger:'']

 I've checked the developer token and the clientCustomerId and both are 
 correct. Also the account was able to get Oauth2 access and refresh tokens; 
 the account successfully refreshes the access token too. Any help is 
 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.


.net Oauth2 Report Download error

2014-04-30 Thread Joshua Newman
Recently migrated from clientLogin to Oauth2 and had no problem retrieving 
the access token and refresh token. Now when I do report downloads using 
Oauth2 I get this: 

 Adwords error: Google.Api.Ads.AdWords.Util.Reports.ReportDownloadError

ReportDownloadError.INVALID_PARAMETER

 

Missing client information

4/29/2014 8:57:03 PM:   stack trace   at 
Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadReportToStream(String
 
downloadUrl, Boolean returnMoneyInMicros, String postBody, Stream 
outputStream) in c:\src\MyProjects\now\Common library 
base\adwords\compile\Util\Reports\ReportUtilities.cs:line 302

   at 
Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.GetClientReportInternal(String
 
downloadUrl, String postBody, Boolean returnMoneyInMicros) in 
c:\src\MyProjects\now\Common library 
base\adwords\compile\Util\Reports\ReportUtilities.cs:line 231

   at 
Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.GetClientReport[T](T 
reportDefinition, Boolean returnMoneyInMicros) in 
c:\src\MyProjects\now\Common library 
base\adwords\compile\Util\Reports\ReportUtilities.cs:line 153

   at AdwordsReconciler.AdwordsReconciler.GetClientReport(Logger l, 
DateTime day, AdWordsUser u) in 
c:\Users\Joshua.Newman\Documents\SiteWit\Local 
Source\Services\Development\Adwords 
Services\AdwordsReconciler\AdwordsReconciler.cs:line 127

4/29/2014 8:57:03 PM:  

MessageReport download errors occurred, see errors field for more details.

4/29/2014 8:57:03 PM:  

Source Google.AdWords

4/29/2014 8:57:03 PM:   stack trace   at 
AdwordsReconciler.AdwordsReconciler.GetClientReport(Logger l, DateTime day, 
AdWordsUser u) in c:\Users\Joshua.Newman\Documents\SiteWit\Local 
Source\Services\Development\Adwords 
Services\AdwordsReconciler\AdwordsReconciler.cs:line 141

   at AdwordsReconciler.AdwordsReconciler.GetReconciliationReport(Logger l, 
DateTime day, AdWordsUser u, Int32 masterAccountId) in 
c:\Users\Joshua.Newman\Documents\SiteWit\Local 
Source\Services\Development\Adwords 
Services\AdwordsReconciler\AdwordsReconciler.cs:line 63

   at 
AdwordsReconcilerReportGenerator.ReportGenerator._svcTimer_Elapsed(Object 
sender, ElapsedEventArgs e) in 
c:\Users\Joshua.Newman\Documents\SiteWit\Local 
Source\Services\Development\Adwords 
Services\AdwordsReconcilerReportGenerator\ReportGenerator.cs:line 76

4/29/2014 8:57:03 PM:  

MessageObject reference not set to an instance of an object.


I set the following headers:

clientCustomerId: xx

Authorization: Bearer client Oauth2 Token

developerToken : ConfigurationManager.AppSettings[AdwordsDevToken]

applicationToken: ConfigurationManager.AppSettings[AdwordsAppToken]

useragent : SiteWit v0.1


What client information am I missing?





-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.


Test Account Approval?

2013-02-14 Thread Joshua
Hi there,
I applied for an API Test account and MCC on 2/1/13, and was told to 
confirm that we only need a test account at the moment a few days ago. Then 
no more contacts regarding this. I remember it said we should hear back 
within 10 days but now it has been longer than that. Wondering if there is 
any update on this?

Thanks,

-Joshua

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

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

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




Re: State/Province list for Location Extension

2012-08-15 Thread Joshua Chan
Are there any updates on this, by any chance?

On Thursday, August 9, 2012 4:04:42 PM UTC-7, Joshua Chan wrote:

 Hi Eric,

 Do you know why using the provinceCode in a request for a South African 
 address returns an InvalidGeoLocation?

 Using the address of the Google Johannesburg office, here's a request that 
 works:
 'streetAddress2': None, 
 'countryCode': 'ZA', 
 'cityName': 'Bryanston, Johannesburg', 
 'streetAddress': 'Cnr Main  Sloane Street', 
 'provinceCode': 'GT', 
 'postalCode': '2012'

 But adding any of these makes it not work:
 'provinceCode': 'ZA-GT'
 'provinceCode': 'GT'

 Johannesburg is in the province of Gauteng and the province code of 
 'ZA-GT' is retrieved from 
 https://developers.google.com/adwords/api/docs/appendix/provincecodes#South%20Africa
 Also noticed that in the UI, there's no dropdown for the province for 
 South Africa. Is provinceCode needed then?

 Thanks,
 Josh


 On Friday, September 30, 2011 1:57:01 PM UTC-7, Eric Koleda wrote:

 Hi Alexander,

 I'm able to geocode that address without any problems:

 selector
   addresses
  streetAddress235 Regent Street/streetAddress
  cityNameLondon/cityName
  provinceNameEngland/provinceName
  provinceCodeENG/provinceCode
  postalCodeW1B 2EL/postalCode
  countryCodeGB/countryCode
   /addresses
 /selector

 rval
   geoPoint
  latitudeInMicroDegrees51514343/latitudeInMicroDegrees
  longitudeInMicroDegrees-141765/longitudeInMicroDegrees
   /geoPoint
   address
  streetAddress235 Regent Street/streetAddress
  cityNameLondon/cityName
  provinceCodeENG/provinceCode
  provinceNameEngland/provinceName
  postalCodeW1B 2EL/postalCode
  countryCodeGB/countryCode
   /address
   encodedLocationqrvM3.../encodedLocation
   GeoLocation.TypeGeoLocation/GeoLocation.Type
 /rval

 Best,
 - Eric



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

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


Re: State/Province list for Location Extension

2012-08-09 Thread Joshua Chan
Hi Eric,

Do you know why using the provinceCode in a request for a South African 
address returns an InvalidGeoLocation?

Using the address of the Google Johannesburg office, here's a request that 
works:
'streetAddress2': None, 
'countryCode': 'ZA', 
'cityName': 'Bryanston, Johannesburg', 
'streetAddress': 'Cnr Main  Sloane Street', 
'provinceCode': 'GT', 
'postalCode': '2012'

But adding any of these makes it not work:
'provinceCode': 'ZA-GT'
'provinceCode': 'GT'

Johannesburg is in the province of Gauteng and the province code of 'ZA-GT' 
is retrieved from 
https://developers.google.com/adwords/api/docs/appendix/provincecodes#South%20Africa
Also noticed that in the UI, there's no dropdown for the province for South 
Africa. Is provinceCode needed then?

Thanks,
Josh


On Friday, September 30, 2011 1:57:01 PM UTC-7, Eric Koleda wrote:

 Hi Alexander,

 I'm able to geocode that address without any problems:

 selector
   addresses
  streetAddress235 Regent Street/streetAddress
  cityNameLondon/cityName
  provinceNameEngland/provinceName
  provinceCodeENG/provinceCode
  postalCodeW1B 2EL/postalCode
  countryCodeGB/countryCode
   /addresses
 /selector

 rval
   geoPoint
  latitudeInMicroDegrees51514343/latitudeInMicroDegrees
  longitudeInMicroDegrees-141765/longitudeInMicroDegrees
   /geoPoint
   address
  streetAddress235 Regent Street/streetAddress
  cityNameLondon/cityName
  provinceCodeENG/provinceCode
  provinceNameEngland/provinceName
  postalCodeW1B 2EL/postalCode
  countryCodeGB/countryCode
   /address
   encodedLocationqrvM3.../encodedLocation
   GeoLocation.TypeGeoLocation/GeoLocation.Type
 /rval

 Best,
 - Eric


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

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


Re: Error in PHP code example

2011-11-15 Thread Joshua J. Kugler
On Monday, November 14, 2011, Eric Koleda elucidated thus:
 Hi Joshua,
 
 Have you created an instance of the ServicedAccountService at that
 point? These classes aren't loaded until the service has been
 created, to avoid name conflicts.  You can alternatively use the new
 LoadService() method, which will load the classes but not create an
 instance of the service:
 
 http://google-api-adwords-php.googlecode.com/svn/trunk/docs/GoogleApi
 AdsAdWords/Lib/AdWordsUser.html#LoadService
 
 Best,
 - Eric Koleda, AdWords API Team

No, I had not.  Thanks for pointing that out.  After including the 
source code, I assumed all classes were available.  Also, I had read in 
the documentation that service-specific selectors has been replaced with 
generic selectors, thus I assumed it was natural to get an error.

Thanks for the clarification.

j

-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com - Fairbanks, AK
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

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

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


Error in PHP code example

2011-11-09 Thread Joshua J. Kugler
On page 
http://code.google.com/p/google%2dapi%2dadwords%2dphp/source/browse/trunk/examples/v201109/GetAccountHierarchy.php#79
 
and following, it says this:

  // Create selector.
  $selector = new ServicedAccountSelector();
  // To get the links paging must be disabled.
  $selector-enablePaging = FALSE;

But, trying to run that gives me:

PHP Fatal error:  Class 'ServicedAccountSelector' not found in 
/home/jkugler/crc/sites/crcrm.com/tools/account_test.php on line 63

However, making that a standard selector seems to work fine (at least 
it returns results).  Yes, this is using v201109.

Something wrong with my code install, or in the example?

j

-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com - Fairbanks, AK
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

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

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


Re: Negative keywords lists via the API

2011-08-16 Thread Joshua Chan
Are these negative keyword lists available through the API now by any 
chance?
If the lists themselves cannot be accessed, are the negative keywords in 
these lists retrievable through other means, perhaps through the campaigns 
that they're applied on?

Thanks,
Joshua

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

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


Re: Client Email (Eronously) Invalid

2011-07-21 Thread Joshua Chan
Are there any updates on this by any chance? I'm getting the same error as 
well - 
http://code.google.com/apis/adwords/forum.html?place=topic%2Fadwords-api%2FyeuB4TT3dB0

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

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


Getting 'Invalid client email specified' using clientEmail from ServicedAccountService

2011-07-19 Thread Joshua Chan
Is there a reason why adding clientEmail in the header of a request will 
cause an Invalid client email specified. exception but run successfully 
when I include just the clientCustomerId in the header? The clientEmail was 
returned through ServicedAccountService so I wouldn't think it's invalid. 
I'm also able to successfully log into the account through the AdWords 
client and this is only happening to this one account out of many others. If 
someone could explain why this is happening, that would be great. Thanks.


Request id for getting accounts from ServicedAccountService (v201008): 
0004a8729ac186f80a1417ca032af200

No request id for after calling AccountService.GetAccountInfo() (v13) with 
both clientEmail and clientCustomerId included but here's the log:
*** Outgoing SOAP **
?xml version=1.0 encoding=UTF-8?
SOAP-ENV:Envelope 
xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/; 
xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:ZSI=http://www.zolera.com/schemas/ZSI/; 
xmlns:xsd=http://www.w3.org/2001/XMLSchema; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
SOAP-ENV:Header
clientCustomerIdxx/clientCustomerId
developerTokenxx/developerToken
clientEmail[client email obtained from previous call]/clientEmail
useragentAwApi-Python-13.1.0|Test Client/useragent
passwordxx/password
emailxx/email
/SOAP-ENV:Header
SOAP-ENV:Body xmlns:ns1=https://adwords.google.com/api/adwords/v13;
ns1:getAccountInfo
/ns1:getAccountInfo
/SOAP-ENV:Body
/SOAP-ENV:Envelope

*** Incoming HTTP headers **
500 Internal Server Error 
Content-Type: text/xml; charset=utf-8
Content-Encoding: gzip
Date: Tue, 19 Jul 2011 21:16:08 GMT
Expires: Tue, 19 Jul 2011 21:16:08 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Content-Length: 313
Server: GSE

*** Incoming SOAP **
?xml version=1.0 encoding=UTF-8?
soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:xsd=http://www.w3.org/2001/XMLSchema; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 soapenv:Body
  soapenv:Fault
   faultcodesoapenv:Server.userException/faultcode
   faultstringInvalid client email specified./faultstring
   detail
ns1:fault xmlns:ns1=https://adwords.google.com/api/adwords/v13;
 ns1:code9/ns1:code
 ns1:messageInvalid client email specified./ns1:message
 ns1:trigger[client email obtained from previous call]/ns1:trigger
/ns1:fault
   /detail
  /soapenv:Fault
 /soapenv:Body
/soapenv:Envelope


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

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


Re: CampaignService returning extra campaigns

2011-07-07 Thread Joshua Chan
Thanks for the tip but that field didn't really make any difference. It 
turns out that the call is also returning Campaigns with Media Ads.

Is there any more information about Media Ads in relation to the API that I 
can read up on?

Thanks

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

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


CampaignService returning extra campaigns

2011-07-06 Thread Joshua Chan
Hi,

I'm using Get from the CampaignService and it's returning two more campaigns 
than what's shown live in the AdWords Client. I'm using v200909 and only 
have one filter (campaignStatuses as ACTIVE) in the request. Do you know any 
reason why it's behaving this way? The requestId is 
3f9eadc7baf092456360ee1741177d77.

Thanks

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

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


Re: InternalApiError.UNEXPECTED_INTERNAL_API_ERROR in CustomerSyncService

2011-06-23 Thread Joshua Chan
Are there any new updates on this by any chance?

Joshua


On Jun 7, 12:53 pm, Wussyme wuss...@gmail.com wrote:
 J

 Kim Collins (770)875-8130

 On Jun 7, 2011, at 7:40 AM, jchan jchan...@gmail.com wrote:







  Hi Eric,

  that's unfortunate to hear. This error still occurs every single time
  the service is used for this specific account. So far we haven't seen
  it happen in any other account though.

  Thanks,
  Joshua

  On Jun 3, 1:30 pm, Eric Koleda eric.kol...@google.com wrote:
  Hi Joshua,

  I don't have any updates at this time.  Have you seen any changes  
  in the
  rate or range of this error?

  Best,
  - Eric

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

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

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

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


Re: Internal API Error using CampaignTargetService

2011-06-21 Thread Joshua Chan
Hi David,

I just tried the request again and this time I get a different error
that's much more informative than that of five days ago -
SizeLimitError.RESPONSE_SIZE_LIMIT_EXCEEDED

I believe the general advice for this error is to use Paging but I
don't see it supported in v201008's CampaignTargetService:
http://code.google.com/apis/adwords/docs/reference/v201008/CampaignTargetService.CampaignTargetSelector.html
Is there any way to retrieve all the data without having to upgrade
the API or retrieve data from each campaign individually (if that
doesn't hit this error as well)?

The request id is dc8bfa3d6610094e2e31a2aed9b4fe12

Thanks,
Joshua


On Jun 21, 12:54 pm, David Torres davi...@google.com wrote:
 Hi,

 I'm not able to find your request in our logs, do you mind posting a
 more fresh request id? and I'l be glad to investigate.

 Best,

 -David Torres - AdWords API Team

 On Jun 16, 1:49 pm, Joshua Chan jchan...@gmail.com wrote:







  Hello,

  while using v13's CampaignTargetService.Get on a certain account, I've been
  consistently encountering an InternalApiError.UNEXPECTED_INTERNAL_API_ERROR.
  It has never happened to any other accounts that I've been working with and
  waiting to retry the request doesn't seem to solve the issue. The request id
  is c5055778831a63977285999a3f4386b0 and I've listed the SOAP request and
  response below.

  Thanks,
  Joshua

  *** Outgoing SOAP **
  ?xml version=1.0 encoding=UTF-8?
  SOAP-ENV:Envelope
  xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/;
  xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/;
  xmlns:ZSI=http://www.zolera.com/schemas/ZSI/;
  xmlns:xsd=http://www.w3.org/2001/XMLSchema;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  SOAP-ENV:Header
  RequestHeader xmlns=https://adwords.google.com/api/adwords/cm/v201008;
  authTokenxx/authToken
  userAgentAwApi-Python-13.1.0|Test Client/userAgent
  developerTokenxx/developerToken
  /RequestHeader
  /SOAP-ENV:Header
  SOAP-ENV:Body
  xmlns:ns1=https://adwords.google.com/api/adwords/cm/v201008;
  ns1:get xmlns:ns1=https://adwords.google.com/api/adwords/cm/v201008;
  ns1:selector
  ... List of campaignIds ...
  /ns1:selector
  /ns1:get
  /SOAP-ENV:Body
  /SOAP-ENV:Envelope
  

  *** Incoming SOAP **
  ?xml version=1.0 encoding=UTF-8?
  soap:Envelope
  xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;soap:HeaderResponseHeader
  xmlns=https://adwords.google.com/api/adwords/cm/v201008;requestIdc5055778831a63977285999a3f4386b0/requestIdoperations1/operationsresponseTime373/responseTimeunits1/units/ResponseHeader/soap:Headersoap:Bodysoap:Faultfaultcodesoap:Server/faultcodefaultstring[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
  @
  [Ljava.lang.StackTraceElement;@161ddf3]/faultstringdetailApiExceptionFault
  xmlns=https://adwords.google.com/api/adwords/cm/v201008;message[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
  @
  [Ljava.lang.StackTraceElement;@161ddf3]/messageApplicationException.TypeApiException/ApplicationException.Typeerrors
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xsi:type=InternalApiErrorfieldPath/fieldPathtrigger/triggererrorStringInternalApiError.UNEXPECTED_INTERNAL_API_ERROR/errorStringApiError.TypeInternalApiError/ApiError.TypereasonUNEXPECTED_INTERNAL_API_ERROR/reason/errors/ApiExceptionFault/detail/soap:Fault/soap:Body/soap:Envelope
  

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

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


Different Search Query Performance data returned from v13 and v201008

2011-06-17 Thread Joshua Chan
Greetings,

I'm currently trying to migrate my search query performance reports from v13 
to v201008 but there seems to be data discrepancies between the returned 
results (in this account, 430 more entries in v13 than v201008 in a total of 
43984 entries). The main change would be that v201008 is downloaded in 
GZIPPED_CSV and that in v201008, I've added the 'Date' field since the v13 
report was aggregated by [AdGroup, Daily]. Would anyone have any idea why 
they may be different?

Thanks for the help,
Joshua


The reports in question and their SOAP requests are as follows.
v13 report id: 1700313379
v201008 report id: 55101379


v13 request:
?xml version=1.0 encoding=UTF-8?
SOAP-ENV:Envelope 
xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/; 
xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:ZSI=http://www.zolera.com/schemas/ZSI/; 
xmlns:xsd=http://www.w3.org/2001/XMLSchema; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
SOAP-ENV:Header
useragentAwApi-Python-13.1.0|Test Client/useragent
passwordxx/password
developerTokenxx/developerToken
clientEmailxx/clientEmail
emailxx/email
/SOAP-ENV:Header
SOAP-ENV:Body xmlns:ns1=https://adwords.google.com/api/adwords/v13;
ns1:validateReportJob
ns1:job xsi:type=ns1:DefinedReportJob
ns1:endDay2011-06-16/ns1:endDay
ns1:namexx/ns1:name
ns1:startDay2011-03-01/ns1:startDay
ns1:adWordsTypeSearchOnly/ns1:adWordsType
ns1:aggregationTypesAdGroup/ns1:aggregationTypes
ns1:aggregationTypesDaily/ns1:aggregationTypes
ns1:selectedColumnsAdGroup/ns1:selectedColumns
ns1:selectedColumnsCampaignId/ns1:selectedColumns
ns1:selectedColumnsQuery/ns1:selectedColumns
ns1:selectedColumnsClicks/ns1:selectedColumns
ns1:selectedColumnsImpressions/ns1:selectedColumns
ns1:selectedColumnsConversions/ns1:selectedColumns
ns1:selectedColumnsCost/ns1:selectedColumns
ns1:selectedColumnsAveragePosition/ns1:selectedColumns
ns1:selectedColumnsMatchType/ns1:selectedColumns
ns1:selectedReportTypeQuery/ns1:selectedReportType
/ns1:job
/ns1:validateReportJob
/SOAP-ENV:Body
/SOAP-ENV:Envelope


v201008 request:
?xml version=1.0 encoding=UTF-8?
SOAP-ENV:Envelope 
xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/; 
xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:ZSI=http://www.zolera.com/schemas/ZSI/; 
xmlns:xsd=http://www.w3.org/2001/XMLSchema; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
SOAP-ENV:Header
RequestHeader xmlns=https://adwords.google.com/api/adwords/cm/v201008;
authTokenxx/authToken
userAgentAwApi-Python-13.1.0|WS Client/userAgent
clientCustomerIdxx/clientCustomerId
developerTokenxx/developerToken
/RequestHeader
/SOAP-ENV:Header
SOAP-ENV:Body 
xmlns:ns1=https://adwords.google.com/api/adwords/cm/v201008;
ns1:mutate xmlns:ns1=https://adwords.google.com/api/adwords/cm/v201008;
ns1:operations
ns1:operatorADD/ns1:operator
ns1:operand
ns1:selector
ns1:fieldsDate/ns1:fields
ns1:fieldsAdGroupName/ns1:fields
ns1:fieldsCampaignId/ns1:fields
ns1:fieldsQuery/ns1:fields
ns1:fieldsClicks/ns1:fields
ns1:fieldsImpressions/ns1:fields
ns1:fieldsConversions/ns1:fields
ns1:fieldsCost/ns1:fields
ns1:fieldsAveragePosition/ns1:fields
ns1:fieldsMatchType/ns1:fields
ns1:dateRange
ns1:min20110301/ns1:min
ns1:max20110616/ns1:max
/ns1:dateRange
/ns1:selector
ns1:reportNamexx/ns1:reportName
ns1:reportTypeSEARCH_QUERY_PERFORMANCE_REPORT/ns1:reportType
ns1:dateRangeTypeCUSTOM_DATE/ns1:dateRangeType
ns1:downloadFormatGZIPPED_CSV/ns1:downloadFormat
/ns1:operand
/ns1:operations
/ns1:mutate
/SOAP-ENV:Body
/SOAP-ENV:Envelope

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

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


Internal API Error using CampaignTargetService

2011-06-16 Thread Joshua Chan
Hello,

while using v13's CampaignTargetService.Get on a certain account, I've been 
consistently encountering an InternalApiError.UNEXPECTED_INTERNAL_API_ERROR. 
It has never happened to any other accounts that I've been working with and 
waiting to retry the request doesn't seem to solve the issue. The request id 
is c5055778831a63977285999a3f4386b0 and I've listed the SOAP request and 
response below.

Thanks,
Joshua


*** Outgoing SOAP **
?xml version=1.0 encoding=UTF-8?
SOAP-ENV:Envelope 
xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/; 
xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:ZSI=http://www.zolera.com/schemas/ZSI/; 
xmlns:xsd=http://www.w3.org/2001/XMLSchema; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
SOAP-ENV:Header
RequestHeader xmlns=https://adwords.google.com/api/adwords/cm/v201008;
authTokenxx/authToken
userAgentAwApi-Python-13.1.0|Test Client/userAgent
developerTokenxx/developerToken
/RequestHeader
/SOAP-ENV:Header
SOAP-ENV:Body 
xmlns:ns1=https://adwords.google.com/api/adwords/cm/v201008;
ns1:get xmlns:ns1=https://adwords.google.com/api/adwords/cm/v201008;
ns1:selector
... List of campaignIds ...
/ns1:selector
/ns1:get
/SOAP-ENV:Body
/SOAP-ENV:Envelope


*** Incoming SOAP **
?xml version=1.0 encoding=UTF-8?
soap:Envelope 
xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/;soap:HeaderResponseHeader
 
xmlns=https://adwords.google.com/api/adwords/cm/v201008;requestIdc5055778831a63977285999a3f4386b0/requestIdoperations1/operationsresponseTime373/responseTimeunits1/units/ResponseHeader/soap:Headersoap:Bodysoap:Faultfaultcodesoap:Server/faultcodefaultstring[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
 
@ 
[Ljava.lang.StackTraceElement;@161ddf3]/faultstringdetailApiExceptionFault 
xmlns=https://adwords.google.com/api/adwords/cm/v201008;message[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
 
@ 
[Ljava.lang.StackTraceElement;@161ddf3]/messageApplicationException.TypeApiException/ApplicationException.Typeerrors
 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:type=InternalApiErrorfieldPath/fieldPathtrigger/triggererrorStringInternalApiError.UNEXPECTED_INTERNAL_API_ERROR/errorStringApiError.TypeInternalApiError/ApiError.TypereasonUNEXPECTED_INTERNAL_API_ERROR/reason/errors/ApiExceptionFault/detail/soap:Fault/soap:Body/soap:Envelope


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

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


Re: It's 2011, please make a REST API.

2011-06-10 Thread Joshua J. Kugler
On Friday 10 June 2011, Reed elucidated thus:
 The reason that the adWords SOAP interface, and the usefulness of the
 various client libraries in trying to abstract out some of the
 intricacies of the interface, is because AdWords itself is in fact a
 complex beast.  Some parts are very simple, especially those
 operations that are GETs, and so I can see your point about SOAP
 seeming to be overkill.  But many operations are not so simple, and I
 cannot imagine easily implementing them as REST services.  What if I
 want to create 1000 ads - that's one heck of a REST call!

I'm not sure I see it being any bigger of a REST call than then creation 
of 1,000 ads via a SOAP call. A SOAP bulk call with 1,000 ads, with all 
their name space declarations, open/close tags, etc. would actually be 
a must larger post operation than a JSON list of 1,000 objects (ads) 
and their members.  REST doesn't necessarily means small payloads, it's 
just a different way of representing services available.

For example: Microsoft AdCenter has a REST API...that uses XML 
payloads! :)  But, by appending format=json to your query string, you 
can use JSON payloads that have a somewhat similar structure (lists and 
dicts/hashes) to the XML payloads.  It's actually a fairly elegant 
system.

 The stated need to be able to more easily build a JavaScript
 interface using REST rather than SOAP helps put this request in
 focus, because it distinguishes the desired use of the api from that
 of the backend production systems that many of us have been building
 to service large numbers of accounts with large numbers of keywords,
 ads, etc.

Even for back-end work, a REST/JSON API would be simpler...for me, 
anyway. :)  No intention to build a JS client at the moment.  I still 
want to program in Python...I just don't want to deal with SOAP. :)  
Consuming the MS AdCenter REST services has been much easier than 
dealing with AdCenter's or AdWord's SOAP API.

Just my thoughts.

j

-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com - Fairbanks, AK
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

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

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


Re: It's 2011, please make a REST API.

2011-06-09 Thread Joshua J. Kugler
On Tuesday 07 June 2011, Anash P. Oommen elucidated thus:
 Hi Ryan, Joshua,

 Could you share your thoughts on why you prefer a REST API over SOAP
 API ? I could share them with the AdWords team.

I would say the greatest advantages would be simplicity and breath of 
application.

1. Simplicity
Even with a good SOAP library, I have found assembling objects for SOAP 
calls to be tedious and at times trial-and-error.  REST/JSON calls 
would be easy (for me anyway) to set up: Python object hierarchies 
translate very easily to/from JSON.

Right now, there is a HUGE amount of code dedicate to creating interface 
libraries for the AdWords API. With a REST/JSON interface, this code 
could be minimized.

SOAP, while powerful, is *incredibly* complex, causing confusion for 
even those that say they are experts in the field.  REST keeps just 
about all that power while reducing the complexity to URIs and verbs, 
with a JSON (in my idea) payload.

2. Breadth of application
Right now, a client application written in PHP, Python, Perl, Java, etc. 
must be used to query AdWords.  Then, this client application can push 
the data to a web page.  A REST/JSON interface would allow a purely 
JavaScript web page to be built that interacts with AdWords API.

Those are my initial thoughts. I'll post more if I think of them.

Thanks for asking for feedback!

j


-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com - Fairbanks, AK
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

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

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


Re: It's 2011, please make a REST API.

2011-05-27 Thread Joshua J. Kugler
On Friday 27 May 2011, Ryan Romanchuk elucidated thus:
 Why are you doing this to developers? :(

While I would argue that with the right libraries, SOAP isn't that 
painful (Suds on Python in my case), I would still add my voice to 
those that would desire to see a REST/JSON interface.  That would be 
just spiffy! :)

To those of you hand-constructing XML to send as your request: Stop it. 
Just stop it. :)

j

-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com - Fairbanks, AK
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

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

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


Re: I need a bare bones example to use the python adwords adspygoogle v13 for AccountService

2010-10-19 Thread Joshua J. Kugler
On Tuesday 19 October 2010, Monty808 elucidated thus:
 When I run the code I get this error.

 adspygoogle.common.Errors.ValidationError: The version 'v201008' is
 not compatible with 'AccountService'.

AccountService is still a v13 service.

j

-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com - Fairbanks, AK
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

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

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


Keyword Performance Report

2010-09-13 Thread Joshua Bowles
New to adwords; before I can set up an API I need to be certain that
when I run a keyword report I will also the list of keywords
associated with their conversion statistics (i.e., that KeywordText
will return all keyword strings per adgroup, campaign, etc.).

Is this the case?

thanks

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

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


Re: Ruby vs PHP vs Other Programming Language

2010-08-12 Thread Joshua J. Kugler
On Thursday 12 August 2010, phpguy elucidated thus:
 So I've been building out the API with PHP but I'm having to do a
 massive upload (200,000,000 keywords broken into adgroups).  It's
 currently taking too long using PHP and I wanted to see if there was
 either:

 1.  A quicker way other than using SOAP (if that's the hold up)

The public API you see is it.

 2.  A quicker programming language and which is rated to be the
 fastest for the Google API (any data comparison is appreciated [e.g.
 I could only add 1,000/hr adgroups with keywords in PHP but in Ruby I
 could add 1,500 in an hour])

You're major wait time is going to be the internet connection and the 
response time of the Google servers.

If you're looking at speeding up your dev time, I'd recommend 
Python...but I'm a bit biased. :)

If you want to speed things up, I'd look at threading and/or multiple 
processes.

j

-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

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

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


Re: What is the latest version of services for the sandbox acccout

2010-08-04 Thread Joshua J. Kugler
On Wednesday 04 August 2010, AdWords API Advisor elucidated thus:
 Hi,

 The server url for v200909 services should be
 https://adwords-sandbox.google.com/api/adwords/cm/v200909/..., not
 https://sandbox.google.com/api/adwords/cm/v200909/... Once you fix
 it, you can download the wsdls without any issues.

Then please correct the documentation here:

http://code.google.com/apis/adwords/docs/developer/adwords_api_sandbox.html

Sandbox WSDL Locations
The sandbox WSDL URLs are identical to their production counterparts, 
except they use the sandbox.google.com domain instead of 
adwords.google.com. For example, the sandbox version of the v12 
CampaignService is located at the following URL:
https://sandbox.google.com/api/adwords/v12/CampaignService?wsdl

And that page has no 200909 version and does not point to any 200909 
version, leading one to assume the sandbox URL is as given above.

Thanks!

j

-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

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

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


Re: Sandbox troubles?

2010-08-03 Thread Joshua J. Kugler
On Tuesday 03 August 2010, knuzich elucidated thus:
 give me please a link to wsdl for sandbox .. I have already two days
 looking for ^))

http://code.google.com/query/#p=adwordsq=adwords%20sandbox%202009

First link.

And from that page, this link:

http://adwordsapi.blogspot.com/2009/03/adwords-api-sandbox-best-practices.html

Also (similar to above link, but laid out a little better):

http://code.google.com/apis/adwords/articles/adwords_api_sandbox_best_practices.html

j

-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

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

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


Re: What is the latest version of services for the sandbox acccout

2010-08-03 Thread Joshua J. Kugler
On Tuesday 03 August 2010, knuzich elucidated thus:
 for example  for v12
 https://sandbox.google.com/api/adwords/v12/CampaignService?wsdl

 for v13
 https://sandbox.google.com/api/adwords/v13/CampaignService?wsdl

 If these versions are obsolete, what should I use?

http://code.google.com/apis/adwords/v2009/docs/start.html

j

-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

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

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


Re: What is the latest version of services for the sandbox acccout

2010-08-03 Thread Joshua J. Kugler
On Tuesday 03 August 2010, knuzich elucidated thus:
 thanks,
 but how can I see wsdl for this service?
 it would be nice to know the full path..

The documentation for each service (e.g. the campaign service) lists the 
path to the WSDL:

http://code.google.com/apis/adwords/v2009/docs/reference-v200909/CampaignService.html

shows the path to be:

https://adwords.google.com/api/adwords/cm/v200909/CampaignService?wsdl

Per the documentation here:

http://code.google.com/apis/adwords/docs/developer/adwords_api_sandbox.html

You simply replace 'adwords.google.com' with 'sandbox.google.com' for 
the sandbox WSDL.

j


 On Aug 3, 10:29 pm, Joshua J. Kugler jos...@eeinternet.com wrote:
  On Tuesday 03 August 2010, knuzich elucidated thus:
   for example  for v12
  https://sandbox.google.com/api/adwords/v12/CampaignService?wsdl
  
   for v13
  https://sandbox.google.com/api/adwords/v13/CampaignService?wsdl
  
   If these versions are obsolete, what should I use?
 
  http://code.google.com/apis/adwords/v2009/docs/start.html
 
  j
 
  --
  Joshua Kugler
  Part-Time System Admin/Programmerhttp://www.eeinternet.com
  PGP Key:http://pgp.mit.edu/ID 0x73B13B6A



-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

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

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


Re: Changing client id on fly

2010-07-28 Thread Joshua J. Kugler
On Wednesday 28 July 2010, phpguy elucidated thus:
 Hi,

 I wanted to see if it was possible to create a script to run through
 a certain number of adgroups/campaigns and then switch client ids
 while in the script and continue?  We have an MCC account but just
 wanted to know if this was possible.

 Thanks for your help!

There should be a method in the API to set the client e-mail.  
setClientEmail I think is the call.  You *might* have to get the 
service again to use the new client e-mail.  That is, a call like:

$adwordsUserObject-SetClientId($clientEmail);
$campaignService = $adwordsUserObject-GetCampaignService('v200909');

Hope that helps.

j

-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

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

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


Re: Changing client id on fly

2010-07-28 Thread Joshua J. Kugler
On Wednesday 28 July 2010, Chris Wilson elucidated thus:
 Joshua,

 Thanks a bunch for the help!  I'll check into that now...

Glad to help!  I answered with the PHP code due to your 'phpguy' alias.  
I much prefer my home-grown Python API myself. :)  Nothing fancy, just 
a thin wrapper around the SOAP calls using Suds 
(https://fedorahosted.org/suds/). Much simpler for what I do than the 
Google Python API.

j


 Have a good one!

 On Wed, Jul 28, 2010 at 11:38 AM, Joshua J. Kugler 
jos...@eeinternet.comwrote:
  On Wednesday 28 July 2010, phpguy elucidated thus:
   Hi,
  
   I wanted to see if it was possible to create a script to run
   through a certain number of adgroups/campaigns and then switch
   client ids while in the script and continue?  We have an MCC
   account but just wanted to know if this was possible.
  
   Thanks for your help!
 
  There should be a method in the API to set the client e-mail.
  setClientEmail I think is the call.  You *might* have to get the
  service again to use the new client e-mail.  That is, a call like:
 
  $adwordsUserObject-SetClientId($clientEmail);
  $campaignService =
  $adwordsUserObject-GetCampaignService('v200909');
 
  Hope that helps.
 
  j
 
  --
  Joshua Kugler
  Part-Time System Admin/Programmer
  http://www.eeinternet.com
  PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A



-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

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

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


Re: how do I get a criterionid?

2010-07-15 Thread Joshua J. Kugler
On Thursday 15 July 2010, axum elucidated thus:
 i am having a brain freeze here I need to use the
 updateadgroupcriterion service.  And I am at a lost on how to get the
 criterionid.

ga.AdGroupCriterion.get(...) should be what you want.  you can filter by 
campaign, group, etc.

Docs here:
http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupAdService.html
and
http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupAdService.AdGroupAdSelector.html

j

-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

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

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


What *is* the system limit?

2010-07-13 Thread Joshua J. Kugler
So, I've been hit with this web fault:
SizeLimitError.RESPONSE_SIZE_LIMIT_EXCEEDED @

The docs say:

Indicates that the number of entries in the request or response exceeds 
the system limit.

I know I can using paging to get chunks at a time, and that is what I 
intend to do.  But I can't find anywhere in the docs that defines 
*what* the system limit is.

Can an AdWords advisor point that out so I know the maximum size for my 
paging chunks?

Thanks!

j

-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

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

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


Re: authentication

2010-07-06 Thread Joshua J. Kugler
On Monday 05 July 2010, chris h elucidated thus:
 Or if ClientLogin is all that will be supported in the sort-term,
 could the token live time be made at least a month?

 On Jul 5, 1:28 pm, chris h back5...@gmail.com wrote:
  Hi,
 
  I'm looking for insights into when OAuth will be supported for
  authentication in the AdWords API.

Is there a reason authentication proves a problem?  In our code, we 
simply catch the bad token exception and re-auth and then continue 
on.

j

-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

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

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


Re: V2010 API SOPA/XML Examples?

2010-06-08 Thread Joshua J. Kugler
On Tuesday 08 June 2010, Mike Keen elucidated thus:
 @Joshua

 It's similar if you use the Ruby client library, which I am very
 against. I dislike the bulk of the library and I'd rather just make
 the request with simple SOAP templates.

I feel your pain. :)  I took one look at the Python client and ran 
away...quickly. I created my own light-weight wrapper around the GA 
services uses Suds (https://fedorahosted.org/suds/) and it has proven 
to be very friendly to use.  If you can find a good Ruby SOAP library, 
it might be worth creating your own wrapper...I just can't imagine 
dealing directly with XML. :)

j

-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

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

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


Re: V2010 API SOPA/XML Examples?

2010-06-07 Thread Joshua J. Kugler
On Monday 07 June 2010, Reed elucidated thus:
 Hope this helps,
 -reed

   soapenv:Envelope 
 xmlns:soapenv=http://schemas.xmlsoap.org/soap/
 envelope/ xmlns:v20=https://adwords.google.com/api/adwords/cm/
 v200909
  soapenv:Header
 v20:RequestHeader
v20:authTokenxyzzy/v20:authToken
v20:developerTokenplough/v20:developerToken
v20:userAgentV2009 Getall Campaigns/
 v20:userAgent
 /v20:RequestHeader
  /soapenv:Header
  soapenv:Body
 v20:get
v20:selector
   v20:ids/v20:ids
   v20:campaignStatuses/v20:campaignStatuses
/v20:selector
 /v20:get
  /soapenv:Body
   /soapenv:Envelope

I use this in my Python code:

resp = ga.Campaign.get(' ')

And the empty string is translated into an empty selector. Of course, 
that's my API implemented on top of Suds, that's not google's API.  I 
would assume passing an empty selector to the Ruby get() call would 
return all your results.

j

-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

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

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


Re: Error with Example Ruby Script

2010-05-20 Thread Joshua J. Kugler
On Thursday 20 May 2010, search test elucidated thus:
 I ran an example ruby script, get_related_keywords.rb and got
 following error:

 [v200909]$ ruby get_related_keywords.rb
 /ruby/gems/gems/httpclient-2.1.5.2/lib/httpclient/ssl_config.rb:348:
 [BUG] Segmentation fault
 ruby 1.8.6 (2007-09-23) [i686-linux]

 Aborted

 My related gems are:

 adwords4r (19.0.0)
 httpclient (2.1.5.2)
 rubygems-update (1.3.7, 1.3.6)
 soap4r (1.5.8)
 sources (0.0.1)

Apparently there is a bug in your distribution's HTTP/SSL files, or in 
the ruby executable itself. I would talk to your distribution's support 
about this.  the Segmentation fault 
in '/ruby/gems/gems/httpclient-2.1.5.2/lib/httpclient/ssl_config.rb' 
indicates it is a bug in Ruby, and doesn't have anything to do with the 
GA API.

Hope that helps.

j

-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

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

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


Re: toXML();

2010-04-21 Thread Joshua J. Kugler
On Wednesday 21 April 2010, Sythus elucidated thus:
 Hi,

 i was using the Apillity to work with my Adwords accounts.
 Now i have to migrate my Application to v200909 of the Google Adwords
 PHP API.

 My Problem is that i was using the $campaign-toXML(); function for
 my application.

 Is there any function in the new Api which give me the complete
 campaign informations like toXML() did it before?
 I need it as a xml response.
 And if not - is there any other possiblity to get the whole account
 informations about campaigns and adgroups?

All that information is available via the object returned.  What were 
you able to glean from the XML that you could not get from the response 
object?

j

-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

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


AdWords API Re: Api Error Parser

2010-04-15 Thread Joshua J. Kugler
You didn't say what language you are using, but that looks like PHP.  
That is a PHP object, so you should be able to do treat it as a 
standard PHP array.  No need to parse it.

j

On Thursday 15 April 2010, jakov34 elucidated thus:
 Hi,
 Is there any example, how to parse AdWords API Error.
 Lets say that I have error like this:

 [message:protected] = [BiddingError.NON_POSITIVE_BID @
 operations[0].operand.bids.keywordMaxCpc]
 [string:private] =
 [code:protected] = 0
 [file:protected] = ./src/Google/Api/Ads/Common/Lib/
 AdsSoapClient.php
 [line:protected] = 160
 [trace:private] = Array
 (
 [0] = Array
 (
 [file] = ./src/Google/Api/Ads/Common/Lib/
 AdsSoapClient.php
 [line] = 160
 [function] = __soapCall
 [class] = SoapClient
 [type] = -
 [args] = Array
 (
 [0] = mutate
 [1] = Array
 etc...

  Bid Object
   [microAmount] = asdfasdf

 etc...
 Well, I see what is an error, and which operand causes an error.
 But is there any parser for this error, or I have to write my own
 functions..
 If is, can someone provide me an example, how to do it..

 Thanks a lot!!!
 Jakov



-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

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

To unsubscribe, reply using remove me as the subject.


AdWords API Re: Caught between a rock and a hard place?

2010-04-14 Thread Joshua J. Kugler
As stated in the blog (and many times on this list) you can continue to 
use the v13 services that have not yet been ported to v200909, even 
after the initial sunset.

See: 
http://adwordsapi.blogspot.com/2010/04/14-days-left-to-migrate-to-v2009.html

The only v13 services that will remain accessible are AccountService, 
ReportService, and TrafficEstimatorService.

From 
http://adwordsapi.blogspot.com/2010/02/60-days-left-to-migrate-to-v200909.html

These three v13 services will continue to be accessible until the same 
functionality is available in the new AdWords API later this year:
AccountService
TrafficEstimatorService
ReportService
Don't worry, we won't sunset these services until their replacements 
have been available for at least four months.

j

On Wednesday 14 April 2010, Justin elucidated thus:
 Hi Guys,

 I have been using the Adwords v13 API for some time now to pull
 reports.

 I use CampaignService to get a list of all active campaigns for a
 client.
 I then use the ReportService to pull a tailored report for each
 campaign.

 Having read the documentation online I see that there is still no
 alternative in v2009 for ReportService?
 The sunset is in a week is it not? That is not leaving us much time
 to migrate our code?

 The Campaign service method getAllAdWordsCampaigns() is also gone in
 v2009.
 How do we now query for a list of campaigns.

 What would be really helpful would be to update the v13
 documentation, and point to alternative functions or workarounds in a
 part of the article that relate to v2009.

 Thanks in advance,

 Justin



-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

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

To unsubscribe, reply using remove me as the subject.


AdWords API Re: How can I migrate if there will be no KeywordToolService and SiteSuggestionService?

2010-04-09 Thread Joshua J. Kugler
On Friday 09 April 2010, Andy Precise elucidated thus:
 I've had to switch from using KeywordToolService to using
 TargetingIdeaService instead.

 Can't comment on the other one.

 Good luck !

 On Apr 9, 12:43 am, aofro...@hotmail.com aofro...@hotmail.com

 wrote:
  How can I migrate if there will be no KeywordToolService and
  SiteSuggestionService?

You can still use the v13 services that have not been migrated, even 
after the other v13 services have been discontinued.

j

-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

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

To unsubscribe, reply using remove me as the subject.


Re: AdWords API AuthTokenException: Login failed

2010-04-09 Thread Joshua J. Kugler
On Friday 09 April 2010, SW elucidated thus:
 Reusing authentication seemed to have helped.  Surprisingly,
 documentation doesn't state this.

From: http://code.google.com/apis/adwords/v2009/docs/headers.html

An authentication token is valid for about a week after you acquire it; 
when it expires, use ClientLogin to retrieve a new one.

Which implies you can cache it and reuse it.

j

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

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

To unsubscribe, reply using remove me as the subject.


AdWords API Re: AdWords Downtime: April 10th, 10am-2pm PDT

2010-04-08 Thread Joshua J. Kugler
On Thursday 08 April 2010, Zweitze elucidated thus:
 3. What is the difference in hours between PDT and UTC (Coordinated
 Universal Time, world standard time)? I really have no idea if and
 when summer time kicks in at that time zone.

PDT is 7 hours behind UTC (i.e. UTC-7), PST is 8 hours behind UTC (i.e. 
UTC-8). UTC never has daylight savings or summer time.

This should help you:

http://www.timeanddate.com/worldclock/meetingtime.html?month=4day=10year=2010p1=0p2=217p3=-1p4=-1

j

-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

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

To unsubscribe, reply using remove me as the subject.


AdWords API Re: The login request used a username or password that is not recognized.

2010-04-01 Thread Joshua J. Kugler
On Wednesday 31 March 2010, Dave elucidated thus:
 I started using the aw_api_php_lib_2.0.1 client library w/ v2009 API
 today and also ran into a rate limit. It produced the same error and
 appears to only last for a few minutes. I don't use multiple threads
 on my project but some of the operations are quick and I am
 processing without any delay implemented.

 I would be curious what the actual rate limit is, as bulk operations
 aren't going to work well for my purpose. I don't mind adding a delay
 I just don't want to guess if at all possible.

Just so you know, you don't have to hit the Client Login API for each 
request. You can cache the auth cookie, and then only get a new one 
when you get back the error

AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID

If it is in fact a rate limit issue with the Login API, then caching the 
auth cookie should solve the problem.

j

-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

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


AdWords API Re: getClientAccounts() returns an invalid e-mail?

2010-03-31 Thread Joshua J. Kugler
Thanks again for looking at this.  The e-mail that throws that error 
*does* appear in the list of client e-mails when I log in to the web 
interface as the same user that I use to connect to the API, so it is 
there.  Very odd.  Thank you for forwarding it on!

j

On Wednesday 31 March 2010, AdWords API Advisor elucidated thus:
 Hi Joshua,

 Thank you for the debugging information.  It's not clear why that
 client email is being returned, as it doesn't appear to be used on
 that account anymore.  I've forwarded your information to the core
 engineering team for a more thorough analysis and I'll let you know
 when I have more information.

 Best,
 - Eric

 On Mar 29, 2:44 pm, Joshua J. Kugler jos...@eeinternet.com wrote:
  Certainly!
 
  The request ID that generates the list  of client e-mails is:
  b6f9c3726bd140f3a16e8c2d2e00c818
 
  This list includes the e-mail address I sent in the header of the
  next request.  As I stated, other e-mail addresses from that list
  worked fine.
 
  However, on the failed request, I am not getting a request ID, only
   a SOAP fault:
 
  soapenv:Envelope
  xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
  xmlns:xsd=http://www.w3.org/2001/XMLSchema;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
   soapenv:Body
    soapenv:Fault
     faultcodesoapenv:Server.userException/faultcode
     faultstringInvalid client email specified./faultstring
     detail
      ns1:fault
  xmlns:ns1=https://adwords.google.com/api/adwords/v13;
  ns1:code9/ns1:code
       ns1:messageInvalid client email specified./ns1:message
       ns1:triggerrealresults...@gmail.com/ns1:trigger
      /ns1:fault
     /detail
    /soapenv:Fault
   /soapenv:Body
  /soapenv:Envelope
 
  Please let me know if there is anything else I can get for your
  regarding this error.
 
  Thanks!
 
  j
 
  On Friday 26 March 2010, AdWords API Advisor elucidated thus:
   Hi Joshua,
  
   Can you provide the requestId of the getClientAccounts() and
   getAccountInfo() requests the demonstrate this behavior?
  
   Best,
   - Eric Koleda, AdWords API Team
  
   On Mar 25, 3:35 pm, Joshua J. Kugler jos...@eeinternet.com 
wrote:
I have code like so:
   
for account in ga.Account.getClientAccounts():
# 'account' is an e-mail in the list of e-mails returned
print account
ga.set_client_email(account) # Sets the client e-mail
header try:
client = ga.Account.getAccountInfo()
print client.descriptiveName
   
This code works, but there is at least one e-mail that returns
the error 'Invalid client email specified.' even though it is
an e-mail returned by getClientAccounts() *AND* this e-mail
*is* in the list of clients when I log in to the web interface.
   
Any idea how to trouble shoot this?
   
Thanks!
   
j
   
--
Joshua Kugler
Part-Time System Admin/Programmerhttp://www.eeinternet.com
PGP Key:http://pgp.mit.edu/ID0x73B13B6A
 
  --
  Joshua Kugler
  Part-Time System Admin/Programmerhttp://www.eeinternet.com
  PGP Key:http://pgp.mit.edu/ID 0x73B13B6A



-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

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

To unsubscribe, reply using remove me as the subject.


AdWords API Re: Unmarshalling Error: ParseError

2010-03-30 Thread Joshua J. Kugler
On Tuesday 30 March 2010, John Bliss elucidated thus:
 Lord.  I forgot:

 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

 ...in my soapenv:Envelope tag.  I really hope that this short,
 embarrassing thread helps the next person NOT spend seven hours
 trying to fix this problem.

Pure curiosity:

Why are you assembling the XML yourself, instead of using a provided 
client library, or using the WSDL to generate objects programatically 
(or at run time).

Personally, I'm using Python Suds, which has proven to be a GREAT 
wrapper around the WSDL, and helped me create a just-under-300-line 
generic client object.  I don't even have to touch the XML, and I still 
have low-level access to the protocol if I need it.

Just wondering.

j


 On Mar 30, 11:03 am, John Bliss bliss.j...@gmail.com wrote:
  I noticed that my v20:operand
  xmlns:v20=https://adwords.google.com/ api/adwords/cm/v200909 was
  missing
  xsi:type=v20:BiddableAdGroupCriterion and I've fixed that...but
  the problem persists.  Please advise...
 
  On Mar 30, 10:41 am, John Bliss bliss.j...@gmail.com wrote:
   I'm getting Unmarshalling Error: ParseError when posting the
   following XML
   tohttps://adwords.google.com/api/adwords/cm/v200909/AdGroupCriter
  ionSer... What am I doing wrong...?
  
   soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/
   envelope/ xmlns:v20=https://adwords.google.com/api/adwords/cm/
   v200909
       soapenv:Header
   xmlns:soapenv=http://schemas.xmlsoap.org/soap/ envelope/
           v20:RequestHeader
   xmlns:v20=https://adwords.google.com/api/ adwords/cm/v200909
               v20:applicationToken xmlns:v20=https://
   adwords.google.com/api/adwords/cm/v200909
                   [our app token]
               /v20:applicationToken
               v20:authToken
   xmlns:v20=https://adwords.google.com/api/ adwords/cm/v200909
                   [our auth token]
               /v20:authToken
               v20:clientEmail
   xmlns:v20=https://adwords.google.com/api/ adwords/cm/v200909
                   [our client email]
               /v20:clientEmail
               v20:developerToken
   xmlns:v20=https://adwords.google.com/ api/adwords/cm/v200909
                   [our dev token]
               /v20:developerToken
               v20:userAgent
   xmlns:v20=https://adwords.google.com/api/ adwords/cm/v200909
                   [our user agent]
               /v20:userAgent
           /v20:RequestHeader
       /soapenv:Header
       soapenv:Body xmlns:soapenv=http://schemas.xmlsoap.org/soap/
   envelope/
           v20:mutate
   xmlns:v20=https://adwords.google.com/api/adwords/ cm/v200909
               v20:operations
   xmlns:v20=https://adwords.google.com/api/ adwords/cm/v200909
                   v20:operator
   xmlns:v20=https://adwords.google.com/ api/adwords/cm/v200909
                       SET
                   /v20:operator
                   v20:operand
   xmlns:v20=https://adwords.google.com/api/ adwords/cm/v200909
                       v20:adGroupId xmlns:v20=https://
   adwords.google.com/api/adwords/cm/v200909
                           [adGroupId]
                       /v20:adGroupId
                       v20:criterion xmlns:v20=https://
   adwords.google.com/api/adwords/cm/v200909
   xsi:type=v20:Criterion v20:id
   xmlns:v20=https://adwords.google.com/ api/adwords/cm/v200909
                               [id]
                           /v20:id
                       /v20:criterion
                       v20:destinationUrl xmlns:v20=https://
   adwords.google.com/api/adwords/cm/v200909
                           [destinationUrl]
                       /v20:destinationUrl
                   /v20:operand
               /v20:operations
           /v20:mutate
       /soapenv:Body
   /soapenv:Envelope



-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API Re: Unmarshalling Error: ParseError

2010-03-30 Thread Joshua J. Kugler
On Tuesday 30 March 2010, John M Bliss elucidated thus:
 I'm using ColdFusion which, among other things, makes it very easy to
 work with XML without actually *writing* any XML:
 
http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec22c24-7fb3.html

I see.

j


-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API Re: getClientAccounts() returns an invalid e-mail?

2010-03-29 Thread Joshua J. Kugler
Certainly!

The request ID that generates the list  of client e-mails is:
b6f9c3726bd140f3a16e8c2d2e00c818

This list includes the e-mail address I sent in the header of the next 
request.  As I stated, other e-mail addresses from that list worked 
fine.

However, on the failed request, I am not getting a request ID, only  a 
SOAP fault:

soapenv:Envelope 
xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:xsd=http://www.w3.org/2001/XMLSchema; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 soapenv:Body
  soapenv:Fault
   faultcodesoapenv:Server.userException/faultcode
   faultstringInvalid client email specified./faultstring
   detail
ns1:fault xmlns:ns1=https://adwords.google.com/api/adwords/v13;
 ns1:code9/ns1:code
 ns1:messageInvalid client email specified./ns1:message
 ns1:triggerrealresults...@gmail.com/ns1:trigger
/ns1:fault
   /detail
  /soapenv:Fault
 /soapenv:Body
/soapenv:Envelope

Please let me know if there is anything else I can get for your 
regarding this error.

Thanks!

j

On Friday 26 March 2010, AdWords API Advisor elucidated thus:
 Hi Joshua,

 Can you provide the requestId of the getClientAccounts() and
 getAccountInfo() requests the demonstrate this behavior?

 Best,
 - Eric Koleda, AdWords API Team

 On Mar 25, 3:35 pm, Joshua J. Kugler jos...@eeinternet.com wrote:
  I have code like so:
 
      for account in ga.Account.getClientAccounts():
          # 'account' is an e-mail in the list of e-mails returned
          print account
          ga.set_client_email(account) # Sets the client e-mail
  header try:
              client = ga.Account.getAccountInfo()
              print client.descriptiveName
 
  This code works, but there is at least one e-mail that returns the
  error 'Invalid client email specified.' even though it is an e-mail
  returned by getClientAccounts() *AND* this e-mail *is* in the list
  of clients when I log in to the web interface.
 
  Any idea how to trouble shoot this?
 
  Thanks!
 
  j
 
  --
  Joshua Kugler
  Part-Time System Admin/Programmerhttp://www.eeinternet.com
  PGP Key:http://pgp.mit.edu/ID 0x73B13B6A



-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API getClientAccounts() returns an invalid e-mail?

2010-03-25 Thread Joshua J. Kugler
I have code like so:

for account in ga.Account.getClientAccounts():
# 'account' is an e-mail in the list of e-mails returned
print account
ga.set_client_email(account) # Sets the client e-mail header
try:
client = ga.Account.getAccountInfo()
print client.descriptiveName

This code works, but there is at least one e-mail that returns the 
error 'Invalid client email specified.' even though it is an e-mail 
returned by getClientAccounts() *AND* this e-mail *is* in the list of 
clients when I log in to the web interface.

Any idea how to trouble shoot this?

Thanks!

j

-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API Re: Inconsistency in docs, or not understanding a selector

2010-03-25 Thread Joshua J. Kugler
On Wednesday 24 March 2010, AdWords API Advisor elucidated thus:
 Hi Joshua,

 Pete is correct, you need to need to pass in an empty selector.  Here
 is an example using the PHP client library:

  
 http://code.google.com/p/google-api-adwords-php/source/browse/trunk/e
xamples/v200909/GetAllCampaigns.php

 Also, ensure that the selector element has the correct namespace or
 else it won't be recognized by the API server.

Thanks for all your replies.  I figured out that my SOAP library (suds, 
in this case) is not sending an empty object, which the adwords API 
requires.  I'll talk to the suds developers to see how to work around 
this.

Thanks again!

j


 Best,
 - Eric Koleda, AdWords API Team

 On Mar 23, 3:18 pm, Joshua J. Kugler jos...@eeinternet.com wrote:
  On Tuesday 23 March 2010, Pete Lavetsky (AdWords API Guru)
  elucidated
 
  thus:
   I just create a new instance of a CampaignSelector and pass it
   in.
  
   public ListCampaign getAllCampaigns() throws Exception {
       return get( new CampaignSelector() );
   }
  
   I don't know if you can approximate the same with PHP tho ...
 
  Yeah, I tried that too, and it threw the same error.  Thanks for
  the tip, though.
 
  j
 
   On Mar 23, 3:04 pm, Joshua J. Kugler jos...@eeinternet.com 
wrote:
The documentation for CampaignService.get() says:
   
Parameters
selector CampaignSelector filter to run campaigns through. If
selector is empty, all campaigns are returned.
   
But if I execute:
CampaignService.get()
or
CampaignService.get({})
   
I get: Server raised fault: '[RequiredError.REQUIRED @
selector]'
   
OK, so let's specify a selector. The docs for type
CampaignSelector say:
   
ids: The list of possible campaigns to be selected. ***An empty
list indicates all account campaigns as possibly being
selected.*** This field must contain distinct elements. This
field must not contain null elements.
   
campaignStatuses: Only campaigns having these statuses are
selected. ***An empty list indicates all campaign statuses as
being selected.*** This field must contain distinct elements.
This field must not contain null elements.
   
statsSelector: ***Indicates if stats should be returned; null
will not return stats.***
   
paging: The starting index and number of results to return.
   
So, with this selector:
   
selector = {
'ids': [],
'campaignStatuses':[],
'statsSelector': None,
'paging':{
'startIndex':0,
'numberResults':9
}
   
}
   
I still get: Server raised fault: '[RequiredError.REQUIRED @
selector]' Same error message if I leave out statsSelector
completely, or set it to {}
   
What, exactly, is required? It would be nice if the server
fault told me what was missing. :)
   
Thanks!
   
j
   
--
Joshua Kugler
Part-Time System Admin/Programmerhttp://www.eeinternet.com
PGP Key:http://pgp.mit.edu/ID 0x73B13B6A
 
  --
  Joshua Kugler
  Part-Time System Admin/Programmerhttp://www.eeinternet.com
  PGP Key:http://pgp.mit.edu/ID 0x73B13B6A



-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API Re: Inconsistency in docs, or not understanding a selector

2010-03-25 Thread Joshua J. Kugler
On Thursday 25 March 2010, Joshua J. Kugler elucidated thus:
  Pete is correct, you need to need to pass in an empty selector. 
  Here is an example using the PHP client library:
 
  http://code.google.com/p/google-api-adwords-php/source/browse/trunk
 /e xamples/v200909/GetAllCampaigns.php
 
  Also, ensure that the selector element has the correct namespace or
  else it won't be recognized by the API server.

 Thanks for all your replies.  I figured out that my SOAP library
 (suds, in this case) is not sending an empty object, which the
 adwords API requires.  I'll talk to the suds developers to see how to
 work around this.

Jeff Ortel (the suds maintainer) helped me with this on IRC (THANK YOU 
JEFF!) and we ended up figuring out this gave me the desired behavior:

selector = client.factory.create('CampaignSelector')
selector.statsSelector = ' '
print client.get(selector)

Yes, you read right: that is setting statsSelector to a space.  It then 
sends this to google:

   ns1:Body
      ns0:get
         ns0:selector
            ns0:statsSelector /ns0:statsSelector
         /ns0:selector
      /ns0:get
   /ns1:Body

And google is perfectly happy with that: it returns all campaigns, all 
statistics.

Thanks again Jeff and all the others for all your help!

j

-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


Re: AdWords API Re: Lots of server faults while processing clients

2010-03-23 Thread Joshua J. Kugler
Pete -

Thanks for the quick response. I realize now that I don't want to be 
passing in the customer ID like that...I was staring at the problem too 
long last night, and parts of the docs just went right past me.

Thanks again!

j

On Tuesday 23 March 2010, Pete Lavetsky (AdWords API Guru) elucidated 
thus:
 You don't want to be setting the customerId in your
 CampaignSelector ...

 You want the procedure to be something similar to:

 Get client email + customerId
 Create AdWordsUser with the AuthToken and customer credentials
 ( including your appToken and username pass and other info )
 Get the CampaignService for that AdWordsUser:
 adWordsUser.getService( AdWordsService.V200909.CAMPAIGN_SERVICE ) )
 Get all campaigns for the user with an empty selector:
 campaignService.get( new CampaignSelector() );

 http://code.google.com/p/google-api-adwords-java/source/browse/trunk/
examples/v200909/GetAllCampaigns.java

 Pete

 On Mar 22, 9:27 pm, Joshua J. Kugler jos...@eeinternet.com wrote:
  I am doing an operation like this via the SOAP API.
 
  Get a list of client e-mails.
  Get the client account (for their ID)
  CampaignService.get() with the following selector:
 
  selector = {
              'ids': [client.customerId],
              'statsSelector': {}
 
  }
 
  Most of my calls to CampaignService.get() are returning:
 
  InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
 
  Is there any way to debug this?  Some (very few) of my get()
  queries succeed, but most of them return the given error.  I would
  suspect I'm passing malformed parameters, but since some of the
  queries work, I must be passing in OK parameters.
 
  Anyone know what is going on?
 
  j
 
  --
  Joshua Kugler
  Part-Time System Admin/Programmerhttp://www.eeinternet.com
  PGP Key:http://pgp.mit.edu/ID 0x73B13B6A



-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API Inconsistency in docs, or not understanding a selector

2010-03-23 Thread Joshua J. Kugler
The documentation for CampaignService.get() says:

Parameters
selector CampaignSelector filter to run campaigns through. If selector 
is empty, all campaigns are returned.

But if I execute:
CampaignService.get()
or
CampaignService.get({})

I get: Server raised fault: '[RequiredError.REQUIRED @ selector]'

OK, so let's specify a selector. The docs for type CampaignSelector say:

ids: The list of possible campaigns to be selected. ***An empty list 
indicates all account campaigns as possibly being selected.*** This 
field must contain distinct elements. This field must not contain null 
elements.

campaignStatuses: Only campaigns having these statuses are selected. 
***An empty list indicates all campaign statuses as being selected.*** 
This field must contain distinct elements. This field must not contain 
null elements.

statsSelector: ***Indicates if stats should be returned; null will not 
return stats.***

paging: The starting index and number of results to return.

So, with this selector:

selector = {
'ids': [],
'campaignStatuses':[],
'statsSelector': None,
'paging':{
'startIndex':0,
'numberResults':9
}
}

I still get: Server raised fault: '[RequiredError.REQUIRED @ selector]'
Same error message if I leave out statsSelector completely, or set it to 
{}

What, exactly, is required?  It would be nice if the server fault told 
me what was missing. :)

Thanks!

j

-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API Lots of server faults while processing clients

2010-03-22 Thread Joshua J. Kugler
I am doing an operation like this via the SOAP API.

Get a list of client e-mails.
Get the client account (for their ID)
CampaignService.get() with the following selector:

selector = {
'ids': [client.customerId],
'statsSelector': {}
}

Most of my calls to CampaignService.get() are returning:

InternalApiError.UNEXPECTED_INTERNAL_API_ERROR

Is there any way to debug this?  Some (very few) of my get() queries 
succeed, but most of them return the given error.  I would suspect I'm 
passing malformed parameters, but since some of the queries work, I 
must be passing in OK parameters.

Anyone know what is going on?

j

-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


Re: AdWords API Clientlogin frequency?

2010-03-19 Thread Joshua J. Kugler
On Friday 19 March 2010, Rick elucidated thus:
 And speaking of the captcha, why is it there at all for the Adwords
 api?

I've wondered this too.  An API, by definition, usually, is 
non-interactive. So, even if my scripts get back a response indicating 
I need to answer a captcha (because maybe somebody *else* was hacking 
my account), I will have no way to fill in and return this captcha 
because because this is a script running on a server in a cron 
job...not interactively in any way to display graphical output.

j

-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


Re: AdWords API Cannot access client library in python

2010-03-19 Thread Joshua J. Kugler
On Friday 19 March 2010, dsay elucidated thus:
 I am not sure if someone is able to use client library for python as
 I continue to get the following error

 Traceback (most recent call last):
   File get_related_keywords.py, line 53, in module
 page = targeting_idea_service.Get(selector)[0]
   File ../../aw_api/TargetingIdeaService.py, line 105, in Get
 'TargetingIdea', self.__loc, request)
   File ../../aw_api/WebService.py, line 350, in CallMethod
 raise ValidationError(error['data'])
 aw_api.Errors.ValidationError: Invalid headers for 'https://adwords-
 sandbox.google.com', see
 http://code.google.com/apis/adwords/docs/developer/adwords_api_sandbo
x.html#requestheaders.


 I have tried to run in python 2.5 and 2.6 and on ubuntu and fedora.
 Its giving same error everywhere.

What code are you using to set your headers?

j

-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


AdWords API Getting Campaign statistics with the 200909 API

2010-03-17 Thread Joshua J. Kugler
So, the migration guide for the 200909 API says to replace this call:

campaign_service.GetCampaignStats(campaign_id, '2009-01-01', '2009-01-31')

use this:

selector = {
'ids': [campaign_id],
'statsSelector': {
'dateRange': {
 'max': '20090131',
 'min': '20090101'
 }
}
}
campaign_service.Get(selector)

GetCampaignStats used to return a StatsRecord with these fields:

averagePosition, clicks, conversionRate, conversions, cost, id, and 
impressions

All I get from the campaign_service.Get(selector) call (this is using 
suds in Python):

selector = ga.factory.create('CampaignSelector')
selector.ids.append(campagain[some valid id])
selector.statsSelector.dateRange.min = '20100301'
selector.statsSelector.dateRange.max = '20100331'

print ga.service.get(selector)

is:

(CampaignPage){
   totalNumEntries = 0
   Page.Type = CampaignPage
   totalBudget = 
  (Budget){
 period = DAILY
 amount = 
(Money){
   ComparableValue.Type = Money
   microAmount = 0
}
 deliveryMethod = STANDARD
  }
 }

I see that the CampaignService has an object named Stats which has all 
the aforementioned fields, but there is no indication on how to 
retrieve that object for a campaign.  How do I do a call that will 
retrieve a Stats object, and thus the information I need?

The documentation is very unclear here.

By the way, if I try to use ga.service.Get(...), suds reports:

Method not found: 'CampaignService.CampaignServiceInterfacePort.Get'

In fact, in the wsdl file, on line 3352 (CampaignService.wsdl for 
200909), the operation is defined as:

wsdl:operation name=get

(lower case 'G'). Same for 'mutate.'  It would seem the documentation is 
incorrect in this case.

Thanks!

j


-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

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


Re: AdWords API Getting Campaign statistics with the 200909 API

2010-03-17 Thread Joshua J. Kugler
On Wednesday 17 March 2010, Joshua J. Kugler elucidated thus:
 All I get from the campaign_service.Get(selector) call (this is using
 suds in Python):

 (CampaignPage){
totalNumEntries = 0
Page.Type = CampaignPage
totalBudget =
   (Budget){
  period = DAILY
  amount =
 (Money){
ComparableValue.Type = Money
microAmount = 0
 }
  deliveryMethod = STANDARD
   }
  }

OK, I from a v13 API call that I don't have any campaigns available to 
me...so, that answers part of my question, BUT when I specify an id in 
getCampaign (v13) it tells me I can't access that campaign.  When I do 
that for v200909, it just returns zero records and doesn't tell me why.  
Not very friendly. :)

 I see that the CampaignService has an object named Stats which has
 all the aforementioned fields, but there is no indication on how to
 retrieve that object for a campaign.  How do I do a call that will
 retrieve a Stats object, and thus the information I need?

OK, so I understand now that if results are returned, they'll include 
a Stats object...got it.

 In fact, in the wsdl file, on line 3352 (CampaignService.wsdl for
 200909), the operation is defined as:

 wsdl:operation name=get

 (lower case 'G'). Same for 'mutate.'  It would seem the documentation
 is incorrect in this case.

Sigh...I could have sworn the docs were saying Get, but I guess not.  
They are saying GetSomething for the old calls when the correct call is 
getSomething, though. :)

So, a couple of questions answered, one still outstanding. :)

j

-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

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