Google ads API token in prod

2021-10-03 Thread Sarah A
Hello,
I have created a solution that I want to connect to Google ads api to 
automatically create my campaigns, track them and edit the reporting.
I have done the tests with a test token.
I would like to access a token in production. 
I need to fill in a form to get a production token. How to maximize my 
chances to have this token (With the googleads account I used I never 
published a campaign (even with the googleads interface)? 
If googleads refuses me the token, can I reapply quickly?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fae688b7-a1aa-4733-acdc-c6ae020c4b88n%40googlegroups.com.


AdWords and Google Ads into BigQuery

2021-09-17 Thread Sarah Morgan
Hello,

We are currently the AdWords API to get data into BigQuery - which is the 
standard interface provided. We are finding we are missing some campaigns. 
This appears to be because this API does not support this campaign type. 
Google Ads API would allow us to get this data, but this would mean we 
would need to create a custom integration.

We understand that AdWords is potentially being deprecated soon - what is 
the plan for there to be a standard interface between Google Ads API and 
BQ? Are you intending to release this soon and will it include all campaign 
types?

Many thanks,
Sarah

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e7e8592d-e89a-4cc5-ad7b-9770cfa757f7n%40googlegroups.com.


Banner Ads with API (without HTML5)

2021-04-28 Thread Sarah A
Hi,
Is it possible to create a banner ads via GoogleAds API without appling on 
HTML5 ?
Now I can only create a responsive Ads with API. 

Thanks!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a68bc7a4-6f91-4da0-a386-9f51a38ecce8n%40googlegroups.com.


Re: v2 Deprecation Errors

2020-11-03 Thread sarah
It looks like I had to upgrade my entire Python ecosystem to 3.7 (I was 
previously on 3.6). That wasn't something I expected since Python 3.6 isn't 
sunset yet!

On Tuesday, November 3, 2020 at 2:36:06 PM UTC-5 adsapiforumadvisor wrote:

> Hi Sarah,
>
> Can you please share the full request and response for this error? You 
> also received this error while trying to reinstall using the newest 
> version <https://github.com/googleads/google-ads-python/>?
>
>
>
> Regards,
> Anthony
> Google Ads API Team
>
> [image: Google Logo] 
> Anthony 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q275mA4: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 
"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/3b5efbda-8ad1-4e3c-840c-4c3fe4387004n%40googlegroups.com.


Re: v2 Deprecation Errors

2020-11-02 Thread sarah
Hello, could you please be more specific? I use the GoogleAdsService and 
the .search() functionality, but am getting an error when I provide "v5" as 
the version. What would be the cause of that behavior?

On Monday, November 2, 2020 at 12:01:24 PM UTC-5 adsapiforumadvisor wrote:

> Hi Sarah,
>
> You can use this migration guide 
> <https://developers.google.com/google-ads/api/docs/version-migration> 
> which should help you migrate out of v2 and onto newer versions of the API. 
>
> Regards,
> Anthony
> Google Ads API Team
>
> [image: Google Logo] 
> Anthony Madrigal 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q275mA4: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 
"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/9462fd90-7153-45df-a944-9629f869f4fbn%40googlegroups.com.


Re: v2 Deprecation Errors

2020-11-02 Thread sarah
Hello, could you please be more specific? This is the guide that I am 
referencing currently, but only use the GoogleAdsService 
<https://developers.google.com/google-ads/api/reference/rpc/v3/GoogleAdsService>
 and 
don't use the .Search() functionality. I am still unsuccessful in providing 
"v5" as an argument to the API. Is this expected?

On Monday, November 2, 2020 at 12:01:24 PM UTC-5 adsapiforumadvisor wrote:

> Hi Sarah,
>
> You can use this migration guide 
> <https://developers.google.com/google-ads/api/docs/version-migration> 
> which should help you migrate out of v2 and onto newer versions of the API. 
>
> Regards,
> Anthony
> Google Ads API Team
>
> [image: Google Logo] 
> Anthony Madrigal 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q275mA4: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 
"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/e8498d96-4c25-4da9-a27d-5bb57cf3863fn%40googlegroups.com.


v2 Deprecation Errors

2020-10-29 Thread Sarah Krasnik
Hello, 

Since v2 has been sunset, I am trying to use a higher google ads API 
version using the google-ads python client. Below is the code snippet I'm 
using:

client = google.ads.google_ads.client.GoogleAdsClient(creds, dev_token)
ga_service = client.get_service('GoogleAdsService')

I have tried provide a 'v5' argument to the client.get_service() call, but 
it says the only possible versions as v1 and v2. I have also tried pip 
uninstalling and reinstalling the google-ads package (installs to 
google-ads==4.0.0), with the same error.

What do I need to do to use a higher version after v2?

Thank you in advance.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ccb38986-23f9-4156-acee-bd420ea6d5c2n%40googlegroups.com.


Customer Match UserList Exclusion

2020-09-30 Thread Sarah
Hi

Can you provide an example of C# on how to exclude a customer match crm 
based userlist in a campaign or ad group? I can't find one in github.

Thanks.
Sarah

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/eaa08eae-c578-4106-b164-0647b12f5ffen%40googlegroups.com.


Developer token Verification for linked Google Ads Managers accounts

2020-09-16 Thread Sarah
Hi

If I have a Parent GoogleAds Manager which links to several Child GoogleAds 
Managers, do I need to apply for the Developer Token access for each 
Managers or is it enough just apply for the Parent Manager then the 
Parent's would be able to access the Child's?

Thanks
Sarah

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2fe78e15-5cc5-41dc-b3cc-cb19cbe1623fn%40googlegroups.com.


Re: Can I remove the uselist using Ads API V4

2020-07-31 Thread Sarah


Hello Xiaoming

 The code snippet you suggested in the previous email didn’t help I’m 
afraid.

 The snippet of C# code I ran trying to remove the userList : 

*  UserListServiceClient userListService = 
_adsClient.GetService(Services.V4.UserListService);*

*  UserListOperation userListOperation = new UserListOperation { Remove 
= audienceResourceName };*

*  try*

*  {*

*MutateUserListsResponse response = 
userListService.MutateUserLists(customerId.ToString(), new 
UserListOperation[] { userListOperation });*

*return response.Results.FirstOrDefault()?.ResourceName;*

*  }*

*  catch (GoogleAdsException e)*

*  { *

*  } *

 

but I got an exception message : 

*Message: Status(StatusCode=InvalidArgument, Detail="Request contains an 
invalid argument.")*

*Failure: { "userListError": "USER_LIST_MUTATE_NOT_SUPPORTED" }, Creating 
user list without setting type in oneof user_list field, or 
creating/updating read-only user list types is not allowed.*

*Request ID: G78DCEJdFWgwRVnAQExVwg*

 

I don't think there's anything wrong with the above C# code, because the 
same syntax of code works for removing a campaign : 

*  CampaignServiceClient campaignService = 
_adsClient.GetService(Services.V4.CampaignService);*

*  CampaignOperation operation = new CampaignOperation() { Remove = 
campaignResourceName };*

*  try*

*  {*

*MutateCampaignsResponse response = 
campaignService.MutateCampaigns(customerId.ToString(), new 
CampaignOperation[] { operation });*

*return response.Results.FirstOrDefault()?.ResourceName;*

*  }*

*  catch (GoogleAdsException e)*

*  {*

*  }*

 

The failure reason doesn't make sense to me - "Creating user list without 
setting type in oneof user_list field, or creating/updating read-only user 
list types is not allowed.", 

because I was trying to 'Remove' the userlist not creating/updateing.

 

Can you please check if that's a bug in the GoogleAds Api for removing a 
userlist ? Will you fix it ? Thank you.

 

Best Wishes

Sarah

On Thursday, July 30, 2020 at 9:38:47 PM UTC+1 adsapiforumadvisor wrote:

> Hi Sarah,
>
> Thank you for reaching out. You could refer to this code snippet 
> <https://github.com/googleads/google-ads-java/blob/master/google-ads-examples/src/main/java/com/google/ads/googleads/examples/remarketing/SetupRemarketing.java#L216>
>  
> as an example to remove the existing user list in the Google Ads API. You 
> would need to use the remove 
> <https://developers.google.com/google-ads/api/reference/rpc/v4/UserListOperation#remove>
>  
> operator instead.
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q22aKgB: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 
"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/c0d4b9f9-1c05-42e9-89b6-7e75ed0efdf8n%40googlegroups.com.


Can I remove the uselist using Ads API V4

2020-07-30 Thread Sarah
Hello

I'm integrating with Google Ads API V4.

Can I remove the userList after creating it use this :

  UserListServiceClient userListService = 
_adsClient.GetService(Services.V4.UserListService);
  UserList userList = new UserList
  {
Name = name,
Description = description,
MembershipLifeSpan = membershipDuration,
Type = UserListTypeEnum.Types.UserListType.CrmBased,
CrmBasedUserList = new CrmBasedUserListInfo()
{
  UploadKeyType = 
CustomerMatchUploadKeyTypeEnum.Types.CustomerMatchUploadKeyType.ContactInfo
}
  };
  UserListOperation userListOperation = new UserListOperation
  {
Create = userList
  };

Looking forward to hearing from you. 

Thanks
Sarah

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7a37a872-def5-4865-842b-5bda7e521951n%40googlegroups.com.


Remove UserList

2020-07-30 Thread Sarah
Hello

I'm integrating with Google Ads API V4.

Can I remove the userList after creating it use this :

  UserListServiceClient userListService = 
_adsClient.GetService(Services.V4.UserListService);
  UserList userList = new UserList
  {
Name = name,
Description = description,
MembershipLifeSpan = membershipDuration,
Type = UserListTypeEnum.Types.UserListType.CrmBased,
CrmBasedUserList = new CrmBasedUserListInfo()
{
  UploadKeyType = 
CustomerMatchUploadKeyTypeEnum.Types.CustomerMatchUploadKeyType.ContactInfo
  //DataSourceType = 
UserListCrmDataSourceTypeEnum.Types.UserListCrmDataSourceType.FirstParty
}
  };
  UserListOperation userListOperation = new UserListOperation
  {
Create = userList
  };

Looking forward to hearing from you. 

Thanks
Sarah

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d4f87e5c-8ad1-405b-86d4-0dbd09b029d0n%40googlegroups.com.


Unknown (missing in database) targeting value in change history

2020-02-04 Thread Sarah
Hi, Just want to ask what this error means?

*Unknown (missing in database) targeting value*

I saw this in *change history* after i have uploaded a keyword via API 
service. Everything on my end is fine including my local database update 
and the campaign i uploaded that to. Is this just a display bug? I would 
like to know if this happens from time to time. I have also attached an 
image for reference.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/48836d9b-2313-4e66-9664-5fdf2e19421d%40googlegroups.com.


API use for customer-account

2019-06-24 Thread 'Sarah' via AdWords API and Google Ads API Forum
Hi,

is there another possibility to access a Google Ads customer-account 
through the API instead of connecting my administration-account with the 
customer-account?

Maybe like: The customer gives me his clientId and clientSecret and maybe 
developerToken? And I can put these values in my ads.properties-file. The 
refreshToken I can create maybe?

Thanks a lot.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6e2baf6f-6f6e-4778-a2f0-34443dba90c4%40googlegroups.com.


Google Ads API userListService.MutateMembers ?

2019-03-25 Thread Sarah
Hi

In AdWords API, I could use add hashed emails to a userlist for customer 
match, e.g.

  MutateMembersReturnValue mutateMembersResult =  
userListService.mutateMembers( new MutateMembersOperation[] 
{mutateMembersOperation});


How to do the same using Google Ads API ?

Thanks
Sarah

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/10bce2ff-b061-4669-a34b-12f1494bf721%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to GetUserList using Googld ads api ?

2019-03-20 Thread Sarah
Hi Dannison,

Referring to the GetCampaigns.cs, I've worked out the code below. I like 
the flexibility of using GoogleAdsService queries - 
https://developers.google.com/google-ads/api/docs/query/overview, which is 
more relevant to my project than using UserListService.

  GoogleAdsServiceClient googleAdsService = 
_adsClient.GetService(Services.V1.GoogleAdsService);
  string query = $@"SELECT user_list.id, user_list.name, 
user_list.membership_status FROM user_list  
 WHERE user_list.name = '{audienceName}' 
 ORDER BY user_list.id DESC ";

  SearchGoogleAdsRequest request = new SearchGoogleAdsRequest()
  {
PageSize = PAGE_SIZE,
Query = query,
CustomerId = customerId.ToString()
  };
 
PagedEnumerable searchPagedResponse 
= googleAdsService.Search(request);
return (long)searchPagedResponse.FirstOrDefault()?.UserList.Id;


Thanks very much for your help.


Best Regards
Sarah

On Wednesday, March 20, 2019 at 6:32:25 AM UTC, googleadsapi-forumadvisor 
wrote:
>
> Hi Sarah,
>
> You can retrieve the UserList Ids by using the UserListService.GetUserList 
> <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.services#userlistservice>
>   
> and get UserList.id 
> <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.resources#google.ads.googleads.v1.resources.UserList>.
>  
> My apologies as there are no sample codes available right now that I can 
> provide. However, you may refer to the GetCampaigns.cs 
> <https://github.com/googleads/google-ads-dotnet/blob/master/examples/BasicOperations/GetCampaigns.cs>
>  
> guide on how to use the get operation.
>
> Regards,
> Dannison
> Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> Was your question answered? Please rate your experience with us by taking 
> a short survey.
> If not -- reply to this email and tell us what else we can do to help.
>
> Take Survey 
> <https://support.google.com/google-ads/contact/survey_transactional?caseid=0-217725703=en=1>
>
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> On 03/19/19 23:40:51 sara...@apteco.com  wrote:
>
> Hi 
>
> public long LookAudienceIdUsingName(string name)
> {
>   AdwordsUserListService userListService =
> (AdwordsUserListService)_user.GetService(
>   AdWordsService.v201809.AdwordsUserListService);
>
>   string query = $"SELECT Id, Name, Status, AccountUserListStatus 
> Where Name = '{name}' ORDER BY Id Desc";
>   int offset = 0;
>   int pageSize = 1;
>   UserListPage page = new UserListPage();
>
>   string queryWithPaging = $"{query} LIMIT {offset}, {pageSize}";
>   page = userListService.query(queryWithPaging);
>
>   foreach (UserList userList in page.entries)
> return page.entries[0].id;
>
>   return 0;
> }
>
> The above is my C# code to get an audience Id calling AdWords API - this 
> works fine no problem. 
>
> I'm now migrating our integration to Google Ads API. Can you please 
> provide a sample code that do the same as the above ? I couldn't find one.
>
> Thanks.
> Sarah
>
> -- 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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/a4dcfac3-42dc-4a42-9fc5-86b744b44390%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/adwords-api/a4dcfac

Site URL Update - Can AdWords API Help?

2018-03-29 Thread Sarah H
Hi,

Is there any feature of the AdWords API that could be used to help with 
updating ALL final URLs within an AdWords account?

To give some context, all URLs will be updated, and it's not just a http to 
https change, it's more broad than that. So all keyword, ad, sitelink URLs 
will need updating.

They will redirect so we won't need to action this all at once but it would 
still be good to get this process as automated as possible.

If AdWords API isn't the right tool, but anyone has experience using 
another method, please let me know!

Thank you

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/847bdd87-1c11-4e57-b313-8b33883f8e56%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Hitting API limit, despite having Standard access

2017-04-21 Thread Sarah Hewitson
We seem to be hitting the API limit, despite the fact that we now have 
Standard access to the API. I thought that Standard access was unlimited?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c3bd3792-d767-4f05-9a5d-e145a9ab05cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Apply Experimental Changes

2015-08-24 Thread Sarah Riddell
Hi,

As I am successful to create experiments on campaigns, change keywords bid 
multiplier with query Percentage 90% control / 10 % experiment  
start/end/remove as my requirements using PHP ADWORD API v201502 but *now i 
want to apply my experimental changes .* but i got a scenario*,* For example







*I have 1 keyword in a campaign CRUISH120 with keyword bid multiplier  2,  
so $0.50 X 2 = $1.00*So, when i promote that experiment









*, with $experiment-status = 'PROMOTED'; what would happen on the Max. CPC 
of this keyword, it remains $0.50 , why?Is the experimental bid will be 
apply on our Max. CPC when we promote experiement?Is their another way to 
apply those experimental changes with PHP ADWORD API?*Thanks
Sany

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/74f291d8-67b7-4672-b73c-5ec4804117b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: {[AuthenticationError.NOT_ADS_USER @ ; trigger:'null']} while getting the existing campaigns

2015-08-23 Thread Sarah N

Now , I just used the Client Library (.Net) for authentication , in 
OAuth2ProviderBase class we have these lines:

 protected string TOKEN_ENDPOINT = 
https://accounts.google.com/o/oauth2/token;;

//.


  WebRequest request = HttpWebRequest.Create(TOKEN_ENDPOINT);
   request.Proxy = config.Proxy;
   request.Method = POST;
   request.ContentType = application/x-www-form-urlencoded;
//...


response = request.GetResponse();


it gets *Error 400 - Bad Request*.

the body is look like this:
 
*client_id=XXXclient_secret=XXXrefresh_token=XXXgrant_type=refresh_token*

Is this because of wrong URL? 





-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/336fb38f-69ed-48a7-83ee-2ee3ca04a34b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: {[AuthenticationError.NOT_ADS_USER @ ; trigger:'null']} while getting the existing campaigns

2015-08-23 Thread Sarah N
Thanks Umesh, 
I 've just replace the existing refresh token with the new token created by 
Test MCC Account. and run again, 
the error is changed to this :
Failed to refresh access token.
{   error : unauthorized_client }





On Saturday, August 22, 2015 at 7:03:00 AM UTC+10, Umesh Dengale wrote:

 Hi Sarah,

 You created refresh token before the creation of ClientId and ClientSecret 
 key. You could recreate refresh token and call the API.

 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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6e923017-9031-48e3-b9c1-0411ff050ae1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


{[AuthenticationError.NOT_ADS_USER @ ; trigger:'null']} while getting the existing campaigns

2015-08-21 Thread Sarah N
I'm trying to get access and refresh token in OAuth2 for GoogleAdWords:
I've done these steps before:

1)Create  manager Account 
2)Create developer Token from manager Account.
3)Create Test MCC account  
4)Use the *Test MCC account* for creating *RefreshToken *by 
running OAuthTokenGenerator.exe
5)Create AdWords account , and Use this account for creating *ClientId *and 
*ClientSecret 
.*

