Re: Getting "unauthorized_client" when calling CampaignService.get()

2013-07-25 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Can you please try that example to retrieve refresh_token with your 
clientId, clientSecret?
https://code.google.com/p/google-api-adwords-dotnet/source/browse/src/Common/Util/OAuth2TokenGenerator.cs

If succeed, please use those clientId, clientSecret, refreshToken in 
OAuth2ClientId, OAuth2ClientSecret, OAuth2RefreshToken 
in your App.config or Web.config and try it again.

Best,
- Takeshi, AdWords API Team

On Thursday, July 25, 2013 4:11:34 AM UTC+9, Jonathan Shaltz wrote:
>
> "unauthorized_client" is returning zero search results in this forum; 
> that's hard to believe, maybe it's a temporary problem with the search 
> engine.  My apologies if there's already a thread for it.
>
> I'm using the .Net library, and calling get() on 
> Google.Api.Ads.AdWords.v201306.CampaignService.  This is failing; here's 
> the error:
>
> Google.Api.Ads.Common.Lib.AdsOAuthException: Failed to refresh access 
> token.
> {
> "error" : "unauthorized_client"
> }
>
> ...and the stack trace:
>
> at 
> Google.Api.Ads.Common.Lib.OAuth2ProviderForApplications.RefreshAccessTokenInOfflineMode()
> at 
> Google.Api.Ads.Common.Lib.OAuth2ProviderForApplications.RefreshAccessToken()
> at 
> Google.Api.Ads.Common.Lib.OAuth2ProviderBase.RefreshAccessTokenIfExpiring()
> at Google.Api.Ads.Common.Lib.OAuth2ProviderBase.GetAuthHeader()
> at Google.Api.Ads.AdWords.Lib.AdWordsSoapClient.InitForCall(String 
> methodName, Object[] parameters)
> at Google.Api.Ads.Common.Lib.AdsSoapClient.MakeApiCall(String methodName, 
> Object[] parameters)
> at Google.Api.Ads.Common.Lib.AdsSoapClient.Invoke(String methodName, 
> Object[] parameters)
> at Google.Api.Ads.AdWords.v201306.CampaignService.get(Selector 
> serviceSelector)
> 
>
> I can only assume that I'm not giving the library enough data; here's 
> where I initialize my user info:
>
> _oAuth2User = new AdWordsUser();
>
> AdWordsAppConfig  apiConfig = (AdWordsAppConfig)_oAuth2User.Config;
> apiConfig.AuthorizationMethod = AdWordsAuthorizationMethod.OAuth2;
> apiConfig.DeveloperToken  = _developerToken;
>
> OAuth2ProviderForApplications  oAuthProvider = new 
> OAuth2ProviderForApplications(apiConfig);
> oAuthProvider.Config.OAuth2Mode = OAuth2Flow.APPLICATION;
> oAuthProvider.ClientId  = _clientId;
> oAuthProvider.ClientSecret  = _clientSecret;
> oAuthProvider.RefreshToken  = _refreshToken;
>
> _oAuth2User.OAuthProvider = oAuthProvider;
>
> I've collected my client ID, client secret, developer token, auth token, 
> and refresh token (with the AdWords scope) from Google.  A client ID, 
> client secret, and refresh token are enough to generate new access tokens 
> at will (I've done it, for other Google APIs), so I'm not sure what's 
> causing the error.
>
> If there is another field I need to specify, the library should flag that 
> specifically rather than giving a generic error message.  Making an OAuth 
> subclass of AdWordsUser with parameters for the required fields, rather 
> than making us guess about what's needed and populate several different 
> objects, would really help move this library into "ready for prime time."
>
> I can connect to AdWords just fine for ad hoc reports when I bypass the 
> .Net library and simply POST to 
> https://adwords.google.com/api/adwords/reportdownload/v201306.  I haven't 
> seen a similar mechanism for campaigns and ad groups, but that would be my 
> preference if anyone can point me in the right direction.
>
> - J
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: [QuotaCheckError.INCOMPLETE_SIGNUP @ ; trigger:''] error

2013-07-25 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Can you please check if your credit card is still valid, not turned into 
delinquent?

Best,
- Takeshi, 

On Wednesday, July 24, 2013 3:15:19 PM UTC+9, Justinas Gulbinas wrote:
>
> Hello 
>
> I've been using my live MCC account for several months successfully, 
> started to get [QuotaCheckError.INCOMPLETE_SIGNUP @ ; trigger:''] 
> error. Nothing has changed at our side also: v201302 via python api 15.8.0 
> all the time. 
> Tested with v201306 and python api 15.9 - same error. 
>
>  - Justinas

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Integer Id fields in GEO_PERFORMANCE_REPORT

2013-07-25 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Was there a non numerical value for Id field?
If not, you can map it to Integers in a programing language. 
Basically the result is returned as CSV or XML as you specified when you 
download a report.

Best,
- Takeshi, 

On Wednesday, July 24, 2013 9:19:34 AM UTC+9, Devesh Parekh wrote:
>
> According to 
> https://developers.google.com/adwords/api/docs/appendix/reports#geo, 
> CountryCriteriaId and RegionCriteriaId should be Integers, but the when I 
> send an AWQL query to the reportdownload endpoint (
> https://adwords.google.com/api/adwords/reportdownload/v201306) to return 
> those fields, I get Strings. Example query: SELECT CountryCriteriaId, 
> RegionCriteriaId, Impressions FROM GEO_PERFORMANCE_REPORT DURING 
> 20130101,20130723
>
> Can you make them Integers?
>
> -- 
> Devesh
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: How to provide billing info in MCC

2013-07-25 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Don't you find it in "Billing" tab when you log into with your MCC account?

Best,
- Takeshi, 

On Wednesday, July 24, 2013 7:24:17 AM UTC+9, Ad-Api wrote:
>
> Hi there, 
>  
> We wish to get API and we started from the beginning - fill info in 
> AdWords Api Center (in MCC). I filled all required in first step info. But 
> I didn't take sekond step (provide billing info). I logged out. Nex day 
> when I logged in I couldn't find any option in AdWords Api Center (in 
> MCC)  to fill billing info form http://screencast.com/t/WH2PAyfGEO2R 
>  
> Can you please help me with this issue? How can I add my billing info?
>  
> Thanks in advance.
>  
> S.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: error invalid_grant OAUTH2

2013-07-25 Thread Roy Roes
Solved it myself.

When I run GetRefreshToken.php I get an url to validate my account for the 
app.
There I get a token.

I insert the token directly in the code ($code) of GetRefreshToken.php and 
than I get the refresh token for OAuth2.

When I put the refreshtoken in the auth.ini...all works fine.

Readme and instructions could be better though.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Can't reuse oauth2 token - gives me OAUTH_TOKEN_INVALID (Ruby client lib)

2013-07-25 Thread Matthew Ledom
I deployed my working setup to a staging environment and now I get 
the OAUTH_TOKEN_INVALID issue. I have checked the tokeninfo service and it 
says its a valid token. I pasted the  output below. What are some reasons 
for invalid tokens?

{
   
   - issued_to: "106...96.apps.googleusercontent.com",
   - audience: "106...96.apps.googleusercontent.com",
   - user_id: "116...117",
   - scope: "https://www.googleapis.com/auth/userinfo.email 
   https://www.googleapis.com/auth/plus.me";,
   - expires_in: 2589,
   - email: "adwords...@test.com",
   - verified_email: true,
   - access_type: "offline"
   
}

On Monday, July 22, 2013 9:57:59 AM UTC-4, Paul Matthews (AdWords API Team) 
wrote:
>
> Hi Matthew,
>
> The Ruby OAuth2 
> info along 
> with the 
> README
>  should 
> explain all the steps for configuring your client. But it's worth testing 
> the setup_oauth2.rb 
> example,
>  
> to see if that resolves the issue.
>
> Finally, if you're receiving a token, but when used it responds with 
> OAUTH_TOKEN_INVALID, we recommend checking your token with the tokeninfo 
> service.
>  
> Once you've received a token response, you can send it to the tokeninfo 
> service, for information on the token. See below for an example.
>
> https://www.googleapis.com/oauth2/v1/tokeninfo?id_token=* HERE>*
> .
>
> Regards,
>
> - Paul, AdWords API Team.
>

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




Invalid token on staging env

2013-07-25 Thread Matthew Ledom
I have created our platform on my localhost. I have since deploy the code 
to staging. I'm using the same client id and secret from the api console. I 
have added the server name to the list. I went through the oauth redirect 
and have obtained a token and have checked it with the validation service:

{
   
   - issued_to: "10...96.apps.googleusercontent.com",
   - audience: "10...96.apps.googleusercontent.com",
   - user_id: "116...117",
   - scope: "https://www.googleapis.com/auth/userinfo.email 
   https://www.googleapis.com/auth/plus.me";,
   - expires_in: 2589,
   - email: "myaddr...@test.com",
   - verified_email: true,
   - access_type: "offline"
   
}

When I try to use this token I get OAUTH_TOKEN_INVALID. Why would the token 
be invalid in one service but not the other? Can I use one client id from 
the api access console for multiple sites or should I create one for each?

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




Is {device} value track parameter available for PLAs?

2013-07-25 Thread HK
Hi,

Thisblog
 entry discusses the "...new ValueTrack features for advertisers using 
keyword level URLs" which makes me wonder if the new {device} value track 
parameter is available for Product Listing Ads as well (adwords_redirect) 
as opposed to only keyword triggered ads? I assume it is, but as testing 
these parameters is not easily done except with live products, it'd be 
great to get confirmation on this before proceeding with our 
implementation. Ideally, I'd like to use it for PLA, TextAds, Placements 
and Sitelinks.

Value track parameters documentation:
https://support.google.com/adwords/answer/2375447?hl=en

Thanks,
Hans

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Cost Data Format in XML Reports

2013-07-25 Thread Pierre-Luc Soucy
Hi Danial,

I ran into the issue Manas mentioned with a CAMPAIGN_PERFORMANCE_REPORT, 
but it may affect other report types as well.

The "cost" value was formatted with a comma as the thousand separator, 
while "clicks" and "impressions" had no thousand separator.

I just added some code to our implementation to parse the values in the 
cost column and take the comma into account, but I think it would be best 
that the cost value doesn't contain a thousand separator anyway.

Hope this helps,

Pierre-Luc

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Icomplete signup error despite accepting terms and conditions

2013-07-25 Thread Tom Smith
Hi Danial-I got it working. I drilled down into the test account through
the interface, created a test campaign and tried again, it worked.

Many Thanks,

Tom




On Wed, Jul 24, 2013 at 10:56 AM, Danial Klimkin <
adwordsapiadvisor+dan...@google.com> wrote:

> Hello Tom,
>
>
> Permission denied means the credential you are using are not allowed to
> access the account specified. Please try logging in into AdWords UI with
> the same credentials and confirm the client customer ID.
>
> I am locking this thread now as it tracks too many separate issues. If you
> still experience the error, please open a new one with exact error message
> and your MCC CID.
>
>
> -Danial, AdWords API Team.
>
>
> On Wednesday, July 24, 2013 1:43:31 PM UTC+4, Tom Smith wrote:
>
>> Hi Danial,
>>
>> I still haven't received my confirmation email after applying for a test
>> account and approving the T&C's-furthermore, I am receiving the error,
>> 'User-permission-denied'.
>>
>> Shall I just create a new account altogether and follow Jaisons
>> footsteps?.
>>
>> Many Thanks,
>>
>> Tom.
>>
>> On Mon, Jul 22, 2013 at 8:15 AM,  wrote:
>>
>>> Hi Danial,
>>>
>>> I created a new account and entered the billing details at the MCC
>>> level. I then applied for a test account. I am now able to run the scripts
>>> successfully.
>>>
>>> Thanks for all the help.
>>>
>>> Jaison
>>>
>>> --
>>> --
>>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~**=~=~=~=~=~=~=~=~=~
>>> Also find us on our blog and discussion group:
>>> http://adwordsapi.blogspot.com
>>> http://groups.google.com/**group/adwords-api
>>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~**=~=~=~=~=~=~=~=~=~
>>>
>>> You received this message because you are subscribed to the Google
>>> Groups "AdWords API Forum" group.
>>> To post to this group, send email to adwor...@googlegroups.com
>>>
>>> To unsubscribe from this group, send email to
>>> adwords-api...@**googlegroups.com
>>>
>>> For more options, visit this group at
>>> http://groups.google.com/**group/adwords-api?hl=en
>>>
>>> ---
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "AdWords API Forum" group.
>>> To unsubscribe from this topic, visit https://groups.google.com/d/**
>>> topic/adwords-api/PVe8Hh9RNDw/**unsubscribe
>>> .
>>> To unsubscribe from this group and all its topics, send an email to
>>> adwords-api...@**googlegroups.com.
>>>
>>> For more options, visit 
>>> https://groups.google.com/**groups/opt_out
>>> .
>>>
>>>
>>>
>>
>>  --
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> http://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 a topic in the
> Google Groups "AdWords API Forum" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/adwords-api/PVe8Hh9RNDw/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> adwords-api+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and 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.




Issue migrating from v201209 to v201306

2013-07-25 Thread Tommy Newman
Hi, I am trying to migrate, I have included the new PHP API, updated 
ADWORDS_VERSION, and been through the guides and changed CampaignService to 
use BudgetService.

When trying to create a new campaign, when the mutate call is made for 
budget, my browser just shows "no data returned". I can't see any error 
message. I have tried to turn on logs, but nothing is created. I have 
traced through the code to where it crashes, in AdsSoapClient it stops at:

$response = parent::__soapCall($function_name, $arguments, $options,
  $input_headers, $output_headers);

I have printed out the data at this point:

$input_headers
Array ( [0] => SoapHeader Object ( [namespace] => 
https://adwords.google.com/api/adwords/cm/v201302 [name] => RequestHeader 
[data] => SoapRequestHeader Object ( [authToken] => [clientCustomerId] => 
284-677-2227 [developerToken] => REMOVED [userAgent] => RSCPP 
(AwApi-PHP/4.4.0, Common-PHP/5.0.0, PHP/5.3.1) [validateOnly] => 
[partialFailure] => ) [mustUnderstand] => ) ) 

$arguments
Array ( [0] => BudgetServiceMutate Object ( [operations] => Array ( [0] => 
BudgetOperation Object ( [operand] => Budget Object ( [budgetId] => [name] 
=> F2F Beddington CR0 KeywordBudget #864 [period] => DAILY [amount] => 
Money Object ( [microAmount] => 200 [ComparableValueType] => 
[_parameterMap:ComparableValue:private] => Array ( [ComparableValue.Type] 
=> ComparableValueType ) ) [deliveryMethod] => STANDARD [referenceCount] => 
[isExplicitlyShared] => [status] => ) [operator] => ADD [OperationType] => 
[_parameterMap:Operation:private] => Array ( [Operation.Type] => 
OperationType ) ) ) ) ) 

How does this all look? One odd thing I noticed is the namespace being 
201302, is that right?

How do I debug further from here please? Thanks.

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

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

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




Re: Campaigns Limited by Budget

2013-07-25 Thread Rob
Thanks Zweitze - that first option should help us out well enough.

I'd be interested to know how the AdWords UI calculates the same status - 
anyone from Google have the answer to that please?

On Thursday, 25 July 2013 10:37:15 UTC+1, Zweitze wrote:
>
> I assume this is derived from other results of the campaign. I see two 
> methods:
>
> 1. Retrieve an Adhoc report with the fields 
> SearchBudgetLostImpressionShare and ContentBudgetLostImpressionShare. When 
> either field indicates that indeed impressions were lost, the budget is not 
> high enough.
> 2. Retrieve an Adhoc report with the fields Cost and Budget. Compare them, 
> when Cost > 95% of  budget then you can assume that the budget is limiting 
> the number of impressions.
>
> For both methods you need to supply a period, and you need to experiment 
> with this. (eg. last 7 days, this month etc)
> Note: The second method is tough to implement when you use shared budgets.
>
>
> Hope this helps
>
>
>
> On Wednesday, July 24, 2013 4:54:48 PM UTC+2, Rob wrote:
>>
>> Hi,
>>
>> Is there a way to retrieve the "Limited by Budget" status for a campaign 
>> via the API?
>>
>> If there is, I can't find it in the docs, only the usual campaign status 
>> values of "ACTIVE", "PAUSED" and "DELETED".
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Enhanced site link data

2013-07-25 Thread Zweitze
So the magical field is called AttributeValues. Thank you!

On Tuesday, July 23, 2013 4:33:27 PM UTC+2, Shay BarChen wrote:
>
> Hi ,
> you can use the following AWQL in order to get site link data ( do not 
> forget to add clicktype = sitelink )
>
> SELECT 
> FeedItemId,FeedId,CampaignName,CampaignId,AttributeValues,AdId,AdGroupName,AdGroupId
>  
> FROM PLACEHOLDER_FEED_ITEM_REPORT DURING YESTERDAY 
>
> regards, 
> Shay.
>
>
> On Tue, Jul 23, 2013 at 4:13 PM, Zweitze  >wrote:
>
>> Hello,
>>
>> I'd like to retrieve data of enhanced site links: their text, destination 
>> URL and parent group or -campaign. I don't need their results like clicks 
>> or cost.
>>
>> I assume this information is available in reports, so I looked at the 
>> PLACEHOLDER_FEED_ITEM_REPORT. But... I can't see the site link text or 
>> destination URL. Did I miss something?
>>
>> Am I really supposed to enumerate all campaigns and groups, use 
>> CampaignFeedService/AdGroupFeedService etc.etc.?
>>
>> Thanks in advance!
>>
>> -- 
>> -- 
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>> Also find us on our blog and discussion group:
>> http://adwordsapi.blogspot.com
>> http://groups.google.com/group/adwords-api
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>>  
>> You received this message because you are subscribed to the Google
>> Groups "AdWords API Forum" group.
>> To post to this group, send email to adwor...@googlegroups.com
>> To unsubscribe from this group, send email to
>> adwords-api...@googlegroups.com 
>> For more options, visit this group at
>> http://groups.google.com/group/adwords-api?hl=en
>>  
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "AdWords API Forum" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to adwords-api...@googlegroups.com .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://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: Campaigns Limited by Budget

2013-07-25 Thread Zweitze
I assume this is derived from other results of the campaign. I see two 
methods:

1. Retrieve an Adhoc report with the fields SearchBudgetLostImpressionShare 
and ContentBudgetLostImpressionShare. When either field indicates that 
indeed impressions were lost, the budget is not high enough.
2. Retrieve an Adhoc report with the fields Cost and Budget. Compare them, 
when Cost > 95% of  budget then you can assume that the budget is limiting 
the number of impressions.

For both methods you need to supply a period, and you need to experiment 
with this. (eg. last 7 days, this month etc)
Note: The second method is tough to implement when you use shared budgets.


Hope this helps



On Wednesday, July 24, 2013 4:54:48 PM UTC+2, Rob wrote:
>
> Hi,
>
> Is there a way to retrieve the "Limited by Budget" status for a campaign 
> via the API?
>
> If there is, I can't find it in the docs, only the usual campaign status 
> values of "ACTIVE", "PAUSED" and "DELETED".
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Digits in russian keywords

2013-07-25 Thread Иван Красников
Problem solved - it was just unbreakable spaces ( 

On Monday, July 8, 2013 11:41:22 AM UTC+4, Иван Красников wrote:
>
> Hi, I'm trying to create listings in Google advords through api. I use a 
> PHP client library. 
> All good but some keywords are not created -  Google returns not exemtable 
> policy violation. This occurs when a keyword is the number 2. Examples of 
> key words
> офицеры 2
> Телохранитель 2
> Найденыш 2 
> офицеры 2 бесплатно
> It'is strange becouse i can create this keywords in interface.
> PolicyError:
>
> PolicyViolationError Object
> (
> [key] => PolicyViolationKey Object
> (
> [policyName] => nonstandard_punctuation
> [violatingText] =>  
> )
>
> [externalPolicyName] => Пунктуация - нестандартная пунктуация
> [externalPolicyUrl] => 
> [externalPolicyDescription] => Согласно правилам Google не допускается 
> использование лишних или ненужных знаков препинания или символов, включая 
> тильды (~), звездочки (*) и вертикальные линии (|). См. наш полный список 
> правил 
> .
> [isExemptable] => 
> [violatingParts] => Array
> (
> [0] => PolicyViolationErrorPart Object
> (
> [index] => 7
> [length] => 1
> )
>
> )
>
> [fieldPath] => operations[4].operand.criterion.text
> [trigger] =>  
> [errorString] => PolicyViolationError.POLICY_ERROR
> [ApiErrorType] => PolicyViolationError
> [_parameterMap:ApiError:private] => Array
> (
> [ApiError.Type] => ApiErrorType
> )
>
> )
>
> Operation:
>
> AdGroupCriterionOperation Object
> (
> [operand] => BiddableAdGroupCriterion Object
> (
> [userStatus] => 
> [systemServingStatus] => 
> [approvalStatus] => 
> [disapprovalReasons] => 
> [destinationUrl] => 
> [experimentData] => 
> [firstPageCpc] => 
> [topOfPageCpc] => 
> [qualityInfo] => 
> [stats] => 
> [biddingStrategyConfiguration] => BiddingStrategyConfiguration 
> Object
> (
> [biddingStrategyType] => 
> [biddingScheme] => 
> [bids] => Array
> (
> [0] => CpcBid Object
> (
> [bid] => Money Object
> (
> [microAmount] => 300
> [ComparableValueType] => 
> 
> [_parameterMap:ComparableValue:private] => Array
> (
> [ComparableValue.Type] => 
> ComparableValueType
> )
>
> )
>
> [contentBid] => 
> [cpcBidSource] => 
> [BidsType] => 
> [_parameterMap:Bids:private] => Array
> (
> [Bids.Type] => BidsType
> )
>
> )
>
> )
>
> )
>
> [adGroupId] => 8085172780
> [criterionUse] => 
> [criterion] => Keyword Object
> (
> [text] => офицеры 2 фильм
> [matchType] => BROAD
> [id] => 
> [type] => 
> [CriterionType] => 
> [_parameterMap:Criterion:private] => Array
> (
> [Criterion.Type] => CriterionType
> )
>
> )
>
> [forwardCompatibilityMap] => 
> [AdGroupCriterionType] => 
> [_parameterMap:AdGroupCriterion:private] => Array
> (
> [AdGroupCriterion.Type] => AdGroupCriterionType
> )
>
> )
>
> [exemptionRequests] => 
> [operator] => ADD
> [OperationType] => 
> [_parameterMap:Operation:private] => Array
> (
> [Operation.Type] => OperationType
> )
>
> )
>
>
>
>

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