Re: Bug with retrieval of actions

2019-05-03 Thread rentcafedev1
This is issue is still not fixed.

Query:  SELECT conversion_action.id, conversion_action.name, 
conversion_action.tag_snippets FROM conversion_action LIMIT 50

Returns the following:

{
"error": {
"code": 500,
"message": "Internal error encountered.",
"status": "INTERNAL"
}
}

If the conversion_action.tag_snippets is removed then it works. I need to 
get the conversion_action.tag_snippets information.

KDJ


On Friday, April 26, 2019 at 7:53:36 AM UTC-7, googleadsapi-forumadvisor 
wrote:
>
> Hi all, 
>
> Please try out the query again. The issue should be resolved.
>
> Cheers,
> Anthony
> Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 04/22/19 11:25:35 googleadsapi...@google.com  wrote:
>
> Hi all,
>
> I've updated the team to take another look at this. I'll let you know when 
> the issue is resolved.
>
> Regards,
> Anthony
> Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 04/22/19 08:39:20 r...@jumpfly.com wrote:
>
> Doesn't appear to be fixed... 
>
> On Friday, April 19, 2019 at 8:42:43 AM UTC-5, googleadsapi-forumadvisor 
> wrote:
>
> Hello,
>
> The issue should now be resolved. Let me know if you still face any issues.
>
> Cheers,
> Anthony
> Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 04/01/19 15:36:34 googleadsapi...@google.com wrote:
>
> Hi,
>
> There appears to be an ongoing issue related to conversions. I'll let you 
> know when it is resolved.
>
> Regards,
> Anthony
> Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 03/29/19 13:54:15 fbos...@gmail.com wrote:
>
> I just confirmed that there seems to be a bug with the retrieval of 
> conversion actions. I did create a new conversionAction and noted down the 
> resource_name and id
>
> _ads_client = _get_ads_client()
> service = _ads_client.get_service('ConversionActionService', version='v1')
> res = service.get_conversion_action("customers//conv
> ersionActions/ created one>")
> print(res) 
>
>
> yields no results.
>
> However, doing the same thing for a sitelink works perfectly fine.
>
>  
> _ads_client = _get_ads_client()
> service = _ads_client.get_service('ExtensionFeedItemService', version='v1'
> )
> res = service.get_extension_feed_item("customers//ex
> tensionFeedItems/")
> print(res)
>
>
> Can somebody confirm or credibly deny this? :D 
>
> -- 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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/ms
> gid/adwords-api/38f775ab-1623-49f4-ba29-7a78212b6f0d%40googlegroups.com 
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
> -- 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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 

Re: [1-4073000025608] How to pull conversion_actions from new google ads api?

2019-05-03 Thread rentcafedev1
This is issue is still not fixed.

Query:  SELECT conversion_action.id, conversion_action.name, 
conversion_action.tag_snippets FROM conversion_action LIMIT 50

Returns the following:

{
"error": {
"code": 500,
"message": "Internal error encountered.",
"status": "INTERNAL"
}
}

If the conversion_action.tag_snippets is removed then it works. I need to 
get the conversion_action.tag_snippets information.

KDJ


On Thursday, April 25, 2019 at 9:22:01 PM UTC-7, googleadsapi-forumadvisor 
wrote:
>
> Hello everyone,
>
> Please try your query again. It should have been fixed by now.
>
> Cheers,
> Thanet, Google Ads API Team
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 04/23/19 01:04:52 dar...@companionlabs.com  wrote:
>
> I second the issue as well. I ran the conversion_actions search query 
> against couple of our accounts and I did not get any data back.
>
> Request
> ---
> MethodName: google.ads.googleads.v1.services.GoogleAdsService/Search
> Endpoint: googleads.googleapis.com:443
> Headers: {developer-token=REDACTED, login-customer-id=REDACTED, 
> x-goog-api-client=gl-java/11.0.1 gapic/ gax/1.35.0 grpc/1.16.1}
> Body: customer_id: "REDACTED"
> query: "SELECT conversion_action.id, conversion_action.name, 
> conversion_action.tag_snippets  FROM conversion_action LIMIT 50"
> page_size: 1000
>
>
> Response
> 
> Headers: 
> Metadata(content-disposition=attachment,content-type=application/grpc,request-id=gSJvU2lyEiYLFzFhA_6R1w,date=Mon,
>  
> 22 Apr 2019 15:58:37 GMT,alt-svc=quic=":443"; ma=2592000; v="46,44,43,39")
> Body: field_mask {
>   paths: "conversion_action.id"
>   paths: "conversion_action.name"
>   paths: "conversion_action.tag_snippets"
> }
>
> Failure message: null
> Status: Status{code=OK, description=null, cause=null}.
> data count= 0 
>
>
>
> On Monday, April 22, 2019 at 11:12:15 AM UTC-4, rentca...@gmail.com wrote:
>
> When using GoogleAdsService with query SELECT conversion_action.id, 
> conversion_action.name, conversion_action.tag_snippets FROM 
> conversion_action LIMIT 50. The following is all that is returned.
>
> {
> "fieldMask": "conversionAction.id,conversionAction.name,
> conversionAction.tagSnippets"
> }
>
> AS you can see it's still not working correctly.
>
> KDJ
>
> On Friday, April 19, 2019 at 12:37:42 AM UTC-7, googleadsapi-forumadvisor 
> wrote:
>
> Hello All,
>
> Sorry for keeping you waiting for the fix.
> Now, the issue has been fixed and you should be able to fetch conversion 
> actions using GoogleAdsService now.
>
> Cheers,
> Thanet, Google Ads API Team
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 04/04/19 19:37:26 googleadsapi...@google.com wrote:
>
> Hello All,
>
> The engineering team is aware of the issue and working on it.
>
> Best,
> Thanet, Google Ads API Team
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 04/02/19 21:59:14 googleadsapi-forumadvi...@google.com wrote:
>
> Hello All,
>
> I've flagged this issue that it affects many users now.
> The engineering team is investigating this right now.
> I'll inform any progresses here once I've heard from them.
>
> Cheers,
> Thanet, Google Ads API Team
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 04/02/19 03:26:33 dars...@companionlabs.com wrote:
>
> Yes, looks like it is, need THE engineer in charge who was going to look 
> into this last week to come back and confirm and provide us with plan of 
> action on when this will be resolved.  We have been waiting on this for 
> sometime now.
>
> On Monday, April 1, 2019 at 12:34:07 PM UTC-4, F B wrote:
>
> I think this is a bug:
>
> https://groups.google.com/forum/?nomobile=true#!topic/adword
> s-api/P2p988iu9oM
>
> On Monday, 1 April 2019 15:14:56 UTC+2, Darshan Pradhan wrote:
>
> Hi API Team,
>
> Please provide a status update on this issue, we have been waiting to hear 
> back from the engineer in charge there? 
>
> Thanks,
> Darshan.
>
>
>
> On Tuesday, March 26, 2019 at 12:19:49 AM UTC-4, googleadsapi-forumadvisor 
> wrote:
>
> Hello Tamar,
>
> Sorry for keeping you 

Re: [GOOGLE ADS API] Get Conversion Action List

2019-05-03 Thread rentcafedev1
Anthony,

This is issue is still not fixed.

Query:  SELECT conversion_action.id, conversion_action.name, 
conversion_action.tag_snippets FROM conversion_action LIMIT 50

Returns the following:

{
"error": {
"code": 500,
"message": "Internal error encountered.",
"status": "INTERNAL"
}
}

If the conversion_action.tag_snippets is removed then it works. I need to 
get the conversion_action.tag_snippets information.

KDJ


On Friday, April 26, 2019 at 7:51:02 AM UTC-7, googleadsapi-forumadvisor 
wrote:
>
> Hi all,
>
> The issue is now resolved. Please let me know if you still face issues.
>
> Cheers,
> Anthony
> Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 04/25/19 03:06:04 rn...@crealytics.de  wrote:
>
> Hi Anthony,
>
> I'm having the exact same issue using the Google Ads API Java client lib. 
> We're currently migrating from Adwords API to Ads API and are blocked for 
> the conversion trackers migration due to this issue. When trying to 
> retrieve all documented fields for conversion_action (see 
> https://developers.google.com/google-ads/api/docs/fields/conversion_action), 
> the result is empty for the account requested via the Google Ads API (using 
> Java client lib). Results only show for the login customer ID. Retrieving 
> the conversion trackers via the Adwords API works fine.
>
> So I guess there is a general issue for conversion_action in the Google 
> Ads API, affecting all client libs.
>
> Best,
>
> Robert
>
> -- 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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/1a8e38d8-ede9-42fa-99e9-7e35d3e94c24%40googlegroups.com
>  
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/74e1d2ae-fcfd-4bad-88e0-25e2cfed8761%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [1-4073000025608] How to pull conversion_actions from new google ads api?

2019-04-22 Thread rentcafedev1
When using GoogleAdsService with query SELECT conversion_action.id, 
conversion_action.name, conversion_action.tag_snippets FROM 
conversion_action LIMIT 50. The following is all that is returned.

{
"fieldMask": 
"conversionAction.id,conversionAction.name,conversionAction.tagSnippets"
}

AS you can see it's still not working correctly.

KDJ

On Friday, April 19, 2019 at 12:37:42 AM UTC-7, googleadsapi-forumadvisor 
wrote:
>
> Hello All,
>
> Sorry for keeping you waiting for the fix.
> Now, the issue has been fixed and you should be able to fetch conversion 
> actions using GoogleAdsService now.
>
> Cheers,
> Thanet, Google Ads API Team
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 04/04/19 19:37:26 googleadsapi...@google.com  wrote:
>
> Hello All,
>
> The engineering team is aware of the issue and working on it.
>
> Best,
> Thanet, Google Ads API Team
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 04/02/19 21:59:14 googleadsapi-forumadvi...@google.com wrote:
>
> Hello All,
>
> I've flagged this issue that it affects many users now.
> The engineering team is investigating this right now.
> I'll inform any progresses here once I've heard from them.
>
> Cheers,
> Thanet, Google Ads API Team
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 04/02/19 03:26:33 dars...@companionlabs.com wrote:
>
> Yes, looks like it is, need THE engineer in charge who was going to look 
> into this last week to come back and confirm and provide us with plan of 
> action on when this will be resolved.  We have been waiting on this for 
> sometime now.
>
> On Monday, April 1, 2019 at 12:34:07 PM UTC-4, F B wrote:
>
> I think this is a bug:
>
> https://groups.google.com/forum/?nomobile=true#!topic/adword
> s-api/P2p988iu9oM
>
> On Monday, 1 April 2019 15:14:56 UTC+2, Darshan Pradhan wrote:
>
> Hi API Team,
>
> Please provide a status update on this issue, we have been waiting to hear 
> back from the engineer in charge there? 
>
> Thanks,
> Darshan.
>
>
>
> On Tuesday, March 26, 2019 at 12:19:49 AM UTC-4, googleadsapi-forumadvisor 
> wrote:
>
> Hello Tamar,
>
> Sorry for keeping you waiting. 
> The engineer in charge told me that he would be able to have a look at 
> this in this week.
>
> Best,
> Thanet, 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/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 03/22/19 23:02:49 dar...@companionlabs.com wrote:
>
> Hi, please provide an update on this issue. We are waiting to retrieve 
> this info for our customer account. 
>
> Thanks,
> Darshan.
>
>
> On Friday, March 8, 2019 at 10:05:11 PM UTC-5, Darshan Pradhan wrote:
>
> Hi Dannison, 
>
> I have sent over the info privately. Please let me know if you received it 
> or not. 
>
> Thanks for looking into this.
> Darshan 
>
> On Friday, March 8, 2019 at 4:48:27 PM UTC+11, googleadsapi-forumadvisor 
> wrote:
>
> Hi Darshan,
>
> My apologies for the delayed response. To better investigate this, could 
> you provide your clientCustomerId so I could check this on my end (please 
> reply via *Reply privately to author*)? 
>
> Also just to let you know, Google Ads API is now in production and you may 
> want to use the Google Ads API production release. You may refer to our 
> blog 
> 
>  for 
> more information.
>
> Thanks and 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/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 03/08/19 08:33:51 dar...@companionlabs.com wrote:
>
> Can somebody from Google Ads API Support answer this questions please?
>
> On Tuesday, March 5, 2019 at 5:17:11 PM UTC+11, Darshan Pradhan wrote:
>
> I am using the following query in search service to retrieve all the 
> conversion_actions 
>  
> for my 

Re: [GOOGLE ADS API] Get Conversion Action List

2019-04-22 Thread rentcafedev1
Below is all that is returned when using query SELECT conversion_action.id, 
conversion_action.name, conversion_action.tag_snippets FROM 
conversion_action LIMIT 50

{
"fieldMask": 
"conversionAction.id,conversionAction.name,conversionAction.tagSnippets"
}

KDJ

On Monday, April 22, 2019 at 6:30:50 AM UTC-7, jrodr...@norte.digital wrote:
>
> i too need use the new API :( 
>
> El sábado, 20 de abril de 2019, 11:02:59 (UTC-4), Miguel Graciá escribió:
>>
>> Hi!,
>>
>> Thank you very much for the suggestion :-), but I need to use the new 
>> Google Ads API.
>>
>> El viernes, 19 de abril de 2019, 22:03:34 (UTC+2), jrodr...@norte.digital 
>> escribió:
>>>
>>> Hi, i finally can get all trackers with api version v201809.
>>> here link 
>>> https://developers.google.com/adwords/api/docs/reference/v201809/ConversionTrackerService
>>>
>>> El miércoles, 17 de abril de 2019, 22:53:48 (UTC-4), Miguel Graciá 
>>> escribió:

 I'm trying to get a list of the conversion actions of a customer 
 client, but it always returns empty. 

 On the other hand, if I make the same query using the id of the manager 
 account, the query returns the list of conversion actions of that manager 
 account. 

 This is the query I'm using with the php library

 $query = 'SELECT customer.id, customer.descriptive_name,
conversion_action.app_id,
   
  conversion_action.attribution_model_settings.attribution_model,
   
  conversion_action.attribution_model_settings.data_driven_model_status,
conversion_action.category,
conversion_action.click_through_lookback_window_days,
conversion_action.counting_type,
conversion_action.id,
conversion_action.include_in_conversions_metric,
conversion_action.name,
conversion_action.owner_customer,
conversion_action.phone_call_duration_seconds,
conversion_action.resource_name,
conversion_action.status,
conversion_action.tag_snippets,
conversion_action.type,
conversion_action.value_settings.always_use_default_value,
conversion_action.value_settings.default_currency_code,
conversion_action.value_settings.default_value,
conversion_action.view_through_lookback_window_days
FROM conversion_action';

 return $this->getGoogleAdsServiceClient()->search(
*'customer_client_id'*,
$query,
['pageSize' => null]
);



 Is there something that is not correct?

 Thanks for your help.

>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/55d8da1c-ae63-4fa2-9e31-d98ce0986b8c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Google Ads V1 user permission denied

2019-03-29 Thread rentcafedev1
Hello,

I'm receiving a user_permission_denied when I try to access 
conversion_action information for one of my test accounts.  I have access 
to this account via Awords UI.  I have create campaigns for this account 
using Google Ads API (C# client library), but am unable to get any 
information about this account by using cURL.  Please see attached for more 
information.



KDJ

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c7536ec7-a337-4e63-a64a-832cf7018d24%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


UserPermissionDenied.docx
Description: MS-Word 2007 document


Google Ads API: Unable to get ConversionAction

2019-03-26 Thread rentcafedev1
Hello,

I'm unable to get then ConversionAction of a conversion I created.

I used the following to no avail.

 string searchQuery = @"SELECT conversion_action.id, 
conversion_action.name, conversion_action.tag_snippets FROM 
conversion_action LIMIT 50"; 
PagedEnumerable searchPagedResponse 
= googleAdsService.Search(request);

 or using 

ConversionAction request = 
conversionActionService.GetConversionAction(conversionResourceNames[i])
Example conversion resource name:  customers/removed for 
privacy/conversionActions/316893566


  I 
I attended your workshop on March 20, 2019 in San Francisco and one of your 
co-workers verified that the conversion resource name I was trying to get 
was in your system.

searchPagedResponse and request are empty.

I cannot supply you with the any logging because I'm using the .NET 
libraries and logging is not available.

Thanks

KDJ

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/65c7fc3d-8c4e-4fe1-86be-b2af36ac7467%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ConversionSnippetIssue.docx
Description: MS-Word 2007 document


Google Ads API V1 Sitelink

2019-03-13 Thread rentcafedev1
Hello,

I'm receiving the following error when I try to create a sitelink extension.

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

Please see attached for ExtensionFeedItemOperations request information.

Below is the code I'm using:

string extensionResourceName = string.Empty;
List extensionFeedItem = new 
List();
List extensionFeedItemOperations = 
new List();

if (SLDataList.Count == 0) { return "Missing SiteLinks"; }

GoogleAdsServiceClient googleAdsService = 
Client.GetService(Services.V1.GoogleAdsService);

ExtensionFeedItemServiceClient serviceClient = 
Client.GetService(Services.V1.ExtensionFeedItemService);

foreach (SiteLinkData SiteLink in SLDataList )
{

extensionFeedItem.Add(CreateSiteLinkExtensionFeedItem(CreateSiteLinkFeedItem(SiteLink.SiteLinkText,
 
SiteLink.SiteLinkURL)));
}

extensionFeedItemOperations = 
BuildExtensionOperation(extensionFeedItem);

try
{
MutateExtensionFeedItemsResponse response = 
serviceClient.MutateExtensionFeedItems(CustomerId.ToString(), 
extensionFeedItemOperations.ToArray());
if (response.Results.Count > 0) { extensionResourceName = 
response.Results[0].ResourceName; }
}
catch (Exception e)
{
return "Google Error:  " + e.Message + "  StackTrace:  " + 
e.StackTrace.ToString();
}
if (extensionResourceName.Length > 0) { return "success"; } 
else { return ""; }
}

private SitelinkFeedItem CreateSiteLinkFeedItem(string 
SiteLinkText, string SiteLinkURL)
{
return new SitelinkFeedItem()
{
LinkText = SiteLinkText,
//FinalUrls = SiteLinkURL,  
Line1 = "Teating stuff",
Line2 = "more testing"
  
};
}

private ExtensionFeedItem 
CreateSiteLinkExtensionFeedItem(SitelinkFeedItem sitelinkFeedItem)
{
return new ExtensionFeedItem()
{  
SitelinkFeedItem = sitelinkFeedItem,
Status = FeedItemStatus.Enabled 
};
}

private List 
BuildExtensionOperation(List extensionFeedItems)
{
List extensionOperations = new 
List();
 
for (int i = 0; i < extensionFeedItems.Count; i++)
{
ExtensionFeedItemOperation extensionOperation = new 
ExtensionFeedItemOperation()
{ 
Create = extensionFeedItems[i]
};
extensionOperations.Add(extensionOperation);
}

return extensionOperations;
}

I'm also unable to set FinalUrls because its read only (see attached).
[DebuggerNonUserCode]
public RepeatedField FinalUrls { get; }

Not sure what I'm missing.  I would really appreciate it if someone could 
explain how to create a Sitelink extension using Google Ads API V1.

KDJ

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b8c6302d-2d01-4c88-9c15-bbe261afcf1a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


SiteLinkIssue.docx
Description: MS-Word 2007 document


Google Ads API v1

2019-03-08 Thread rentcafedev1
Hello,

When will Google Ads API v1 be available through NuGet Package Manager?

KDJ

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0fb80dcf-c492-4fc4-8917-56f27bf5fc12%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Google.Ads.GoogleAds.Lib.GoogleAdsException (Status(StatusCode=DeadlineExceeded, Detail="Deadline Exceeded"))

2019-03-01 Thread rentcafedev1
Dhanya,

I'm not receiving the error anymore.  Not sure why.

KDJ

On Thursday, February 28, 2019 at 12:23:47 PM UTC-8, rentca...@gmail.com 
wrote:
>
> Hello,
>
> I created a campaign using version google-ads-dotnet-0.8.1, then I tried 
> to add campaign targeting criteria and received a Deadline error.  I 
> removed the campaign, and tried to created another campaign and now I 
> received the following error.
>
> Thrown by the target of an invocation.)
>
>at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] 
> arguments, Signature sig, Boolean constructor)
>at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, 
> Object[] parameters, Object[] arguments)
>at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
>at Google.Ads.GoogleAds.Examples.ExampleRunner.Run(String exampleName, 
> GoogleAdsClient session, IEnumerable`1 args) in 
> C:\google-ads-dotnet-0.8.1\src\Util\Examples\ExampleRunner.cs:line 93
>
> Caused by
>
> Google.Ads.GoogleAds.Lib.GoogleAdsException 
> (Status(StatusCode=DeadlineExceeded, Detail="Deadline Exceeded"))
>
>at 
> Google.Api.Gax.Grpc.ApiCallExceptionExtensions.<>c__DisplayClass1_0`2.b__0(TRequest
>  
> request, CallSettings callSettings) in 
> C:\Users\atarafamas\source\repos\gax-dotnet\releasebuild\src\Google.Api.Gax.Grpc\ApiCallExceptionExtensions.cs:line
>  
> 46
>at 
> Google.Ads.GoogleAds.V0.Services.CampaignBudgetServiceClientImpl.MutateCampaignBudgets(MutateCampaignBudgetsRequest
>  
> request, CallSettings callSettings) in 
> C:\google-ads-dotnet-0.8.1\src\V0\Stubs\CampaignBudgetServiceClient.cs:line 
> 772
>at 
> Google.Ads.GoogleAds.V0.Services.CampaignBudgetServiceClient.MutateCampaignBudgets(String
>  
> customerId, IEnumerable`1 operations, Boolean partialFailure, Boolean 
> validateOnly, CallSettings callSettings) in 
> C:\google-ads-dotnet-0.8.1\src\V0\Stubs\CampaignBudgetServiceClient.cs:line 
> 568
>at 
> Google.Ads.GoogleAds.V0.Services.CampaignBudgetServiceClient.MutateCampaignBudgets(String
>  
> customerId, IEnumerable`1 operations, CallSettings callSettings) in 
> C:\google-ads-dotnet-0.8.1\src\V0\ServiceHelperMethods.cs:line 252
>at 
> Google.Ads.GoogleAds.Examples.V0.AddCampaigns.CreateBudget(GoogleAdsClient 
> client, Int64 customerId) in 
> C:\google-ads-dotnet-0.8.1\examples\Services\BasicOperations\AddCampaigns.cs:line
>  
> 180
>at Google.Ads.GoogleAds.Examples.V0.AddCampaigns.Run(GoogleAdsClient 
> client, Int64 customerId) in 
> C:\google-ads-dotnet-0.8.1\examples\Services\BasicOperations\AddCampaigns.cs:line
>  
> 78
>
> Below is from https://cloud.google.com/apis/design/errors
>
> 504 DEADLINE_EXCEEDED Request deadline exceeded. This will happen only if 
> the caller sets a deadline that is shorter than the method's default 
> deadline (i.e. requested deadline is not enough for the server to process 
> the request) and the request did not finish within the deadline.
> I have not set the deadline shorter as the above indicates is the cause of 
> the issue.
>
> How do I resolve this issue?
>
> KDJ
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3527bf7f-096c-4577-a205-8a9a0f23d23b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Google.Ads.GoogleAds.Lib.GoogleAdsException (Status(StatusCode=DeadlineExceeded, Detail="Deadline Exceeded"))

2019-02-28 Thread rentcafedev1
Hello,

I created a campaign using version google-ads-dotnet-0.8.1, then I tried to 
add campaign targeting criteria and received a Deadline error.  I removed 
the campaign, and tried to created another campaign and now I received the 
following error.

Thrown by the target of an invocation.)

   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] 
arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, 
Object[] parameters, Object[] arguments)
   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
   at Google.Ads.GoogleAds.Examples.ExampleRunner.Run(String exampleName, 
GoogleAdsClient session, IEnumerable`1 args) in 
C:\google-ads-dotnet-0.8.1\src\Util\Examples\ExampleRunner.cs:line 93

Caused by

Google.Ads.GoogleAds.Lib.GoogleAdsException 
(Status(StatusCode=DeadlineExceeded, Detail="Deadline Exceeded"))

   at 
Google.Api.Gax.Grpc.ApiCallExceptionExtensions.<>c__DisplayClass1_0`2.b__0(TRequest
 
request, CallSettings callSettings) in 
C:\Users\atarafamas\source\repos\gax-dotnet\releasebuild\src\Google.Api.Gax.Grpc\ApiCallExceptionExtensions.cs:line
 
46
   at 
Google.Ads.GoogleAds.V0.Services.CampaignBudgetServiceClientImpl.MutateCampaignBudgets(MutateCampaignBudgetsRequest
 
request, CallSettings callSettings) in 
C:\google-ads-dotnet-0.8.1\src\V0\Stubs\CampaignBudgetServiceClient.cs:line 
772
   at 
Google.Ads.GoogleAds.V0.Services.CampaignBudgetServiceClient.MutateCampaignBudgets(String
 
customerId, IEnumerable`1 operations, Boolean partialFailure, Boolean 
validateOnly, CallSettings callSettings) in 
C:\google-ads-dotnet-0.8.1\src\V0\Stubs\CampaignBudgetServiceClient.cs:line 
568
   at 
Google.Ads.GoogleAds.V0.Services.CampaignBudgetServiceClient.MutateCampaignBudgets(String
 
customerId, IEnumerable`1 operations, CallSettings callSettings) in 
C:\google-ads-dotnet-0.8.1\src\V0\ServiceHelperMethods.cs:line 252
   at 
Google.Ads.GoogleAds.Examples.V0.AddCampaigns.CreateBudget(GoogleAdsClient 
client, Int64 customerId) in 
C:\google-ads-dotnet-0.8.1\examples\Services\BasicOperations\AddCampaigns.cs:line
 
180
   at Google.Ads.GoogleAds.Examples.V0.AddCampaigns.Run(GoogleAdsClient 
client, Int64 customerId) in 
C:\google-ads-dotnet-0.8.1\examples\Services\BasicOperations\AddCampaigns.cs:line
 
78

Below is from https://cloud.google.com/apis/design/errors

504 DEADLINE_EXCEEDED Request deadline exceeded. This will happen only if 
the caller sets a deadline that is shorter than the method's default 
deadline (i.e. requested deadline is not enough for the server to process 
the request) and the request did not finish within the deadline.
I have not set the deadline shorter as the above indicates is the cause of 
the issue.

How do I resolve this issue?

KDJ

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0b15e98e-4b99-459e-b698-48c8e5055d3e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: USER_PERMISSION_DENIED,User doesn't have permission to access customer,"errorCode": { "authorizationError": "USER_PERMISSION_DENIED"

2019-02-26 Thread rentcafedev1
I solved the issue by adding  to my app.config file.

On Tuesday, February 26, 2019 at 8:59:56 AM UTC-8, rentca...@gmail.com 
wrote:
>
> I'm having the same issue
>
> Message: Status(StatusCode=PermissionDenied, Detail="The caller does not 
> have permission")
> Failure: { "errors": [ { "errorCode": { "authorizationError": 
> "USER_PERMISSION_DENIED" }, "message": "User doesn't have permission to 
> access customer." } ] }
> Request ID: f9DUeMOoCpc2vCZMc4jjAQ
> Press [Enter] to continue.
>
>
>
> On Wednesday, February 13, 2019 at 3:47:25 AM UTC-8, Ananth Sakthivel 
> wrote:
>>
>> since yesterday my code was working fine and it's fetching the AdsAccount 
>> Details through the Service of "GetCustomer()". but today onwards its stop 
>> working and throwing the Below error,
>>
>> *Google.Ads.GoogleAds.Lib.GoogleAdsException*
>> *  HResult=0x80131500*
>> *  Message=Status(StatusCode=PermissionDenied, Detail="The caller does 
>> not have permission")*
>> *  Source=Google.Api.Gax.Grpc*
>>
>> I have already added the "LoginCustomerId" in my config file. but still, 
>> it's not sorted out.
>>
>> My TestManager CustomerID: 2349150893
>> Developer token:XX
>> *please have a look on my code below, also I attached the screenshot of 
>> my errors.*
>>
>>  try
>> {
>> Client = new GoogleAdsClient();
>> CustomerService = 
>> Client.GetService(Services.V0.CustomerService);   
>> GoogleAdsServiceClient googleAdsService = 
>> Client.GetService(Services.V0.GoogleAdsService);
>> SearchGoogleAdsRequest request = new 
>> SearchGoogleAdsRequest()
>> {
>> Query = @"SELECT customer_client.client_customer 
>> FROM customer_client",
>> CustomerId = Client.Config.LoginCustomerId
>> };
>> PagedEnumerable> GoogleAdsRow> searchPagedResponse = googleAdsService.Search(request);
>> object sync = new Object();
>>
>> Parallel.ForEach(searchPagedResponse, response =>
>> {
>>  lock (sync)
>>  {
>>  var ClientDetails = 
>> CustomerService.GetCustomer(response.CustomerClient.ClientCustomer);//Error 
>> at this line
>>  if (!ClientDetails.Manager.Value)
>>  {
>> 
>>  }
>>  }
>>
>> });
>> }
>>
>> [image: 2019-02-13_17-12-10.png]
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4f518a79-629c-478f-8869-72dd2e86f76b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: USER_PERMISSION_DENIED,User doesn't have permission to access customer,"errorCode": { "authorizationError": "USER_PERMISSION_DENIED"

2019-02-26 Thread rentcafedev1
I'm having the same issue

Message: Status(StatusCode=PermissionDenied, Detail="The caller does not 
have permission")
Failure: { "errors": [ { "errorCode": { "authorizationError": 
"USER_PERMISSION_DENIED" }, "message": "User doesn't have permission to 
access customer." } ] }
Request ID: f9DUeMOoCpc2vCZMc4jjAQ
Press [Enter] to continue.



On Wednesday, February 13, 2019 at 3:47:25 AM UTC-8, Ananth Sakthivel wrote:
>
> since yesterday my code was working fine and it's fetching the AdsAccount 
> Details through the Service of "GetCustomer()". but today onwards its stop 
> working and throwing the Below error,
>
> *Google.Ads.GoogleAds.Lib.GoogleAdsException*
> *  HResult=0x80131500*
> *  Message=Status(StatusCode=PermissionDenied, Detail="The caller does not 
> have permission")*
> *  Source=Google.Api.Gax.Grpc*
>
> I have already added the "LoginCustomerId" in my config file. but still, 
> it's not sorted out.
>
> My TestManager CustomerID: 2349150893
> Developer token:XX
> *please have a look on my code below, also I attached the screenshot of my 
> errors.*
>
>  try
> {
> Client = new GoogleAdsClient();
> CustomerService = 
> Client.GetService(Services.V0.CustomerService);   
> GoogleAdsServiceClient googleAdsService = 
> Client.GetService(Services.V0.GoogleAdsService);
> SearchGoogleAdsRequest request = new 
> SearchGoogleAdsRequest()
> {
> Query = @"SELECT customer_client.client_customer 
> FROM customer_client",
> CustomerId = Client.Config.LoginCustomerId
> };
> PagedEnumerable 
> searchPagedResponse = googleAdsService.Search(request);
> object sync = new Object();
>
> Parallel.ForEach(searchPagedResponse, response =>
> {
>  lock (sync)
>  {
>  var ClientDetails = 
> CustomerService.GetCustomer(response.CustomerClient.ClientCustomer);//Error 
> at this line
>  if (!ClientDetails.Manager.Value)
>  {
> 
>  }
>  }
>
> });
> }
>
> [image: 2019-02-13_17-12-10.png]
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/245fc337-162b-4197-96b0-18e113475edf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Google Ads Beta Api Query

2018-12-11 Thread rentcafedev1
Hello,

I'm trying to mimic the CLICK_PERFORMANCE_REPORT using the new api.

Below is the CLICK_PERFORMANCE_REPORT I'm using.
Select GclId, CampaignId, CreativeId, CriteriaId, AdGroupId, Device, 
AdNetworkType1, Date
from CLICK_PERFORMANCE_REPORT
during 20181210, 20181210

Below is what I have so far for the new api query
Select campaign.id, ad_group_id, ad_group_ad_ad.id, device, 
ad_group_criterion.keyword.text(this may only work with ad_group), 
ad_network_type, date
from ad_group_ad
where date = ‘2018-12-10’

Will the query above get me the desired results?
Do you have a mapping document from CLICK_PERFORMANCE_REPORT (or any 
report) to the Google Ads API fields?
How can I get the GclId using Google Ads API fields?
Is there an interface available I can use similar to AWQL.me where I can 
test my queries?


KDJ

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ebf91845-fffc-46d4-a747-b8455fbc0734%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Landing Page Report ExpandedFinalUrlString

2018-11-13 Thread rentcafedev1
Hi,

I'm trying to get the final Url with ValueTrack parameters replaced with 
their final value by using the Landing Page report and the only value in 
ExpandedFinalUrlString and UnexpandedFinalUrlString is 
https://www.flats901.com.  I have verified that the campaign associated 
with the url has a tracking template 
of 
{lpurl}?gadid={creative}={network}={device}={keyword}={adgroupid}={campaignid}.

I expected to see something like the following in the 
ExpandedFinalUrlString:
https://www.flats901.com?gadid=221602813912=g=c=come%20live%20with%20us=46084461506=931547667=EAIaIQobChMIyuns7LOa3AIVY7HtCh1TaQiwEAAYASAAEgLSE_D_BwE

Below is the query I used:

select CampaignId, AdGroupId, ExpandedFinalUrlString, 
UnexpandedFinalUrlString, Date

from LANDING_PAGE_REPORT
during 20181001, 20181112

KDJ

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d4215101-d111-4bc3-8ca1-fbcc8be9e322%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Failed to refresh access token. See inner exception for details.

2018-08-17 Thread rentcafedev1
Sai,

I have verified that my windows service is using a separate config file.  I 
have also verified that the web application and the windows service are 
using the same credentials.  The web application and the windows service 
call the same dll which makes the call to the Adwords API.  Do you have any 
other suggestions?

KDJ

On Friday, August 17, 2018 at 12:45:34 PM UTC-7, Teja Makani wrote:
>
> Hello,
>
> Thanks for the details, since the API call is working good for web 
> application, you might need to check how the windows service is pulling the 
> credentials and passing it to client libraries. Ideally, the same 
> credentials should work provided everything else (user making the call, 
> account etc.,) is same in both the applications. Could you please verify if 
> there is a separate config file for windows service? Please give it a try 
> and let me know if the problem still persists.
>
> Regards,
> Sai Teja, AdWords API Team.
>
> On Thursday, August 16, 2018 at 1:33:37 PM UTC-4, rentca...@gmail.com 
> wrote:
>>
>> Hi,
>>
>> I'm getting error "Failed to refresh access token. See inner exception 
>> for details." when I try to get campaign information.  The line of code 
>> is page = campaignService.get(selector) where page = "CampaignPage".  This 
>> process works when I use it in a web application but not when I use it in a 
>> windows service.  Below is some information that I hope will be helpful in 
>> figuring out the problem.  I was not able to get the logging working in the 
>> windows service.
>>
>> CampaignService
>> {Google.Api.Ads.AdWords.v201806.CampaignService}
>> Channel: {System.Runtime.Remoting.Proxies.__TransparentProxy}
>> ChannelFactory: {System.ServiceModel.ChannelFactory(Of 
>> Google.Api.Ads.AdWords.v201806.ICampaignService)}
>> ClientCredentials: {System.ServiceModel.Description.ClientCredentials}
>> EnableDecompression: True
>> Endpoint: Address={
>> https://adwords.google.com/api/adwords/cm/v201806/CampaignService}
>> InnerChannel: {System.Runtime.Remoting.Proxies.__TransparentProxy}
>> Proxy: {System.Net.WebRequest.WebProxyWrapper}
>> RequestHeader: {https://adwords.google.com/api/adwords/cm/v201806;>
>>   Replace for security
>>   Replace for security
>>   
>> }
>> ResponseHeader: Nothing
>> Signature: {Google.Api.Ads.AdWords.Lib.AdWordsServiceSignature}
>> State: Created {0}
>> Timeout: 0
>> Url: "
>> https://adwords.google.com/api/adwords/cm/v201806/CampaignService;
>> User: {Google.Api.Ads.AdWords.Lib.AdWordsUser}
>> UserAgent: Nothing
>>
>> CampaignService.User.Config
>> {Google.Api.Ads.AdWords.Lib.AdWordsAppConfig}
>> AdWordsApiServer: "https://adwords.google.com;
>> ClientCustomerId: "Replace for security"
>> DeveloperToken: "Replace for security"
>> EnableGzipCompression: True
>> GMBLoginEmail: ""
>> GMBOAuth2RefreshToken: ""
>> IncludeUtilitiesInUserAgent: False
>> IncludeZeroImpressions: Nothing
>> MaskCredentials: True
>> MerchantCenterId: 0
>> OAuth2AccessToken: ""
>> OAuth2ClientId: "Replace for security"
>> OAuth2ClientSecret: "Replace for security"
>> OAuth2Mode: APPLICATION {0}
>> OAuth2PrivateKey: ""
>> OAuth2PrnEmail: ""
>> OAuth2RedirectUri: "Replace for security"
>> OAuth2RefreshToken: "Replace for security"
>> OAuth2Scope: "https://www.googleapis.com/auth/adwords;
>> OAuth2SecretsJsonPath: ""
>> OAuth2ServerUrl: "https://accounts.google.com;
>> OAuth2ServiceAccountEmail: Nothing
>> Proxy: Nothing
>> RetryCount: 0
>> Signature: "AwApi-DotNet/23.6.0, Common-Dotnet/9.4.0, .NET 
>> CLR/4.0.30319.42000, "
>> SkipColumnHeader: False
>> SkipReportHeader: False
>> SkipReportSummary: False
>> Timeout: 60
>> UnixTimestamp: 1534434608
>> UseRawEnumValues: Nothing
>> UserAgent: "Replace for security"
>>
>> selector
>> {Google.Api.Ads.AdWords.v201806.Selector}
>> dateRange: {Google.Api.Ads.AdWords.v201806.DateRange}
>> fields: {Length=7}
>> ordering: Nothing
>> paging: {LIMIT 0, 500}
>> predicates: Nothing
>> ?selector.fields
>> {Length=7}
>> (0): "Id"
>> (1): "Name"
>> (2): "Status"
>> (3): "StartDate"
>> (4): "EndDate"
>> (5): "BaseCampaignId"
>> (6): "AdvertisingChannelType"
>>
>> {"Failed to refresh access token. See inner exception for details."}
>> at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean 
>> includeTaskCanceledExceptions)
>> at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, 
>> CancellationToken cancellationToken) 
>> at 
>> Google.Api.Ads.Common.OAuth.AdsOAuthProviderImpl.GetAccessTokenForAuthorizationCodeFlow()
>>   
>> at 
>> Google.Api.Ads.Common.OAuth.AdsOAuthProviderImpl.RefreshAccessTokenInOfflineMode()
>>
>> Error Occurred Message: Failed to retrieve campaign(s). Stack Trace:
>> at YSI.Ads.GoogleAdwordsHelper.GetListOfCampaigns(String during, DateTime 
>> startDate, DateTime 

Re: Failed to refresh access token. See inner exception for details.

2018-08-16 Thread rentcafedev1
Sai Teja,

We are you VB.net library to make this call.  

As I mention in my previous email the call work fine with I'm making it 
through a web application, it just does not work when I make the call from 
a windows service.  Please note:  Both web application and the windows 
service hit the same code to make the call.  I should not need to generate 
a new refresh token since it works from my web application.

Please advise!

KDJ

On Thursday, August 16, 2018 at 2:53:49 PM UTC-7, Teja Makani wrote:
>
> Hello,
>
> Could you please confirm whether you are using AdWords .NET client library 
>  for this call? If not 
> could you please share the code snippet that is making the call? You could 
> also cross verify that you are following the steps required to make API 
> call from here 
> .
>
> Also, to verify that your credentials are correct, you could try the CURL 
> request provided below and see if you are able to generate the access 
> token. If your credentials are correct, you should be able to generate an 
> access token for the below CURL request.
>
> curl https://www.googleapis.com/oauth2/v4/token \
> -d refresh_token=your-refresh_token \
> -d client_id=your-client-id \
> -d client_secret=your-client-secret \
> -d grant_type=refresh_token
>
> If your credentials are incorrect or still facing issue then you could try 
> generating a new refresh token with the help of this guide 
> 
>  and 
> retry your request. 
>
> Regards,
> Sai Teja, AdWords API Team.
>
> On Thursday, August 16, 2018 at 1:33:37 PM UTC-4, rentca...@gmail.com 
> wrote:
>>
>> Hi,
>>
>> I'm getting error "Failed to refresh access token. See inner exception 
>> for details." when I try to get campaign information.  The line of code 
>> is page = campaignService.get(selector) where page = "CampaignPage".  This 
>> process works when I use it in a web application but not when I use it in a 
>> windows service.  Below is some information that I hope will be helpful in 
>> figuring out the problem.  I was not able to get the logging working in the 
>> windows service.
>>
>> CampaignService
>> {Google.Api.Ads.AdWords.v201806.CampaignService}
>> Channel: {System.Runtime.Remoting.Proxies.__TransparentProxy}
>> ChannelFactory: {System.ServiceModel.ChannelFactory(Of 
>> Google.Api.Ads.AdWords.v201806.ICampaignService)}
>> ClientCredentials: {System.ServiceModel.Description.ClientCredentials}
>> EnableDecompression: True
>> Endpoint: Address={
>> https://adwords.google.com/api/adwords/cm/v201806/CampaignService}
>> InnerChannel: {System.Runtime.Remoting.Proxies.__TransparentProxy}
>> Proxy: {System.Net.WebRequest.WebProxyWrapper}
>> RequestHeader: {https://adwords.google.com/api/adwords/cm/v201806;>
>>   Replace for security
>>   Replace for security
>>   
>> }
>> ResponseHeader: Nothing
>> Signature: {Google.Api.Ads.AdWords.Lib.AdWordsServiceSignature}
>> State: Created {0}
>> Timeout: 0
>> Url: "
>> https://adwords.google.com/api/adwords/cm/v201806/CampaignService;
>> User: {Google.Api.Ads.AdWords.Lib.AdWordsUser}
>> UserAgent: Nothing
>>
>> CampaignService.User.Config
>> {Google.Api.Ads.AdWords.Lib.AdWordsAppConfig}
>> AdWordsApiServer: "https://adwords.google.com;
>> ClientCustomerId: "Replace for security"
>> DeveloperToken: "Replace for security"
>> EnableGzipCompression: True
>> GMBLoginEmail: ""
>> GMBOAuth2RefreshToken: ""
>> IncludeUtilitiesInUserAgent: False
>> IncludeZeroImpressions: Nothing
>> MaskCredentials: True
>> MerchantCenterId: 0
>> OAuth2AccessToken: ""
>> OAuth2ClientId: "Replace for security"
>> OAuth2ClientSecret: "Replace for security"
>> OAuth2Mode: APPLICATION {0}
>> OAuth2PrivateKey: ""
>> OAuth2PrnEmail: ""
>> OAuth2RedirectUri: "Replace for security"
>> OAuth2RefreshToken: "Replace for security"
>> OAuth2Scope: "https://www.googleapis.com/auth/adwords;
>> OAuth2SecretsJsonPath: ""
>> OAuth2ServerUrl: "https://accounts.google.com;
>> OAuth2ServiceAccountEmail: Nothing
>> Proxy: Nothing
>> RetryCount: 0
>> Signature: "AwApi-DotNet/23.6.0, Common-Dotnet/9.4.0, .NET 
>> CLR/4.0.30319.42000, "
>> SkipColumnHeader: False
>> SkipReportHeader: False
>> SkipReportSummary: False
>> Timeout: 60
>> UnixTimestamp: 1534434608
>> UseRawEnumValues: Nothing
>> UserAgent: "Replace for security"
>>
>> selector
>> {Google.Api.Ads.AdWords.v201806.Selector}
>> dateRange: {Google.Api.Ads.AdWords.v201806.DateRange}
>> fields: {Length=7}
>> ordering: Nothing
>> paging: {LIMIT 0, 500}
>> predicates: Nothing
>> ?selector.fields
>> {Length=7}
>> (0): "Id"
>> (1): "Name"
>> (2): 

Failed to refresh access token. See inner exception for details.

2018-08-16 Thread rentcafedev1
Hi,

I'm getting error "Failed to refresh access token. See inner exception for 
details." when I try to get campaign information.  The line of code is page 
= campaignService.get(selector) where page = "CampaignPage".  This process 
works when I use it in a web application but not when I use it in a windows 
service.  Below is some information that I hope will be helpful in figuring 
out the problem.  I was not able to get the logging working in the windows 
service.

CampaignService
{Google.Api.Ads.AdWords.v201806.CampaignService}
Channel: {System.Runtime.Remoting.Proxies.__TransparentProxy}
ChannelFactory: {System.ServiceModel.ChannelFactory(Of 
Google.Api.Ads.AdWords.v201806.ICampaignService)}
ClientCredentials: {System.ServiceModel.Description.ClientCredentials}
EnableDecompression: True
Endpoint: 
Address={https://adwords.google.com/api/adwords/cm/v201806/CampaignService}
InnerChannel: {System.Runtime.Remoting.Proxies.__TransparentProxy}
Proxy: {System.Net.WebRequest.WebProxyWrapper}
RequestHeader: {https://adwords.google.com/api/adwords/cm/v201806;>
  Replace for security
  Replace for security
  
}
ResponseHeader: Nothing
Signature: {Google.Api.Ads.AdWords.Lib.AdWordsServiceSignature}
State: Created {0}
Timeout: 0
Url: "https://adwords.google.com/api/adwords/cm/v201806/CampaignService;
User: {Google.Api.Ads.AdWords.Lib.AdWordsUser}
UserAgent: Nothing

CampaignService.User.Config
{Google.Api.Ads.AdWords.Lib.AdWordsAppConfig}
AdWordsApiServer: "https://adwords.google.com;
ClientCustomerId: "Replace for security"
DeveloperToken: "Replace for security"
EnableGzipCompression: True
GMBLoginEmail: ""
GMBOAuth2RefreshToken: ""
IncludeUtilitiesInUserAgent: False
IncludeZeroImpressions: Nothing
MaskCredentials: True
MerchantCenterId: 0
OAuth2AccessToken: ""
OAuth2ClientId: "Replace for security"
OAuth2ClientSecret: "Replace for security"
OAuth2Mode: APPLICATION {0}
OAuth2PrivateKey: ""
OAuth2PrnEmail: ""
OAuth2RedirectUri: "Replace for security"
OAuth2RefreshToken: "Replace for security"
OAuth2Scope: "https://www.googleapis.com/auth/adwords;
OAuth2SecretsJsonPath: ""
OAuth2ServerUrl: "https://accounts.google.com;
OAuth2ServiceAccountEmail: Nothing
Proxy: Nothing
RetryCount: 0
Signature: "AwApi-DotNet/23.6.0, Common-Dotnet/9.4.0, .NET 
CLR/4.0.30319.42000, "
SkipColumnHeader: False
SkipReportHeader: False
SkipReportSummary: False
Timeout: 60
UnixTimestamp: 1534434608
UseRawEnumValues: Nothing
UserAgent: "Replace for security"

selector
{Google.Api.Ads.AdWords.v201806.Selector}
dateRange: {Google.Api.Ads.AdWords.v201806.DateRange}
fields: {Length=7}
ordering: Nothing
paging: {LIMIT 0, 500}
predicates: Nothing
?selector.fields
{Length=7}
(0): "Id"
(1): "Name"
(2): "Status"
(3): "StartDate"
(4): "EndDate"
(5): "BaseCampaignId"
(6): "AdvertisingChannelType"

{"Failed to refresh access token. See inner exception for details."}
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean 
includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, 
CancellationToken cancellationToken) 
at 
Google.Api.Ads.Common.OAuth.AdsOAuthProviderImpl.GetAccessTokenForAuthorizationCodeFlow()
  
at 
Google.Api.Ads.Common.OAuth.AdsOAuthProviderImpl.RefreshAccessTokenInOfflineMode()

Error Occurred Message: Failed to retrieve campaign(s). Stack Trace:at 
YSI.Ads.GoogleAdwordsHelper.GetListOfCampaigns(String during, DateTime 
startDate, DateTime endDate) in 
C:\TFS\Cafés\yCPC\Source\GoogleAdwords.vb:line 1711   at 
YSI.Cafe.RC.SiteManager.AdWordsAutomatedTasks.ImportAdwordsCampaigns() in 
C:\TFS\Cafés\RentCafe\Source\ManagerCafe\AppClasses\AdWordsAutomatedTasks.vb:line
 
337   at RCDaily.AdwordsImportCampaignRoutine.ImportAdwordsCampaigns() in 
C:\TFS\Cafés\RentCafe\Source\RCDaily\AdwordsImportCampaignsTasks.vb:line 
33   at RCDaily.AdwordsImportCampaignRoutine.OnExecute(IJobExecutionContext 
context) in 
C:\TFS\Cafés\RentCafe\Source\RCDaily\AdwordsImportCampaignsTasks.vb:line 
27   at RCDaily.yJob.Execute(IJobExecutionContext context) in 
C:\TFS\Cafés\RentCafe\Source\RCDaily\yJob.vb:line 10 Source: YSI.Ads Inner 
Message 1: One or more errors occurred. Inner Stack Trace 1:at 
System.Threading.Tasks.Task.ThrowIfExceptional(Boolean 
includeTaskCanceledExceptions)   at System.Threading.Tasks.Task.Wait(Int32 
millisecondsTimeout, CancellationToken cancellationToken)   at 
Google.Api.Ads.Common.OAuth.AdsOAuthProviderImpl.GetAccessTokenForAuthorizationCodeFlow()
  
 at 
Google.Api.Ads.Common.OAuth.AdsOAuthProviderImpl.RefreshAccessTokenInOfflineMode()
 
Source 1: mscorlib Inner Message 2: An error occurred while sending the 
request. Inner Stack Trace 2:at 
Google.Apis.Http.ConfigurableMessageHandler.d__59.MoveNext()--- 
End of stack trace from previous 

Re: Google Ads API beta { "authorizationError": "DEVELOPER_TOKEN_NOT_WHITELISTED" }

2018-06-28 Thread rentcafedev1
Luis,

Thank you for letting me know the time frame for my developer token getting 
whitelistted.

KDJ

On Wednesday, June 27, 2018 at 8:27:05 PM UTC-7, Luis Xander Talag (AdWords 
API Team) wrote:
>
> Hi,
>
> The whitelisting of your developer token for Google Ads API usually takes 
> up to one to two weeks for approval. You won't receive a new developer 
> token but rather your current developer token will be whitelisted. You will 
> receive an email of approval for you to get notified regarding this. If you 
> haven't received any approval within the time frame, let me know so I could 
> follow up your application.
>
> Thanks and regards,
> Luis
> AdWords API Team  
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"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/2a681773-1fe4-4898-bb8a-72ce569e7053%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Google Ads API beta { "authorizationError": "DEVELOPER_TOKEN_NOT_WHITELISTED" }

2018-06-27 Thread rentcafedev1
Hi,

When I run Google.Ads.GoogleAds.Examples application I receive the 
following error:

Failure:

Message: Status(StatusCode=PermissionDenied, Detail="The caller does not 
have permission")

Failure: { "errors": [ { "errorCode": { "authorizationError": 
"DEVELOPER_TOKEN_NOT_WHITELISTED" }, "message": "Developer token 'Removed 
for security' is not whitelisted." } ] }

Request ID: m7mO5pRZncZ6P5SeTLh6ew

Press [Enter] to continue


I have signed up to use Google Ads API Beta:  After I entered my 
information, the following was displayed on my screen:


Google Ads API Beta:  Sign-up Form

Thank you.  Your request has been accepted and will be processed soon.


How will I know when my request is processed?  Well they whitelist my 
current developer token?  Will I get a new developer token?


KDJ

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c38d210a-dee4-42d7-ba10-67e64077f6e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


CriterionError.INVALID_PROXIMITY_ADDRESS

2018-05-09 Thread rentcafedev1
I've been able to set location targeting with Proximity objects on 
Campaigns using the AdWords API but now I receive error: 
CriterionError.INVALID_PROXIMITY_ADDRESS 
@ operations[0].operand.criterion.address. Below are two soap requests that 
return the error.

POST /api/adwords/cm/v201802/CampaignCriterionService 
VsDebuggerCausalityData: 
uIDPozZgBJ7il0NGldp05Pld12EAcrWcR4J8sk+Jzlx0EYeZRK1v4tzDrSNPp4pZNNDA8t8ACQAA
 
Authorization: REDACTED Accept-Encoding: gzip, deflate TimeStamp: Wed, 09 
May 2018 11:52:12 GMT  http://schemas.xmlsoap.org/soap/envelope/;>  
https://adwords.google.com/api/adwords/cm/v201802;> 
Removed for security 
REDACTED RentCafe Site Manager 
(AwApi-DotNet/23.3.0, Common-Dotnet/9.1.0, .NET CLR/4.0.30319.42000, , 
gzip)   http://www.w3.org/2001/XMLSchema-instance; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema;> https://adwords.google.com/api/adwords/cm/v201802;>  
ADD  1396746409 
 1026650   
  ADD  
1396746409  
MILES 
15  New Boston 
TX 75570 
US
  ADD  
1396746409  
1000  
 

---
POST /api/adwords/cm/v201802/CampaignCriterionService Authorization: 
REDACTED Accept-Encoding: gzip, deflate TimeStamp: Wed, 09 May 2018 
12:05:35 GMT  http://schemas.xmlsoap.org/soap/envelope/;>  
https://adwords.google.com/api/adwords/cm/v201802;> 
Removed for security 
REDACTED RentCafe Site Manager 
(AwApi-DotNet/23.3.0, Common-Dotnet/9.1.0, .NET CLR/4.0.30319.42000, , 
gzip)   http://www.w3.org/2001/XMLSchema-instance; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema;> https://adwords.google.com/api/adwords/cm/v201802;>  
ADD  1396753615 
 1026481   
  ADD  
1396753615  
MILES 
15  Houston 
TX 77019 
US
  ADD  
1396753615  
1000  



KDJ

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5acef0dc-416d-4fde-93dd-4fbec8f0a440%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Developer token cannot be null

2018-02-24 Thread rentcafedev1
I upgraded from v201708 to v201710 now I'm getting the following error:

Inner Message 1: Value cannot be null.
Parameter name: AdWords API requires a developer token. If you don't have 
one, you can refer to the instructions at 
https://developers.google.com/adwords/api/docs/signingup to get one. 

Below are the items in my web.config file.  Please note:  Values removed 
for security reasons.

  

















  


Everything was working great until I upgraded to v201710.  What I'm I 
Missing. 


KDJ

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fbd8cfdf-ba9d-4a51-a529-b3278a729ced%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: API Logging not working

2018-02-07 Thread rentcafedev1
Luis,

Thank you for your response regarding Proximity in the criterion service.  
Is there an estimate on when this will be fixed?

In regards to SOAP logging, I used the guide you referenced before I 
contacted you, with no success.  Is there something I'm missing?

KDJ

On Tuesday, February 6, 2018 at 10:09:37 PM UTC-8, Luis Xander Talag 
(AdWords API Team) wrote:
>
> Hi,
>
> Apologies for the inconvenience. Currently, we have an ongoing issue 
> regarding the Proximity in the criterion service and our team are actively 
> working on this right now. We will keep you updated on this matter once 
> this issue is fixed.
>
> Regarding your API logging, for proper configuration, you may check this 
> guide  for 
> reference.
>
> Thank and regards,
> Luis
> AdWords API Team
>

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

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


API Logging not working

2018-02-06 Thread rentcafedev1
I'm getting the following error even though I'm passing a correct address:

Error: CriterionError.INVALID_PROXIMITY_ADDRESS

I know you require the SOAP request in order to help resolve the issue 
unfortunately I'm unable to get the logging working.  Below is what I added 
to my web.config file for logging.  However it does not log to the 
specified files.  What am I missing?


  

  



  


  



  

  
  




  


KDJ

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6a2f5772-e5dc-4505-84f2-60816b1e0edd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Upcoming changes to AdWords OAuth Scope

2017-12-14 Thread rentcafedev1
I was reading the developers blog and it mention changes to the OAuth 
Scope.  Could you please provide instruction on how to find out what scope 
I'm using.  The developer who wrote the code for this is no longer with the 
company.  I can not find anything in our code that looks like the post on 
the AdWords blog regarding OAuth Scope.

I look at the following links, but they were not helpful.

https://developers.google.com/identity/protocols/googlescopes

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


Thanks

KDJ


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b03c3e66-c326-411c-b7fb-99b57a04452a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to set Call Extension Advanced option through api

2017-07-28 Thread rentcafedev1

Peter,

Thanks for your response.

It worked great.

KDJ

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b83df27d-186a-45a8-a1e8-1a474c2b36f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to set Call Extension Advanced option through api

2017-07-26 Thread rentcafedev1
Peter,

Thanks for your response.  I have created a Conversion action using 
AdCallMatricaConversion and I've created a Call Extension using 
CampaignExtensionSettingSerivce, but it is unclear how to link the 
Conversion action I created to the Call Extension I created via the api.

KDJ


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0fadc787-34cd-43e5-ac78-af3b870125ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Set Conversion value to Don't assign a value (No value tracked)

2017-07-24 Thread rentcafedev1
Thanks for your help Shwetha.
>
>
It worked great.

KDJ

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a4617122-3f8a-4fdd-a343-cb79eb675b5f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to set Call Extension Advanced option through api

2017-07-24 Thread rentcafedev1
How do I set the advanced options for Call Extensions via the api.

Please see attached word document that contains a screen shot.

The Item I'm need to set is outlined in red.

Could you please supply me with a code example.

Thank you

KDJ

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/549dd806-c3e9-4cca-b103-516e62ba43a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


CallExtnsionAdvancedOptionsScreenShot.docx
Description: MS-Word 2007 document


Set Conversion value to Don't assign a value (No value tracked)

2017-07-24 Thread rentcafedev1
How to I set the conversion value via the API.

Please see attached word document for screen shots.


Could you please provide an coding example.

Thanks

KDJ

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/16a7f34c-ab76-4dc4-bd80-614abf5fa544%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ConversionTrackingScreenShots.docx
Description: MS-Word 2007 document


Re: Setting autoTaggingEnabled

2017-05-24 Thread rentcafedev1

>
> Shwetha,
>

It worked!

Thanks for your help.  

KDJ

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/57de652a-e143-46aa-a913-e779eff782aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Setting autoTaggingEnabled

2017-05-24 Thread rentcafedev1
Shwetha,

I did as you suggested.  It did not produce an error but it does not update 
the correct client account.  I need to be able to set autoTaggingEnabled 
for a certain client account.  How would I do that?

Thanks
KDJ

On Wednesday, May 24, 2017 at 12:34:54 PM UTC-7, Shwetha Vastrad (AdWords 
API Team) wrote:
>
> Hi KDJ,
>
> The getCustomers() method takes no arguments and returns a list of 
> Customer objects. This is probably why you encounter the "Arithmetic 
> operation resulted in an overflow" error. Could you change that line of 
> code to the one below and let me know if it works? 
>
> Dim Customer As Customer = CustomerService.getCustomers()(0)
>
> Regards,
> Shwetha, AdWords API Team.
>

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

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


Setting autoTaggingEnabled

2017-05-24 Thread rentcafedev1
How do I set autoTaggingEnabled to true for a certain customer Id?

I've tried the following but I receive and error.

Dim CustomerService As CustomerService = 
CType(User.GetService(AdWordsService.v201702.CustomerService), 
CustomerService)

Dim Customer As Customer = New Customer()
Customer = CustomerService.getCustomers(ClientCustomerId) <-- This 
produces the error "Arithmetic operation resulted in an overflow."
Customer.autoTaggingEnabled = True

Dim response As Customer = CustomerService.mutate(Customer)

It would be helpful if you can provide me with a code example.

Thank you 

KDJ

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0a09a67e-65b0-43ed-8601-184ac32da831%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Stored client's refresh token after access grant, but how do I use it later?

2016-12-12 Thread rentcafedev1
Hi
My web application asks clients to move their MCCs under my account so that 
the web app can manage the account.  To do so, I want to send and accept a 
merge invitation of the account.

The client will be asked to give our app access to their account, and I am 
given an Auth Code.

Using the AuthCode, I call 

oAuth2Provider.FetchAccessAndRefreshTokens(AuthCode)

And then store the resulting refresh token with their client customer id.

I then want to use that refresh token hours later to make the API calls 
that will send and accept the invitation.  How do I request a new Access 
Token given the stored Refresh Token?  I am not storing the client's 
account client_secret, just the refresh token and Client Customer Id.

i have tried:

oAuth2Provider.RefreshToken = RefreshToken
oAuth2Provider.RefreshAccessToken()

but this doesn't work.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/692d804d-e8b8-4d33-95a6-d8cd3318f57e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Budget per Ad?

2016-09-28 Thread rentcafedev1
Hi,
I'm building a tool that I'm hoping to simplify creating Ads for our 
clients, similar to Adwords Express.

I've been instructed to just create a single campaign and adgroup for each 
client, which all ads would be under.  

Can I set a budget for each single Ad in this case?  Or does a budget have 
to be at campaign level and apply to all ads within?

Is there a recommended pattern to follow when simplifying Ad creation and 
hiding campaigns/adgroups?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b056817e-5db6-4986-a01a-387c5fa4da8f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: INVALID_PREDICATE_ENUM_VALUE - can't filter budgets from BudgetService

2016-09-22 Thread rentcafedev1
Oh this works too.  

On Thursday, September 22, 2016 at 2:04:09 PM UTC-7, Shwetha Vastrad 
(AdWords API Team) wrote:
>
> Hi,
>
> Could you change the predicate to the one below and retry the request?
>
>- Predicate.Equals(Budget.Fields.BudgetStatus, 
>BudgetBudgetStatus.ENABLED.ToString())
>
> The service expects the enum value to be a string. Let me know if this 
> works. 
>
> Thanks,
> Shwetha, AdWords API Team.
>

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

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


Re: INVALID_PREDICATE_ENUM_VALUE - can't filter budgets from BudgetService

2016-09-22 Thread rentcafedev1
selector.predicates = New Predicate() {
   Predicate.In(Budget.Fields.BudgetStatus, New String() {"ENABLED"})
}


Figured it out.  You are supposed to send in a string, not use the 
budgetstatus enum to filter budgetstatus.  Makes TOTAL sense! /s



On Thursday, September 22, 2016 at 11:46:01 AM UTC-7, rentca...@gmail.com 
wrote:
>
>  Dim service As BudgetService = 
> CType(User.GetService(AdWordsService.v201607.BudgetService), BudgetService)
> Dim selector As New Selector
>
> selector.fields = New String() {
>Budget.Fields.BudgetId, Budget.Fields.Amount
> }
>
> selector.predicates = New Predicate() {
> Predicate.Equals(Budget.Fields.BudgetStatus, 
> BudgetBudgetStatus.ENABLED)
> }
>
> selector.paging = Paging.Default
>
> Dim page As BudgetPage
> Try
>
> ' Get the text ads.
> page = service.get(selector)
>
> error: INVALID_PREDICATE_ENUM_VALUE, trigger: '0'
>
>
> How can the enum have an invalid value?  Is the BudgetBudgetStatus ENUM 
> not the correct enum for filtering BudgetStatus?  
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/bced8ca0-1e34-4784-8bb6-e8e26b9ed2b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Can't delete budget

2016-09-22 Thread rentcafedev1
Public Function RemoveBudget(ByVal budget As Budget) As Budget

Dim Locations As New Dictionary(Of Int64, Location)
Dim service As BudgetService = 
CType(User.GetService(AdWordsService.v201607.BudgetService), BudgetService)

Dim operation As BudgetOperation = New BudgetOperation()
budget.status = BudgetBudgetStatus.REMOVED
operation.operand = budget
operation.operator = [Operator].REMOVE

Dim operations(0) As BudgetOperation

operations(0) = operation
Try
service.mutate(operations)

Catch e As Exception
Throw New System.ApplicationException("Failed to get location 
for ad.", e)
End Try
Return Nothing
End Function


the budget object passed to this function is returned from the 
BudgetService via a get.  The code runs smoothly without an error, yet my 
next Get request finds the same budget with same Id like my Remove 
operation was just ignored.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/131e80b6-cffc-43e8-bfcd-94cc60b00db7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


INVALID_PREDICATE_ENUM_VALUE - can't filter budgets from BudgetService

2016-09-22 Thread rentcafedev1
 Dim service As BudgetService = 
CType(User.GetService(AdWordsService.v201607.BudgetService), BudgetService)
Dim selector As New Selector

selector.fields = New String() {
   Budget.Fields.BudgetId, Budget.Fields.Amount
}

selector.predicates = New Predicate() {
Predicate.Equals(Budget.Fields.BudgetStatus, 
BudgetBudgetStatus.ENABLED)
}

selector.paging = Paging.Default

Dim page As BudgetPage
Try

' Get the text ads.
page = service.get(selector)

error: INVALID_PREDICATE_ENUM_VALUE, trigger: '0'


How can the enum have an invalid value?  Is the BudgetBudgetStatus ENUM not 
the correct enum for filtering BudgetStatus?  


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8057ea50-af38-406f-b233-7f02418c283e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Trying to create a manager account with the API, is it possible?

2016-08-31 Thread rentcafedev1
I am trying to create accounts for my customers using the API, and would 
like each customer to have their own manager account underneath my root MCC.

When I use ManagedCustomerService to create the account, .canManageAccounts 
is always false, and the documentation says it is ignored when sent to the 
API.  Of course the documentation doesn't mention any way to set this value 
to true or if its possible or not.

If I try to use a MoveOperation to move a child account under a customer 
manager account, i get error ManagedCustomerServiceError.NOT_MANAGER

Private Sub LinkAccounts(ByRef ParentAcctId As Int64, ByRef ChildAcctId 
As Int64, ByRef CustomerService As ManagedCustomerService)
Dim moveOp As MoveOperation = New MoveOperation()
moveOp.oldManagerCustomerId = RootMCCId 'This is my root MCC 
acct id
moveOp.operator = [Operator].SET

Dim link As ManagedCustomerLink = New ManagedCustomerLink()
link.clientCustomerId = ChildAcctId
link.linkStatus = LinkStatus.ACTIVE
link.managerCustomerId = ParentAcctId
moveOp.operand = link
Dim operations() As MoveOperation = {moveOp}
CustomerService.mutateManager(operations)
End Sub

How is this supposed to work?  There is support for hierarchy and getting 
links between accounts, but i can't add them?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8d4e09c0-9df7-40be-855a-398b7178eef8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.