use these values in Web.config of my project.
but when I try to Get the campaigns with this code:
  //
  page = campaignService.get(selector); 

it gets the error 
{[AuthenticationError.NOT_ADS_USER @ ; trigger:'null']}

I'm very new to GoogleAdwords , so maybe something I'm missing from setting 
 or sth else.
could anyone help me with that?



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7c2d1014-8fe7-4a24-bfb9-e78a23f300b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Request and Operation limit on Test MCC account level

2015-07-30 Thread Sarah Riddell
Hi,

I want to know the number of requests  operations are available on *Test 
MCC account*.?
On Test MCC account,  is it *Basic access or standard access*?
Test MCC account API call effects production account *operation or request* 
Counts? as it uses *same *developer token for both API call

Thanks.
Sarah Riddell

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/53a2f8de-0a03-417b-a47a-0f71ba76a116%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to handle RateExceededError.retryAfterSeconds in PHP v201502

2015-07-28 Thread Sarah Riddell
Hi,

Today i am facing *RateExceededError *on my standard account when 
performing batch operations on single request(1000 operations in each 
mutate request).

It returns retryAfterSeconds=86400 not warning for  retryAfterSeconds=30 
seconds for the first time after *9* success mutate calls(1000 operations 
in each mutate request).

[faultMessage=[RateExceededError rateName=BillingPerDay, 
rateKey=level1_plan, rateScope=DEVELOPER, retryAfterSeconds=86400]


Can anyone post an proper  examplen In *PHP *to handle 
RateExceededError.retryAfterSeconds 
? like the below one in Written in JAVA

try {
  ...
} catch (ApiException e) {
  for (ApiError error : e.getErrors()) {
if (error instanceof RateExceededError) {
  RateExceededError rateExceeded = (RateExceededError) error;
  Thread.sleep(rateExceeded.getRetryAfterSeconds() * 1000);
}
  }
  ...
}

Please help, it's an urgent. Thanks in advance


Sarah Riddle



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/289f0a9f-4fd8-4f43-ac38-81f21759bd95%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Getting RateExceededError error in API call on Standard access account

2015-07-28 Thread Sarah Riddell
Hi Umesh Dengal

Thanks for your reply, in your last comment you said to honor the 
*retryAfterSeconds*, but when i batch 1000 operations in every single 
request, API returns *retryAfterSeconds=86400* right after 9th requests 
(1000 operations each). The *retryAfterSeconds *never says 30 seconds for 
the first time , it starts with 86400 right away *why*???

I am using Google Adword API PHP v201502 with standard access.

My Response 

[Jul 28 2015 02:26:00.00 - INFO] effectiveUser=XX 
service=AdGroupCriterionService method=mutate operators={SET: 1001} 
responseTime=3465 requestId=00051bec0cd379f80a4c45e9d005fe0d 
operations=1001 units= server=adwords.google.com isFault=false 
faultMessage=null
[Jul 28 2015 02:26:05.00 - INFO] effectiveUser=XX 
service=AdGroupCriterionService method=mutate operators={SET: 1001} 
responseTime=2772 requestId=00051bec0d1d44980a4c0b06390a5ee6 
operations=1001 units= server=adwords.google.com isFault=false 
faultMessage=null
[Jul 28 2015 02:26:08.00 - INFO] effectiveUser=XX 
service=AdGroupCriterionService method=mutate operators={SET: 1001} 
responseTime=2380 requestId=00051bec0d5c2a280a4c16828a01ee7b 
operations=1001 units= server=adwords.google.com isFault=false 
faultMessage=null
[Jul 28 2015 02:26:12.00 - INFO] effectiveUser=XX 
service=AdGroupCriterionService method=mutate operators={SET: 1001} 
responseTime=2493 requestId=00051bec0d968f600a4c5f828f00ef9c 
operations=1001 units= server=adwords.google.com isFault=false 
faultMessage=null
[Jul 28 2015 02:26:16.00 - INFO] effectiveUser=XX 
service=AdGroupCriterionService method=mutate operators={SET: 1001} 
responseTime=2505 requestId=00051bec0dd2e8980a4c7f27ea0fce28 
operations=1001 units= server=adwords.google.com isFault=false 
faultMessage=null
[Jul 28 2015 02:26:20.00 - INFO] effectiveUser=XX 
service=AdGroupCriterionService method=mutate operators={SET: 1001} 
responseTime=2847 requestId=00051bec0e0d65400a4c006f090f3626 
operations=1001 units= server=adwords.google.com isFault=false 
faultMessage=null
[Jul 28 2015 02:26:24.00 - INFO] effectiveUser=XX 
service=AdGroupCriterionService method=mutate operators={SET: 1001} 
responseTime=2069 requestId=00051bec0e4dc1d00a4c6decbf071265 
operations=1001 units= server=adwords.google.com isFault=false 
faultMessage=null
[Jul 28 2015 02:26:27.00 - INFO] effectiveUser=XX 
service=AdGroupCriterionService method=mutate operators={SET: 1001} 
responseTime=2411 requestId=00051bec0e81b6980a4c6decbf071265 
operations=1001 units= server=adwords.google.com isFault=false 
faultMessage=null
[Jul 28 2015 02:26:31.00 - INFO] effectiveUser=XX 
service=AdGroupCriterionService method=mutate operators={SET: 1001} 
responseTime=2445 requestId=00051bec0ebaaca00a4c628864068c50 
operations=1001 units= server=adwords.google.com isFault=false 
faultMessage=null
[Jul 28 2015 02:26:32.00 - ERROR] effectiveUser=XX 
service=AdGroupCriterionService method=mutate operators={SET: 1001} 
responseTime=207 requestId=00051bec0ef4fa680a4c58a93d02bba0 operations=1001 
units= server=adwords.google.com isFault=true 
faultMessage=[RateExceededError rateName=BillingPerDay, 
rateKey=level1_plan, rateScope=DEVELOPER, retryAfterSeconds=86400]
[Jul 28 2015 02:26:34.00 - ERROR] effectiveUser=XX 
service=AdGroupCriterionService method=mutate operators={SET: 1001} 
responseTime=193 requestId=00051bec0f0601c80a4c58a93d02bba0 operations=1001 
units= server=adwords.google.com isFault=true 
faultMessage=[RateExceededError rateName=BillingPerDay, 
rateKey=level1_plan, rateScope=DEVELOPER, retryAfterSeconds=86400]

Thanks
Sany Ahmed



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3e3c3151-ebbc-4413-9a60-de0a8e01a8ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Getting RateExceededError error in API call on Standard access account

2015-07-21 Thread Sarah Riddell

Hi,

I am getting this rateExceededError from today, Even though I have only 
used normal units so far.

RateExceededError rateName=BillingPerDay, rateKey=level1_plan, 
rateScope=DEVELOPER, retryAfterSeconds=86400


Can anyone tell me how the 10k per day are working?
My system was working perfectly until today morning,  can someone please 
help me  

Please help me its very urgent...

Thanks, 
Sany Ahmed

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/922f452f-ed8e-4460-b6ee-fc72b152fb82%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Getting RateExceededError error in API call on Standard access account

2015-07-21 Thread Sarah Riddell
Hi,

I want to clarify here that the Adword API call for *AWQL reporting service 
works fine* but for other services like *ExperimentService*, *CampaignService 
*etc causing the problem plus the *retryAfterSeconds *value is not 
decrementing also when i call API.


Please help me its very urgent...
 
Thanks, 
Sany Ahmed

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/efbd4054-7d08-4a99-98c1-1ddd05fab6b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Getting RateExceededError error in API call on Standard access account

2015-07-21 Thread Sarah Riddell
Hi,

I want to clarify here that the Adword API call for *AWQL reporting service 
works fine* but for other services like *ExperimentService*, *CampaignService 
*etc causing the problem plus the *retryAfterSeconds *value is not 
decrementing also when i call API.


Please help me its very urgent...
 
Thanks, 
Sany Ahmed

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c836ed70-65ce-4b65-a3a6-74988988c4e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Changing bids for individual keywords , using experment compare the results and if necessary to remove unsuccessful experments

2015-06-29 Thread Sarah Riddell
j

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fb2ca77d-380a-47ab-86ef-009de964aaf0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
; Detailed descriptions of these properties can be found at:
; https://developers.google.com/adwords/api/docs/headers

;developerToken = INSERT_DEVELOPER_TOKEN_HERE
developerToken = kzfV82lNpck#_G-zOt_rRuA
;userAgent = INSERT_COMPANY_NAME_HERE
userAgent = beef.com

; Uncomment clientCustomerId to make requests against a single AdWords account,
; such as when you run the examples.
; If you don't set it here, you can set the client customer ID dynamically:
;  $user = new AdWordsUser();
;  $user-SetClientCustomerId(...);

; clientCustomerId = INSERT_CLIENT_CUSTOMER_ID_HERE
clientCustomerId = 923-788-4263

[OAUTH2]

; If you do not have a client ID or secret, please create one of type
; installed application in the Google API console:
; https://cloud.google.com/console
;client_id = INSERT_OAUTH2_CLIENT_ID_HERE
client_id = 
87282448581#-jr7gmg41ke673j5vjnmmkv0seicumm8a.apps.googleusercontent.com
;client_id = 
422736830823-jgmbqm5sl7dbefbg23eukurg9otdk559.apps.googleusercontent.com
;client_secret = INSERT_OAUTH2_CLIENT_SECRET_HERE
client_secret = #RdpD0sf7KBgI0upKeAyMSLMN
;client_secret = j057oSggadl1ySLB8za_qS6l

; If you already have a refresh token, enter it below. Otherwise run
; GetRefreshToken.php.
;refresh_token = INSERT_OAUTH2_REFRESH_TOKEN_HERE
refresh_token = 1/#IkTNktg082X6TOV9wsEJdHqg_W4tLwtKnY6l61dhZbo



Get Current Experients on Adword Client Account

2015-06-26 Thread Sarah Riddell

Hi,

How to get current existing experiment ids on campaigns on my adword 
account?


For Example,

I have an account with name XXX with 150+ campaigns, now 50 campaign has 
experiments with 35 running and 15 stopped status.Then how i get all of the 
experiments ids, names  status on any campaign  like this 

campaign_id  experiment_id  experiment  name  experiment_status

SSS  545454wewerunning
dee   989899 dfsd paused
erer   458741loki   running
JIJ123557 ujik   running
LOK 459632 dfsd  paused
OKO452132 kolo  running
SSO545454 sdsw paused

Thanks,

Sany

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/681d7d85-44a0-4296-9c43-1746edfcf1ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Get Current Experients on Adword Client Account

2015-06-26 Thread Sarah Riddell
Hi,

On my above question, i want to add some more query that,

Is that any way to start/pause/remove all my created experiments for any 
specific account with one service call without using experiment id for any 
campaign?


Thanks,
Sany

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ec28860b-4e12-4345-9226-d159f0c941aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Get Current Experients on Adword Client Account

2015-06-26 Thread Sarah Riddell
I got solution to track campaigns experiment status with one extra 
*ExperimentService.get* call,hope it will help others.


 $experimentService = $user-GetService('ExperimentService', 
ADWORDS_VERSION);

// Create selector.
$selector = new Selector();
$selector-fields = array('ServingStatus');

$campaignId = array(878745484,96587412); //campaigns ids for 
tracking experiments
// Create predicates.
$selector-predicates[] = new Predicate('CampaignId', 'IN', 
$campaignId);
$selector-predicates[] = new Predicate('Status', 'EQUALS', 'ENABLED');


$result=$experimentService-get($selector);


print 'pre';
print_r($result);


 Thanks,
 Sany


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/61a54360-f7a7-460f-a1e0-64af6b3e3ef5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Get All Client Details under MCC account with PHP API

2015-06-22 Thread Sarah Riddell
Hi Danial,

That's why i am using below approach to get account's  create date  as 
Kevin Winter Suggest, can you tell me that this is ok what i am doing now ? 
need your feedback on it.

https://groups.google.com/forum/#!searchin/adwords-api/creation$20date$20of$20adwords$20account/adwords-api/32TomWaxyd4/lcHix5Y2ceMJ

Thanks,
Sany

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7b76e0cf-92a5-4954-8761-91fc3da41913%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Get All Client Details under MCC account with PHP API

2015-06-21 Thread Sarah Riddell

Hi,

I just want to add some more clarification on my above question.

Now i get client id  client name under my MCC account by passing Root 
client id of MCC account in on auth.in  using ManagedCustomerService based 
on example GetAccountHierarchy.php for v201502

But i need the every client create date along with above information 
because I'm building a reporting service that queries the 
CAMPAIGN_PERFORMANCE_REPORT,ADGROUP_PERFORMANCE_REPORT,KEYWORD_PERFORMANCE_REPORT
based on that create date

Thanks,
Sany

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4b962ada-6dd2-4d53-92f9-d2022043efde%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Get All Client Details under MCC account with PHP API

2015-06-19 Thread Sarah Riddell
Hi,

As i know from the answer of *Josh, AdWords API Team*  that we can get the 
client name using the name fields on CustomerService.Customer 
https://developers.google.com/adwords/api/docs/reference/v201402/CustomerService.Customer,
 
or the name fields on ManagedCustomerService.ManagedCustomer 
https://developers.google.com/adwords/api/docs/reference/v201402/ManagedCustomerService.ManagedCustomer.
 
 CustomerService will give you information on the customer ID in the 
header, while ManagedCustomerService will give you information on all of 
the customers under an MCC.

To issue requests against specific client/customer IDs,we simply set the 
client customer ID dynamically as described in the auth.ini 
https://github.com/googleads/googleads-php-lib/blob/master/src/Google/Api/Ads/AdWords/auth.ini#L10
 
like  this 

$user = new AdWordsUser();
$user-SetClientCustomerId(*'564-667-675'*);


But i need to know all the details of my clients under my MCC accounts. For 
Ex. i have 15 clients under my MCC account. i want to get details like this 
with one request
client name, client id, client creation date

*client name**client id *  

*create dateXXX  564-667-6752014-04-05**YYY   
564-999-6752013-04-05*

*KKK  657-667-6752014-09-05*
*VVV  564-009-6752015-04-05*.   
  
.  .  
*MDV  564-089-6752005-04-05*

So, my questions are

How to get ALL client details(client name, client id, client creation date) 
under my MCC account ?
May i need to pass any specific client id/ Root client id of MCC account in 
this case on auth.in  ?


Thanks,
Sany

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/953822a5-a3d3-450c-8662-3cdf37112c61%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Changing bids for individual keywords , using experment compare the results and if necessary to remove unsuccessful experments

2015-06-17 Thread Sarah Riddell

###()*E^qwIdaqD
Thanks everyone to solve my problem
sany

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3b52717c-7572-4604-988b-0fb85eef0a8f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Can not create experiemnt for a campaign

2015-06-13 Thread Sarah Riddell
Hi Josh,

Thanks for you reply.

 Thanks
 Sany

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/76d34439-329b-4fb0-ab8b-101fce89055f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Add Experiment bidMultiplier for keywords with current Max. CPC value not with default value

2015-06-13 Thread Sarah Riddell
Hi Josh,

Can you please provide me *YOUR* *CODE* that you used using the API to 
reproduce the behavior. 


Thanks
Sarah Riddell

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/72a05b40-eaab-4beb-842d-c7a656f1ddf2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Add Experiment bidMultiplier for keywords with current Max. CPC value not with default value

2015-06-12 Thread Sarah Riddell
Hi,

Please  help me to Add *Experiment  bidMultiplier* for keywords with 
*Current* Max. CPC value not with *Default* value for an Adgroup  Remove 
experiment that will keep may previous bid intact.


For example,

My Default *Max CPC* value within adgroup is $2.0, then i changed it to 
$3.0 from default $2.0. Now when i add experiment *bidMultiplier* with 2  
for any keyword so now it should be $3.0(current)X2= $6.0 but it is  
$2.0(default)X2=$4
and when i remove experiment from campaign the* Max CPC* goes to its 
default adgroup value not the change i made on that keywords *Max CPC* 
value. This weird situation occurs with only* Google Adword API v201502* 
not with manual adword UI interface.
So, now i have couple of questions.


   1. How to add experiment *bidMultiplier* to keyword that will change Max 
   CPC with current value not default value within adgroup?
   2. How to keep changed *Max CPC* value after removing Experiments from 
   campaign?


This code set *Max CPC* but with *Default Max.CPC* value for adgroup not 
with *Current *one  that made changed
=

//SET Max CPC CODE

$adGroupBidMultipliers = new 
ManualCPCAdGroupCriterionExperimentBidMultiplier();
$adGroupBidMultipliers-maxCpcMultiplier = new BidMultiplier(2);  
#*experiment 
bid multiplier*


// Create experiment data for a new experiment-only keyword.
$adGroupCriterionExperimentData =new 
BiddableAdGroupCriterionExperimentData();
$adGroupCriterionExperimentData-experimentId = $experimentId;  
*#experiment 
id*
$adGroupCriterionExperimentData-experimentDeltaStatus = 'MODIFIED';

$adGroupCriterionExperimentData-experimentBidMultiplier=$adGroupBidMultipliers;

// Find Keyword
$keyword = new Keyword($value['keyword_text'], 
strtoupper($value['keyword_match_type']), $value['id']);  *#keyword text, 
keyword match type  keyword id*

// Create ad group criterion.
$adGroupCriterion = new BiddableAdGroupCriterion();
$adGroupCriterion-adGroupId = $value['adgroup_id']; * #adgroup 
id*
$adGroupCriterion-criterion = $keyword;
$adGroupCriterion-experimentData = $adGroupCriterionExperimentData;


// Create operation.
$adGroupCriterionOperation = new AdGroupCriterionOperation();
$adGroupCriterionOperation-operand = $adGroupCriterion;
$adGroupCriterionOperation-operator = 'SET';

$adGroupCriterionOperations = array($adGroupCriterionOperation);

// Make the mutate request.
$result = 
$adGroupCriterionService-mutate($adGroupCriterionOperations);



This code  *Remove Experiment *But changed the *Max CPC* value to Default 
Value not my previous changed value.
===
//REMOVE EXPERIMENT CODE

$experimentService = $user-GetService('ExperimentService', 
ADWORDS_VERSION);

// Create experiment with REMOVED status.
$experiment = new Experiment();
$experiment-id = $experimentId['experiment_id'];* #experiment 
id*
$experiment-status = 'REMOVED';


// Create operation.
$operation = new ExperimentOperation();
$operation-operand = $experiment;
$operation-operator = 'SET';

$operations = array($operation);

// Make the mutate request.
$result = $experimentService-mutate($operations);

Thanks.
Sarah Riddell

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1864e78b-e619-4ae4-9bfc-62a93d5bc3d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Add Experiment bidMultiplier for keywords with current Max. CPC value not with default value

2015-06-12 Thread Sarah Riddell


https://lh3.googleusercontent.com/-gPXW4Nr_39Y/VXq-hoYljeI/ADg/clazS4AFpsM/s1600/Untitled.png
Hi,

Please  help me to Add Experiment  bidMultiplier for keywords with Current 
Max. CPC value not with Default value for an Adgroup  Remove experiment 
that will keep may previous bid intact.


For example,

My Default Max CPC value within adgroup is $2.0, then i changed it to $3.0 
from default $2.0. Now when i add experiment bidMultiplier with 2  for any 
keyword so now it should be $3.0(current)X2= $6.0 but it is  
$2.0(default)X2=$4
and when i remove experiment from campaign the Max CPC goes to its default 
adgroup value not the change i made on that keywords Max CPC value. This 
weird situation occurs with only Google Adword API v201502 not with manual 
adword UI interface.
So, now i have couple of questions. *See Attached Image*

How to add experiment bidMultiplier to keyword that will change Max CPC 
with current value not default value within adgroup?
How to keep changed Max CPC value after removing Experiments from 
campaign?


This code set Max CPC but with Default Max.CPC value for adgroup not with 
Current one  that made changed
=

//SET Max CPC CODE

$adGroupBidMultipliers = new 
ManualCPCAdGroupCriterionExperimentBidMultiplier();
$adGroupBidMultipliers-maxCpcMultiplier = new BidMultiplier(2);  
#experiment bid multiplier


// Create experiment data for a new experiment-only keyword.
$adGroupCriterionExperimentData =new 
BiddableAdGroupCriterionExperimentData();
$adGroupCriterionExperimentData-experimentId = $experimentId;  
#experiment id
$adGroupCriterionExperimentData-experimentDeltaStatus = 'MODIFIED';

$adGroupCriterionExperimentData-experimentBidMultiplier=$adGroupBidMultipliers;

// Find Keyword
$keyword = new Keyword($value['keyword_text'], 
strtoupper($value['keyword_match_type']), $value['id']);  #keyword text, 
keyword match type  keyword id

// Create ad group criterion.
$adGroupCriterion = new BiddableAdGroupCriterion();
$adGroupCriterion-adGroupId = $value['adgroup_id'];  #adgroup 
id
$adGroupCriterion-criterion = $keyword;
$adGroupCriterion-experimentData = $adGroupCriterionExperimentData;


// Create operation.
$adGroupCriterionOperation = new AdGroupCriterionOperation();
$adGroupCriterionOperation-operand = $adGroupCriterion;
$adGroupCriterionOperation-operator = 'SET';

$adGroupCriterionOperations = array($adGroupCriterionOperation);

// Make the mutate request.
$result = 
$adGroupCriterionService-mutate($adGroupCriterionOperations);



This code  Remove Experiment But changed the Max CPC value to Default Value 
not my previous changed value.
===
//REMOVE EXPERIMENT CODE

$experimentService = $user-GetService('ExperimentService', 
ADWORDS_VERSION);

// Create experiment with REMOVED status.
$experiment = new Experiment();
$experiment-id = $experimentId['experiment_id']; #experiment id
$experiment-status = 'REMOVED';


// Create operation.
$operation = new ExperimentOperation();
$operation-operand = $experiment;
$operation-operator = 'SET';

$operations = array($operation);

// Make the mutate request.
$result = $experimentService-mutate($operations);

Thanks.
Sarah Riddell

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9c2634ed-9cbf-45d6-8637-2e25ad6421ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Changing bids for individual keywords , using experment compare the results and if necessary to remove unsuccessful experments

2015-06-08 Thread Sarah Riddell
()*E^qwIdaqD

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ac4828b4-54b8-43ab-b41e-bc67d638c022%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Add Experiment set Bid Multiplier for Max. CPC

2015-06-03 Thread Sarah Riddell
Hi Nadine,

Many Thanks for your reply , i have fixed above problems, can you please 
help out on below problem?.


   1. How can i *START *Experiment on campaigns ?
   2. How can i *PAUSE *or *UNPAUSE *Experiment on campaigns ?

Can you provide some example code for this?.

AS i am successfully able to ADD  REMOVE experiments on campaigns

Thanks, 

Sany

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9fc26cfe-0c98-422c-97eb-adcae6b0c7cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Changing bids for individual keywords , using experment compare the results and if necessary to remove unsuccessful experments

2015-05-29 Thread Sarah Riddell


https://lh3.googleusercontent.com/-hZeaaITAV7U/VWhI-911rNI/ADM/zWCDJS26Z0s/s1600/problem2.png
Hi Josh,

Sorry to disturb you again because i am stucked again. please help me out 
of this.When i am trying to set Max. CPC for invidividual keyword i am 
getting a weird situation .

When i downloaded keyword report two keyword with (same id + same 
keyword_text) are withing same adgroup  but different adnetworktype2. then 
the problem is when i am trying to set Max CPC for individual 
keywords with different values , i am in a fix how to select my individual 
keywords . i have attached a png here with field names

Please help me out as you help me previously. Thanks in advance.

Or advice/provide some example code to update keyword Max CPC bid .

KEYWORD FIND
=
//Update keyword.
$keyword = new Keyword($value['keyword_text'], 
$value['keyword_match_type'], $value['id']);  // here no way to specify ad 
network type 2 like goole search or search partner


TOTAL CODE
==
// Create ad group bid multipliers to be used in the experiment.
$adGroupBidMultipliers = new 
ManualCPCAdGroupCriterionExperimentBidMultiplier();
$adGroupBidMultipliers-maxCpcMultiplier = new 
BidMultiplier($value['experiment_bid_multiplier']);


// Create experiment data for a new experiment-only keyword.
$adGroupCriterionExperimentData =new 
BiddableAdGroupCriterionExperimentData();
$adGroupCriterionExperimentData-experimentId = $experimentId;
$adGroupCriterionExperimentData-experimentDeltaStatus = 
'MODIFIED';

$adGroupCriterionExperimentData-experimentBidMultiplier=$adGroupBidMultipliers;

//Update keyword.
$keyword = new Keyword($value['keyword_text'], 
$value['keyword_match_type'], $value['id']);

// Create ad group criterion.
$adGroupCriterion = new BiddableAdGroupCriterion();
$adGroupCriterion-adGroupId = $value['adgroup_id'];
$adGroupCriterion-criterion = $keyword;

$adGroupCriterion-experimentData = 
$adGroupCriterionExperimentData;


// Create operation.
$adGroupCriterionOperation = new AdGroupCriterionOperation();
$adGroupCriterionOperation-operand = $adGroupCriterion;
$adGroupCriterionOperation-operator = 'SET';

$adGroupCriterionOperations = array($adGroupCriterionOperation);

// Make the mutate request.
$result = 
$adGroupCriterionService-mutate($adGroupCriterionOperations);


 Thanks,

 Sany




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e59c0965-d4f6-4ce6-846a-25de2cb9f7f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Changing bids for individual keywords , using experment compare the results and if necessary to remove unsuccessful experments

2015-05-13 Thread Sarah Riddell
Hi Josh,

Sorry to disturb you again because i am stucked again. please help me out 
of this.


   - Is that any way to get keyword's first appearance date in adwords 
   list? 
   - May i need to add 'date' field on this query? 
   

i am downloading report for last 365 days from KEYWORD_PERFORMANCE_REPORT 
using this query.

   SELECT ExternalCustomerId,CampaignId, AdGroupId,Id,

CampaignName,CampaignStatus,AdNetworkType2,AdGroupName,AdGroupStatus,Status,
CpcBid,KeywordText,Impressions FROM 
KEYWORDS_PERFORMANCE_REPORT
WHERE CampaignStatus = ENABLED AND AdGroupStatus = 
ENABLED AND  IsNegative=FALSE AND  Id != 300 AND Status IN [ENABLED, 
PAUSED] DURING 20140510,20150508

Thanks,

Sany




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fadd6f61-f1c0-42d6-9ad9-97cba7fdcae1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Changing bids for individual keywords , using experment compare the results and if necessary to remove unsuccessful experments

2015-05-04 Thread Sarah Riddell
Hi Josh,

Thanks for your reply again. Yes, my report field combination is not right, 
when i removed *AdNetworkType2 *field from my SELECT query it returns the 
results as i desired. As you suggested, i will chose only the fields that 
are actually of interest to mine.

Can you Clarify? me on-

   - For *AdNetworkType2*, which report i have to query?
   - Is there any easy way to get data (e.g if i need only cost/click) day 
   by day without downloading reports for every day?

Thank again for you current reply man.

Thanks.

Sunny, Adword API User

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e7e6fe29-decb-4124-b6da-215a393e02f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Changing bids for individual keywords , using experment compare the results and if necessary to remove unsuccessful experments

2015-05-03 Thread Sarah Riddell
Hi Josh, 

Many thanks for your previous helps  supports. 

Can you help me with this AWQL query?

SELECT 
ExternalCustomerId,CampaignId,AdGroupId,Id,AdNetworkType2,AverageCpc,AverageCpm,
 
AveragePageviews,
 
AveragePosition,AverageTimeOnSite,BidType,BiddingStrategyType,BounceRate,ClickAssistedConversionValue
 
,
 
ClickAssistedConversions,ClickAssistedConversionsOverLastClickConversions,ClickConversionRate
 
,
 Clicks ,ConversionRateManyPerClick ,ConversionValue 
,ConversionsManyPerClick ,ConvertedClicks ,
 Cost ,CostPerConversionManyPerClick 
,CostPerConvertedClick ,CpcBid ,CriteriaDestinationUrl ,Ctr ,
 FirstPageCpc ,ImpressionAssistedConversionValue 
,ImpressionAssistedConversions 
,ImpressionAssistedConversionsOverLastClickConversions ,
 Impressions ,KeywordMatchType 
,PercentNewVisitors,QualityScore ,SearchExactMatchImpressionShare ,
 SearchImpressionShare,Status 
,TopOfPageCpc,ValuePerConversionManyPerClick,ValuePerConvertedClick ,
 ViewThroughConversions FROM 
KEYWORDS_PERFORMANCE_REPORT  DURING 20140424,20150424

I want to get above columns from KEYWORDS_PERFORMANCE_REPORT  for specific 
date. when i run that query it returns all fields value zero. but when i 
run below query it returns result as i need.

SELECT ExternalCustomerId,CampaignId,AdGroupId,Id FROM 
KEYWORDS_PERFORMANCE_REPORT DURING 20140424,20150424

How can i get all fields form KEYWORDS_PERFORMANCE_REPORT  for specific 
date (e.g 2015-05-03, 2015-05-04 etc.)  ?







-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/62199c3b-b78e-4c6e-88b9-4667c9854c32%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Changing bids for individual keywords , using experment compare the results and if necessary to remove unsuccessful experments

2015-04-27 Thread Sarah Riddell
Hi Josh,

Thanks for reply,

This is the code works for me , let me know am i doing anything wrong?

Working Code:

function AddExperimentExample(AdWordsUser $user, $campaignId, $adGroupId) {
// Get the services, which loads the required classes.
$experimentService = $user-GetService('ExperimentService', 
ADWORDS_VERSION);
$adGroupService = $user-GetService('AdGroupService', ADWORDS_VERSION);
$adGroupCriterionService =
$user-GetService('AdGroupCriterionService', ADWORDS_VERSION);

// Create experiment.
$experiment = new Experiment();
$experiment-campaignId = $campaignId;
$experiment-name = 'ca_experiment';
$experiment-queryPercentage = 10;

// Set additional settings (optional).
$experiment-startDateTime = date('Ymd His', strtotime('+1 day'));
$experiment-endDateTime = date('Ymd His', strtotime('+1 month'));

// Create operation.
$experimentOperation = new ExperimentOperation();
$experimentOperation-operand = $experiment;
$experimentOperation-operator = 'ADD';

$experimentOperations = array($experimentOperation);

// Make the mutate request.
$result = $experimentService-mutate($experimentOperations);

// Display result.
$experiment = $result-value[0];
printf (Experiment with name '%s' and ID '%.0f' was added.\n,
$experiment-name, $experiment-id);

// Create ad group bid multipliers to be used in the experiment.
$adGroupBidMultipliers = new ManualCPCAdGroupExperimentBidMultipliers();
$adGroupBidMultipliers-maxCpcMultiplier = new BidMultiplier(2);

// Create ad group experiment data.
$adGroupExperimentData = new AdGroupExperimentData();
$adGroupExperimentData-experimentId = $experiment-id;
$adGroupExperimentData-experimentDeltaStatus = 'MODIFIED';
$adGroupExperimentData-experimentBidMultipliers = 
$adGroupBidMultipliers;



// Create updated ad group.
$adGroup = new AdGroup();
$adGroup-id = $adGroupId;
$adGroup-experimentData = $adGroupExperimentData;

// Create operation.
$adGroupOperation = new AdGroupOperation();
$adGroupOperation-operand = $adGroup;
$adGroupOperation-operator = 'SET';

$adGroupOperations = array($adGroupOperation);

// Make the mutate request.
$result = $adGroupService-mutate($adGroupOperations);

// Display result.
$adGroup = $result-value[0];
printf (Ad group with name '%s' and ID '%.0f' was updated in the 
. experiment.\n, $adGroup-name, $adGroup-id);


// Create ad group bid multipliers to be used in the experiment.
$adGroupBidMultipliers = new 
ManualCPCAdGroupCriterionExperimentBidMultiplier();
$adGroupBidMultipliers-maxCpcMultiplier = new BidMultiplier(4);

// Create experiment data for a new experiment-only keyword.
$adGroupCriterionExperimentData =
new BiddableAdGroupCriterionExperimentData();
$adGroupCriterionExperimentData-experimentId = $experiment-id;
$adGroupCriterionExperimentData-experimentDeltaStatus = 'MODIFIED';

$adGroupCriterionExperimentData-experimentBidMultiplier=$adGroupBidMultipliers;

// Create keyword.
$keyword = new Keyword('cloud', 'BROAD');

// Create ad group criterion.
$adGroupCriterion = new BiddableAdGroupCriterion();
$adGroupCriterion-adGroupId = $adGroupId;
$adGroupCriterion-criterion = $keyword;
$adGroupCriterion-experimentData = $adGroupCriterionExperimentData;


// Create operation.
$adGroupCriterionOperation = new AdGroupCriterionOperation();
$adGroupCriterionOperation-operand = $adGroupCriterion;
$adGroupCriterionOperation-operator = 'ADD';

$adGroupCriterionOperations = array($adGroupCriterionOperation);

// Make the mutate request.
$result = $adGroupCriterionService-mutate($adGroupCriterionOperations);

// Display result.
$adGroupCriterion = $result-value[0];
printf(Keyword with text '%s', match type '%s', and ID '%s' was added 
to 
. the experiment.\n,
$adGroupCriterion-criterion-text,
$adGroupCriterion-criterion-matchType,
$adGroupCriterion-criterion-id);
}


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

Re: Product Partition Tree Enumeration Exception

2014-11-25 Thread Sarah Gilmore
Hi Josh

That's great, I have managed to implement the tree that I want. Just a few 
little misunderstandings. Thanks for your help

Sarah

On Monday, November 24, 2014 2:07:36 PM UTC, Josh Radcliff (AdWords API 
Team) wrote:

 Hi,

 At every level of the product partition tree, all product partitions need 
 to have the same type of caseValue 
 https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupCriterionService.ProductPartition#caseValue
  (ProductDimension 
 subclass) -- see our Shopping Campaigns guide 
 https://developers.google.com/adwords/api/docs/guides/shopping#product_dimensions
  for 
 details.

 In your example, you are trying to create a tree that looks like this:

 ROOT -- subdivision
   -- ProductCanonicalCondition condition NEW -- unit
   -- ProductCanonicalCondition condition USED -- unit
   -- ProductType type null, value null -- subdivision
 -- ProductType type L1, value 'shirts' -- unit
 -- ProductType type L1, value 'footwear' -- unit

 There are two issues with this tree:

 1. You have a combination of ProductCanonicalConditions and ProductType at 
 the first level below the root. For the 'other' condition at level one, you 
 need to have a ProductCanonicalCondition with a null condition 
 https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupCriterionService.ProductCanonicalCondition#condition
  because 
 all partitions at a level need to have the same type of *caseValue*.

 2. The ProductType you have at level one needs to have a type 
 https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupCriterionService.ProductType#type
  value 
 (one of L1, L2, L3, L4, L5).

 One example of a valid tree you could create using the dimensions in your 
 example is:

 ROOT -- subdivision
   -- ProductCanonicalCondition condition NEW -- unit
   -- ProductCanonicalCondition condition USED -- unit
   -- ProductCanonicalCondition condition null -- subdivision
 -- ProductType type L1, value 'shirts' -- unit
 -- ProductType type L1, value 'footwear' -- unit
 -- ProductType type L1, value null -- unit

 You could also create a tree like this if you wanted to break down each of 
 NEW and USED by product type L1 'shirts' and 'footwear'.

 ROOT -- subdivision
   -- ProductCanonicalCondition condition NEW -- subdivision
 -- ProductType type L1, value 'shirts' -- unit
 -- ProductType type L1, value 'footwear' -- unit
   -- ProductCanonicalCondition condition USED -- subdivision
 -- ProductType type L1, value 'shirts' -- unit
 -- ProductType type L1, value 'footwear' -- unit
 -- ProductType type L1, value null -- unit
   -- ProductCanonicalCondition condition null -- unit

 Please give that a try and let me know if you still have questions.

 Thanks,
 Josh, AdWords API Team

 On Monday, November 24, 2014 5:42:55 AM UTC-5, Sarah Gilmore wrote:

 Hi Josh

 I've tried adding product level into the constuctor but get the following 
 error:

 An error has occurred: [RequiredError.REQUIRED @ 
 operations[3].operand.criterion.caseValue.type]

 I've tried reducing it down to the bare minimum (as below) but stillt 
 this error. All I really want is a tree to divide by product type but when 
 I do this, it says 'product partition already exists' (despite being a 
 brand new adgroup created within the API)

 Here is my current code, any other help appreciated

 Thanks

 *  $adGroupCriterionService = 
 $user-GetService('AdGroupCriterionService',*
 *ADWORDS_VERSION);*
 *  $helper = new ProductPartitionHelper($adGroupId);*
 *  $root = $helper-createSubdivision();*
 *  $helper-createUnit($root, new ProductCanonicalCondition('NEW'), 
 20);*
 *  $helper-createUnit($root, new ProductCanonicalCondition('USED'), 
 10);*
   
 *  $otherCondition = $helper-createSubdivision($root, new 
 ProductType());*
 *  $helper-createUnit($otherCondition, new 
 ProductType('PRODUCT_TYPE_L1','shirts'), 20);*
 *  $helper-createUnit($otherCondition, new 
 ProductType('PRODUCT_TYPE_L1','footwear'), 10);*

 *  $result = $adGroupCriterionService-mutate($helper-getOperations());*
 *  $children = array();*
 *  $rootNode = null;*




 On Friday, November 21, 2014 4:52:00 PM UTC, Josh Radcliff (AdWords API 
 Team) wrote:

 Hi,

 Similar to *ProductBiddingCategory*, when creating a *ProductType* 
 criterion, 
 you'll want to pass both:

1. The product type level (enum) - this is on the type 

 https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupCriterionService.ProductType#type
  attribute 
and should match one of the *PRODUCT_TYPE_Lx* enums of 
ProductDimensionType 

 https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupCriterionService.ProductDimensionType
2. The product type value (string) - this is on the value 

 https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupCriterionService.ProductType#value
 attribute

 In your calls to the *ProductType

Re: Product Partition Tree Enumeration Exception

2014-11-24 Thread Sarah Gilmore
Hi Josh

I've tried adding product level into the constuctor but get the following 
error:

An error has occurred: [RequiredError.REQUIRED @ 
operations[3].operand.criterion.caseValue.type]

I've tried reducing it down to the bare minimum (as below) but stillt this 
error. All I really want is a tree to divide by product type but when I do 
this, it says 'product partition already exists' (despite being a brand new 
adgroup created within the API)

Here is my current code, any other help appreciated

Thanks

*  $adGroupCriterionService = $user-GetService('AdGroupCriterionService',*
*ADWORDS_VERSION);*
*  $helper = new ProductPartitionHelper($adGroupId);*
*  $root = $helper-createSubdivision();*
*  $helper-createUnit($root, new ProductCanonicalCondition('NEW'), 
20);*
*  $helper-createUnit($root, new ProductCanonicalCondition('USED'), 
10);*
  
*  $otherCondition = $helper-createSubdivision($root, new ProductType());*
*  $helper-createUnit($otherCondition, new 
ProductType('PRODUCT_TYPE_L1','shirts'), 20);*
*  $helper-createUnit($otherCondition, new 
ProductType('PRODUCT_TYPE_L1','footwear'), 10);*

*  $result = $adGroupCriterionService-mutate($helper-getOperations());*
*  $children = array();*
*  $rootNode = null;*




On Friday, November 21, 2014 4:52:00 PM UTC, Josh Radcliff (AdWords API 
Team) wrote:

 Hi,

 Similar to *ProductBiddingCategory*, when creating a *ProductType* criterion, 
 you'll want to pass both:

1. The product type level (enum) - this is on the type 

 https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupCriterionService.ProductType#type
  attribute 
and should match one of the *PRODUCT_TYPE_Lx* enums of 
ProductDimensionType 

 https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupCriterionService.ProductDimensionType
2. The product type value (string) - this is on the value 

 https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupCriterionService.ProductType#value
 attribute

 In your calls to the *ProductType* constructor you are only passing the 
 *value*, but the constructor expects the type and the value, in that 
 order. For example, for your shirts product type, you could modify your 
 constructor call to:

 new ProductType('PRODUCT_TYPE_L1', 'shirts')

 Please give that a try and let me know if you're still running into errors.

 Cheers,
 Josh, AdWords API Team

 On Friday, November 21, 2014 9:21:30 AM UTC-5, Sarah Gilmore wrote:

 Hi there

 I'm having trouble getting the Product Partition script to work in PHP. 
 I'm using the example in the SDK. I've solved some errors by creating a new 
 Adgroup from scratch within the API, but I get the following exception when 
 I run the script:

 An error has occurred: Unmarshalling Error: cvc-enumeration-valid: Value 
 'shirts' is not facet-valid with respect to enumeration '[UNKNOWN, 
 BIDDING_CATEGORY_L1, BIDDING_CATEGORY_L2, BIDDING_CATEGORY_L3, 
 BIDDING_CATEGORY_L4, BIDDING_CATEGORY_L5, BRAND, CANONICAL_CONDITION, 
 CUSTOM_ATTRIBUTE_0, CUSTOM_ATTRIBUTE_1, CUSTOM_ATTRIBUTE_2, 
 CUSTOM_ATTRIBUTE_3, CUSTOM_ATTRIBUTE_4, OFFER_ID, PRODUCT_TYPE_L1, 
 PRODUCT_TYPE_L2, PRODUCT_TYPE_L3, PRODUCT_TYPE_L4, PRODUCT_TYPE_L5]'

 I'm assuming this means that I'm entering invalid categories/making an 
 invalid tree but I can't work out how. I've checked that the categories I'm 
 using are in the product feed. I don't work much with Adwords itself - just 
 the API - so any advice would be appreciated


 *function addProductPartitionTreeExample(AdWordsUser $user, $adGroupId) {*

 *  // Get the AdGroupCriterionService, which loads the required classes.*
 *  $adGroupCriterionService = 
 $user-GetService('AdGroupCriterionService',*
 *ADWORDS_VERSION);*
 *  $helper = new ProductPartitionHelper($adGroupId);*
 *  // The most trivial partition tree has only a unit node as the root:*
 *  //   $helper-createUnit(null, null, 10);*
 *  $root = $helper-createSubdivision();*
 *  $helper-createUnit($root, new ProductCanonicalCondition('NEW'), 
 20);*
 *  $helper-createUnit($root, new ProductCanonicalCondition('USED'), 
 10);*
 *  $otherCondition = $helper-createSubdivision($root,*
 *  new ProductCanonicalCondition());*
 *  $helper-createUnit($otherCondition, new ProductType('shirts'), 
 20);*
 *  $helper-createUnit($otherCondition, new ProductType('footwear'), 
 10);*
 *  $otherBrand =*
 *  $helper-createSubdivision($otherCondition, new ProductType());*
 *  // The value for the bidding category is a fixed ID for the 'Luggage  
 Bags'*
 *  // category. You can retrieve IDs for categories from the 
 ConstantDataService.*
 *  // See the 'GetProductCategoryTaxonomy' example for more details.*
 *  $helper-createUnit($otherBrand,*
 *  new ProductBiddingCategory('BIDDING_CATEGORY_L1',*
 *  '-3817140941569278349'), 75);//for clothes*
 *  $helper-createUnit($otherBrand,*
 *  new ProductBiddingCategory

Product Partition Tree Enumeration Exception

2014-11-21 Thread Sarah Gilmore
Hi there

I'm having trouble getting the Product Partition script to work in PHP. I'm 
using the example in the SDK. I've solved some errors by creating a new 
Adgroup from scratch within the API, but I get the following exception when 
I run the script:

An error has occurred: Unmarshalling Error: cvc-enumeration-valid: Value 
'shirts' is not facet-valid with respect to enumeration '[UNKNOWN, 
BIDDING_CATEGORY_L1, BIDDING_CATEGORY_L2, BIDDING_CATEGORY_L3, 
BIDDING_CATEGORY_L4, BIDDING_CATEGORY_L5, BRAND, CANONICAL_CONDITION, 
CUSTOM_ATTRIBUTE_0, CUSTOM_ATTRIBUTE_1, CUSTOM_ATTRIBUTE_2, 
CUSTOM_ATTRIBUTE_3, CUSTOM_ATTRIBUTE_4, OFFER_ID, PRODUCT_TYPE_L1, 
PRODUCT_TYPE_L2, PRODUCT_TYPE_L3, PRODUCT_TYPE_L4, PRODUCT_TYPE_L5]'

I'm assuming this means that I'm entering invalid categories/making an 
invalid tree but I can't work out how. I've checked that the categories I'm 
using are in the product feed. I don't work much with Adwords itself - just 
the API - so any advice would be appreciated


*function addProductPartitionTreeExample(AdWordsUser $user, $adGroupId) {*

*  // Get the AdGroupCriterionService, which loads the required classes.*
*  $adGroupCriterionService = $user-GetService('AdGroupCriterionService',*
*ADWORDS_VERSION);*
*  $helper = new ProductPartitionHelper($adGroupId);*
*  // The most trivial partition tree has only a unit node as the root:*
*  //   $helper-createUnit(null, null, 10);*
*  $root = $helper-createSubdivision();*
*  $helper-createUnit($root, new ProductCanonicalCondition('NEW'), 
20);*
*  $helper-createUnit($root, new ProductCanonicalCondition('USED'), 
10);*
*  $otherCondition = $helper-createSubdivision($root,*
*  new ProductCanonicalCondition());*
*  $helper-createUnit($otherCondition, new ProductType('shirts'), 20);*
*  $helper-createUnit($otherCondition, new ProductType('footwear'), 
10);*
*  $otherBrand =*
*  $helper-createSubdivision($otherCondition, new ProductType());*
*  // The value for the bidding category is a fixed ID for the 'Luggage  
Bags'*
*  // category. You can retrieve IDs for categories from the 
ConstantDataService.*
*  // See the 'GetProductCategoryTaxonomy' example for more details.*
*  $helper-createUnit($otherBrand,*
*  new ProductBiddingCategory('BIDDING_CATEGORY_L1',*
*  '-3817140941569278349'), 75);//for clothes*
*  $helper-createUnit($otherBrand,*
*  new ProductBiddingCategory('BIDDING_CATEGORY_L1'), 11);*
*  // Make the mutate request.*
*  $result = $adGroupCriterionService-mutate($helper-getOperations());*
*  $children = array();*
*  $rootNode = null;*
*  // For each criterion, make an array containing each of its children*
*  // We always create the parent before the child, so we can rely on that 
here*
*  foreach ($result-value as $adGroupCriterion) {*
*$children[$adGroupCriterion-criterion-id] = array();*
*if (isset($adGroupCriterion-criterion-parentCriterionId)) {*
*  $children[$adGroupCriterion-criterion-parentCriterionId][] =*
*  $adGroupCriterion-criterion;*
*} else {*
*  $rootNode = $adGroupCriterion-criterion;*
*}*
*  }*
*  // Show the tree*
*  displayTree($rootNode, $children);*

*}*

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/042ce4cf-9b60-485c-accc-9ea3671131df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: GetRefreshToken.php Error: disabled_client The OAuth client was disabled.

2014-07-21 Thread Sarah Gilmore
Hi Ray

I have now managed to work out what the issue was. At some point I started 
editing the Auth file in examples rather than in lib, whoops. How 
embarrassing!

Thanks for your help, but I've now retrieved the refresh token and will 
hopefully get the rest working!

On Friday, 28 February 2014 22:50:34 UTC, Jake Wilson wrote:


 I am building a simple web app to connect to our Adwords MMC and spit out 
 some reports.

 In the Google API Console I created a new Client ID.  I chose Installed 
 Application even though this is a web-based PHP tool I'm making.  This page:


 https://developers.google.com/adwords/api/docs/guides/authentication#access_and_refresh_token

 says to choose Installed Application if:

- You are just getting started for the first time.
- You want to test our example code and get started quickly.
- You are managing all of your AdWords accounts using a single top 
level MCC.

 All of which apply to us.  Also, the auth.ini says:

 ; If you do not have a client ID or secret, please create one of type
 ; installed application in the Google API console:
 ; https://cloud.google.com/console

 So anyways, I created an installed application client ID.  I get my Client 
 ID and Client Secret.  I add these to auth.ini along with my Adwords API 
 Key (which is approved) and a unique userAgentID string to identify my 
 application.

 At the command line I run the GetRefreshToken.php script, giving me:

 Log in to your AdWords account and open the following URL:

 https://accounts.google.com/o/oauth2/auth?response_type=codeclient_id=5XXleusercontent.comredirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoobscope=https%3A%2F%2Fadwords.google.com%2Fapi%2Fadwords%2Faccess_type=offline

 After approving the token enter the authorization code here:

 I log into my Adwords account and then paste in the above URL.  I get this 
 page:

 http://imgur.com/vcilAXI.jpg

 So what am I doing wrong here?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: I have requested two accounts to be transferred in test accounts but nothing happens.

2014-07-21 Thread Sarah Gilmore
Hi, I am having a similar problem.

I used the form here 
https://developers.google.com/adwords/api/docs/test-accounts to set up a 
new account as a test account.I have entered billing details, and have 
accepted T+Cs and set up a campaign, which I have now paused.

Now I've managed to retrieve the refresh token, I get the incomplete signup 
error when running GetCampaigns in php. Since I have an unapproved 
developer token I understand I can't test if this is a test account, but I 
don't think it is. It is set up on this account.

Could you please advise?

Thanks



On Monday, 4 March 2013 13:14:19 UTC, Ivelin Vasilev wrote:



 Hello,

 I have requested these two accounts “363-849-1108” (more than 10 days 
 ago)  and “819-990-7263” ( 6 or 7 days ago )  to be converted as test 
 ones but nothing happens.  Can you help me, please?




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: GetRefreshToken.php Error: disabled_client The OAuth client was disabled.

2014-07-17 Thread Sarah Gilmore
Hi Ray

When I execute the url provided by the script I get the following error on 
screen:

401 Error: disabled_client

The OAuth client was disabled.

Request Details
scope=https://www.googleapis.com/auth/adwords
response_type=code
access_type=offline
redirect_uri=urn:ietf:wg:oauth:2.0:oob
client_id=[there is a new id generated here]

If I paste my client id into the string and try again it gets me past the 
consent screen and generates the code, but then I get the following error 
on the command line:

Your OAuth2 Credentials are incorrect.
Please see the GetRefreshToken.php example.
{
  error : disabled_client,
  error_description : The OAuth client was disabled.
}

I've checked and double checked the code string and my OAuth2 details in 
auth.ini so not sure whats wrong.

Thanks

On Wednesday, 16 July 2014 19:56:32 UTC+1, Ray Tsang (AdWords API Team) 
wrote:

 Sarah,

 Could I trouble you to send me the exact errors that you've received?  The 
 authorization code is long (it sometimes doesn't fully display in the text 
 box) - please make sure the entire string is selected and pasted.

 Thanks,

 Ray

 On Wednesday, July 16, 2014 9:20:58 AM UTC-4, Sarah Gilmore wrote:

 Hi, I am having the same issue as Jake (above). I'm using the PHP client 
 library to run the script on the command line, but when I paste the url, it 
 says 'the oauth client is disabled'.( I can get it to go one step further 
 by pasting in my client id into the url, as the url created by 
 GetRefreshToken seems to use a different id, but after I enter the code 
 provided into the command line I still get the same message.)

 I have the app set as installed and have set the name, url and logo in 
 the console consent screen.

 I am using a test account and an unapproved developer token. The token 
 was created about a year ago, could this be the issue?

 I am also wondering whether the test account is a valid test account but 
 without connecting to the API its difficult to test this.

 Thanks!

 On Thursday, 24 April 2014 16:08:06 UTC+1, Ray Tsang (AdWords API Team) 
 wrote:

 Sounds great.  Glad it helped.

 Cheers,

 Ray

 On Thursday, April 24, 2014 9:11:49 AM UTC-4, piotr.d...@bonito.pl 
 wrote:

 Thanks, everything works well !

 On Wednesday, April 23, 2014 5:53:44 PM UTC+2, Ray Tsang (AdWords API 
 Team) wrote:

 Hi,

 It's most likely that you've created an OAuth 2.0 Web application. 
  Please review our AdWords OAuth 2.0 authentication guide 
 https://developers.google.com/adwords/api/docs/guides/authentication#create_a_client_identifier_and_client_secret
 .
 In step 6, please select Installed application.

 Thanks,

 Ray

 On Wednesday, April 23, 2014 9:45:50 AM UTC-4, piotr.d...@bonito.pl 
 wrote:

 Now, I have other errro:

 *Error: redirect_uri_mismatch*

 The redirect URI in the request: urn:ietf:wg:oauth:2.0:oob did not 
 match a registered redirect URI
 So what am I doing wrong here?

 On Wednesday, April 23, 2014 2:35:36 PM UTC+2, piotr.d...@bonito.pl 
 wrote:

 Hello,
 I have the same problem :(
 Also filled field required in Consent screen, I have http error 400 
 and Error: disabled_client.
 So what am I doing wrong here?
 How enable OAuth client for me project ?

 Thanks



 W dniu wtorek, 4 marca 2014 20:40:28 UTC+1 użytkownik Ray Tsang 
 (AdWords API Team) napisał:

 Jake,

 In the cloud console, could I trouble you to navigate to the 
 Consent Screen configuration and enter an application name (and any of 
 the 
 other required fields).

 Please let me know if it works for you - and I can update relevant 
 documentations.

 Thanks,

 On Friday, February 28, 2014 5:50:34 PM UTC-5, Jake Wilson wrote:


 I am building a simple web app to connect to our Adwords MMC and 
 spit out some reports.

 In the Google API Console I created a new Client ID.  I chose 
 Installed Application even though this is a web-based PHP tool I'm 
 making. 
  This page:


 https://developers.google.com/adwords/api/docs/guides/authentication#access_and_refresh_token

 says to choose Installed Application if:

- You are just getting started for the first time.
- You want to test our example code and get started quickly.
- You are managing all of your AdWords accounts using a single 
top level MCC.

 All of which apply to us.  Also, the auth.ini says:

 ; If you do not have a client ID or secret, please create one of 
 type
 ; installed application in the Google API console:
 ; https://cloud.google.com/console

 So anyways, I created an installed application client ID.  I get 
 my Client ID and Client Secret.  I add these to auth.ini along with 
 my 
 Adwords API Key (which is approved) and a unique userAgentID string 
 to 
 identify my application.

 At the command line I run the GetRefreshToken.php script, giving 
 me:

 Log in to your AdWords account and open the following URL:

 https://accounts.google.com/o/oauth2/auth?response_type=codeclient_id=5XXleusercontent.comredirect_uri=urn%3Aietf

Re: GetRefreshToken.php Error: disabled_client The OAuth client was disabled.

2014-07-16 Thread Sarah Gilmore
Hi, I am having the same issue as Jake (above). I'm using the PHP client 
library to run the script on the command line, but when I paste the url, it 
says 'the oauth client is disabled'.( I can get it to go one step further 
by pasting in my client id into the url, as the url created by 
GetRefreshToken seems to use a different id, but after I enter the code 
provided into the command line I still get the same message.)

I have the app set as installed and have set the name, url and logo in the 
console consent screen.

I am using a test account and an unapproved developer token. The token was 
created about a year ago, could this be the issue?

I am also wondering whether the test account is a valid test account but 
without connecting to the API its difficult to test this.

Thanks!

On Thursday, 24 April 2014 16:08:06 UTC+1, Ray Tsang (AdWords API Team) 
wrote:

 Sounds great.  Glad it helped.

 Cheers,

 Ray

 On Thursday, April 24, 2014 9:11:49 AM UTC-4, piotr.d...@bonito.pl wrote:

 Thanks, everything works well !

 On Wednesday, April 23, 2014 5:53:44 PM UTC+2, Ray Tsang (AdWords API 
 Team) wrote:

 Hi,

 It's most likely that you've created an OAuth 2.0 Web application. 
  Please review our AdWords OAuth 2.0 authentication guide 
 https://developers.google.com/adwords/api/docs/guides/authentication#create_a_client_identifier_and_client_secret
 .
 In step 6, please select Installed application.

 Thanks,

 Ray

 On Wednesday, April 23, 2014 9:45:50 AM UTC-4, piotr.d...@bonito.pl 
 wrote:

 Now, I have other errro:

 *Error: redirect_uri_mismatch*

 The redirect URI in the request: urn:ietf:wg:oauth:2.0:oob did not 
 match a registered redirect URI
 So what am I doing wrong here?

 On Wednesday, April 23, 2014 2:35:36 PM UTC+2, piotr.d...@bonito.pl 
 wrote:

 Hello,
 I have the same problem :(
 Also filled field required in Consent screen, I have http error 400 
 and Error: disabled_client.
 So what am I doing wrong here?
 How enable OAuth client for me project ?

 Thanks



 W dniu wtorek, 4 marca 2014 20:40:28 UTC+1 użytkownik Ray Tsang 
 (AdWords API Team) napisał:

 Jake,

 In the cloud console, could I trouble you to navigate to the Consent 
 Screen configuration and enter an application name (and any of the other 
 required fields).

 Please let me know if it works for you - and I can update relevant 
 documentations.

 Thanks,

 On Friday, February 28, 2014 5:50:34 PM UTC-5, Jake Wilson wrote:


 I am building a simple web app to connect to our Adwords MMC and 
 spit out some reports.

 In the Google API Console I created a new Client ID.  I chose 
 Installed Application even though this is a web-based PHP tool I'm 
 making. 
  This page:


 https://developers.google.com/adwords/api/docs/guides/authentication#access_and_refresh_token

 says to choose Installed Application if:

- You are just getting started for the first time.
- You want to test our example code and get started quickly.
- You are managing all of your AdWords accounts using a single 
top level MCC.

 All of which apply to us.  Also, the auth.ini says:

 ; If you do not have a client ID or secret, please create one of type
 ; installed application in the Google API console:
 ; https://cloud.google.com/console

 So anyways, I created an installed application client ID.  I get my 
 Client ID and Client Secret.  I add these to auth.ini along with my 
 Adwords 
 API Key (which is approved) and a unique userAgentID string to identify 
 my 
 application.

 At the command line I run the GetRefreshToken.php script, giving me:

 Log in to your AdWords account and open the following URL:

 https://accounts.google.com/o/oauth2/auth?response_type=codeclient_id=5XXleusercontent.comredirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoobscope=https%3A%2F%2Fadwords.google.com%2Fapi%2Fadwords%2Faccess_type=offline

 After approving the token enter the authorization code here:

 I log into my Adwords account and then paste in the above URL.  I 
 get this page:

 http://imgur.com/vcilAXI.jpg

 So what am I doing wrong here?



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: API developer token taking crazy long

2012-06-08 Thread Sarah-CD
Hi Kevin, 

Thanks for escalating internally. It's been 8 days ago since you escalated 
it internally, but nobody has reached out to us yet :( Can you follow up 
once again? Appreciate your help, thnx

On Thursday, May 31, 2012 5:53:42 PM UTC+2, Kevin Winter wrote:

 Hi Sarah,
   I've escalated your application internally, you should be contacted 
 within the next few business days.

 - Kevin Winter
 AdWords API Team

 On Thursday, May 31, 2012 9:36:51 AM UTC-4, Sarah-CD wrote:

 Hi all, 

 We are in the same position and have been waiting for 10 weeks now.

 I've been quietly monitoring this thread for several weeks now. We put in 
 our application little over two months ago, but have not received any reply 
 whatsoever from the API review team. Our developers finished testing basic 
 functionality with the sandbox two months ago. Unfortunately the sandbox 
 doesn't allow the syncing of real keyword click stats so we are stuck at 
 this point and cannot proceed. I've sent two reminder emails to 
 adwordsapi-tok...@google.com but have not received any reply.

 I am sure I don't need to remind anybody that this is extremely 
 frustrating

 If there is any way to speed up the process, kindly let me know. If 
 anybody at Google would be so kind to escalate this internally I would 
 greatly appreciate this. Our customer ID is: 166-567-6529 

 regards, Sarah



-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: API developer token taking crazy long

2012-06-08 Thread Sarah-CD
Actually - I'm sorry Kevin. They did reach out, on another email. Sorry. No 
action necessary. 

On Friday, June 8, 2012 6:41:50 PM UTC+2, Sarah-CD wrote:

 Hi Kevin, 

 Thanks for escalating internally. It's been 8 days ago since you escalated 
 it internally, but nobody has reached out to us yet :( Can you follow up 
 once again? Appreciate your help, thnx

 On Thursday, May 31, 2012 5:53:42 PM UTC+2, Kevin Winter wrote:

 Hi Sarah,
   I've escalated your application internally, you should be contacted 
 within the next few business days.

 - Kevin Winter
 AdWords API Team

 On Thursday, May 31, 2012 9:36:51 AM UTC-4, Sarah-CD wrote:

 Hi all, 

 We are in the same position and have been waiting for 10 weeks now.

 I've been quietly monitoring this thread for several weeks now. We put 
 in our application little over two months ago, but have not received any 
 reply whatsoever from the API review team. Our developers finished testing 
 basic functionality with the sandbox two months ago. Unfortunately the 
 sandbox doesn't allow the syncing of real keyword click stats so we are 
 stuck at this point and cannot proceed. I've sent two reminder emails to 
 adwordsapi-tok...@google.com but have not received any reply.

 I am sure I don't need to remind anybody that this is extremely 
 frustrating

 If there is any way to speed up the process, kindly let me know. If 
 anybody at Google would be so kind to escalate this internally I would 
 greatly appreciate this. Our customer ID is: 166-567-6529 

 regards, Sarah



-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: API developer token taking crazy long

2012-05-31 Thread Sarah-CD
Hi all, 

We are in the same position and have been waiting for 10 weeks now.

I've been quietly monitoring this thread for several weeks now. We put in 
our application little over two months ago, but have not received any reply 
whatsoever from the API review team. Our developers finished testing basic 
functionality with the sandbox two months ago. Unfortunately the sandbox 
doesn't allow the syncing of real keyword click stats so we are stuck at 
this point and cannot proceed. I've sent two reminder emails to 
adwordsapi-tok...@google.com but have not received any reply.

I am sure I don't need to remind anybody that this is extremely frustrating

If there is any way to speed up the process, kindly let me know. If anybody 
at Google would be so kind to escalate this internally I would greatly 
appreciate this. Our customer ID is: 166-567-6529 

regards, Sarah

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Buying more API units - HOW??

2010-11-19 Thread sarah
hi there


i can't read your email address -- it's redacted.


i think i also already have a ticket open with you guys
-- #719854010 .. could you take a look?


cheers!

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