googleAds:mutate campaignCriterionOperation throwing INCONSISTENT_FIELD_VALUES error

2024-06-12 Thread Dan Charbonneau
New to these APIs and I've spent a day searching the conversations and 
can't understand what the fields are mis-matched in my googleAds:mutate 
campaignCriterionOperation.

I get this error if I join the campaignCriterion with "language" or 
"location", but works with things like "keyword".

Here is an example of language criterion, scoped it down to just campaign.

Endpoint:
https://googleads.googleapis.com/v17/customers/{{googAccountId}}/googleAds:mutate

Request Body:
{
"mutateOperations": [
{
"campaignBudgetOperation": {
"create": {
"resourceName": "customers/{{googAccountId}}/campaignBudgets/-1",
"deliveryMethod": "STANDARD",
"period": "DAILY",
"type": "STANDARD",
"name": "API RDA Keyword to website #6 Campaign Budget",
"amountMicros": 500,
"explicitlyShared": false
}
}
},
{
"campaignOperation": {
"create": {
"resourceName": "customers/{{googAccountId}}/campaigns/-2",
"status": "ENABLED",
"advertisingChannelType": "SEARCH",
"name": "API RDA Keyword to website #6 Campaign",
"campaignBudget": "customers/{{googAccountId}}/campaignBudgets/-1",
"networkSettings": {
"targetGoogleSearch": true,
"targetSearchNetwork": true,
"targetContentNetwork": false,
"targetPartnerSearchNetwork": false,
"targetYoutube": false,
"targetGoogleTvNetwork": false
},
"frequencyCaps": [
{
"key": {
"level": "AD_GROUP",
"eventType": "IMPRESSION",
"timeUnit": "DAY",
"timeLength": 1
},
"cap": 2
}
],
"paymentMode": "CLICKS",
"assetAutomationSettings": [
{
"assetAutomationType": "TEXT_ASSET_AUTOMATION",
"assetAutomationStatus": "OPTED_OUT"
}
],
"manualCpc": {
"enhancedCpcEnabled": true
}
}
}
},
{
"campaignCriterionOperation": {
"create": {
"resourceName": "customers/{{googAccountId}}/campaignCriteria/-2~-7",
"status": "ENABLED",
"campaign": "customers/{{googAccountId}}/campaigns/-2",
// "bidModifier": number,
"negative": false,
"language": {
"languageConstant": "languageConstants/1000"
}
// "location": {
// "geoTargetConstant": "geoTargetConstants/2840"
// }
// "keyword": {
// "matchType": "EXACT",
// "text": "Desk"
// }
}
}
}
]
}

Request Response:
{
"error": {
"code": 400,
"message": "Request contains an invalid argument.",
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": 
"type.googleapis.com/google.ads.googleads.v17.errors.GoogleAdsFailure",
"errors": [
{
"errorCode": {
"mutateError": "INCONSISTENT_FIELD_VALUES"
},
"message": "The field's contents don't match another field that represents 
the same data.",
"location": {
"fieldPathElements": [
{
"fieldName": "mutate_operations",
"index": 2
},
{
"fieldName": "campaign_criterion_operation"
},
{
"fieldName": "create"
},
{
"fieldName": "resource_name"
}
]
}
}
],
"requestId": "_bYxfOF37nzaZDeQcsNd-Q"
}
]
}
}

Thanks in advance for any insight or 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2c882257-c95a-4dca-a500-01d22a1ce862n%40googlegroups.com.


Re: Clarification on 'This metric is not publicly available'

2024-02-15 Thread Dan Thies
"Not publicly available" means that you can't get it via the API.

On Wednesday, February 14, 2024 at 1:22:59 AM UTC-8 Oksana Sulyma wrote:

> Hi team, just wanted to confirm that my question is still actual. Thanks!
>
> On Monday, February 12, 2024 at 8:25:15 PM UTC+2 Oksana Sulyma wrote:
>
>> Hi Google Ad API team!
>>
>> I see in documentation here 
>>
>> https://developers.google.com/google-ads/api/fields/v15/campaign#metrics.auction_insight_search_absolute_top_impression_percentage
>>  
>>  that auction metrics are not publicly available.
>>
>> When I try to pull them I get: "message": "The caller does not have 
>> permission", "code": 7, "status": "PERMISSION_DENIED".
>>
>> Could you please explain what does it mean 'This metric is not publicly 
>> available.' ? Does it require some specific permissions? Meaning if metric 
>> is not available publicly, there should be some private access available 
>> and I'm looking for any documentation or advices on how to get private 
>> access.
>>
>> Thanks, any info will be helpful!
>> Oksana
>>
>>
>>

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

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


Re: discrepancies in historical monthly search volumes between api and web keyword planner

2023-05-16 Thread Dan Thies
On Thursday, May 11, 2023 at 10:01:55 PM UTC+8 wil...@wturrell.co.uk wrote:The other thread refers to forecast data and I'm looking at Historical metrics.https://developers.google.com/google-ads/api/reference/rpc/v13/KeywordPlanService?hl=en#generatehistoricalmetricsCan you confirm that TrafficEstimatorService is the old name for the Keyword Planner and this situation applies to historical searches as well? (it seems odd that the API and the web UI would use a different data source.)I believe that this is correct. It’s always been the case that the APIs run on different servers/data centers/data stores.The keyword data is extra weird, because even in the web interface you can get different data between two accounts. The more an advertiser spends the better the data they get but Google deliberately makes it fuzzy for everyone. I did look at the XHR requests when paging through results in https://ads.google.com/aw/keywordplanner/plan/keywords/historical?... but it didn't help much.(Thanks)On Thursday, May 11, 2023 at 11:31:29 AM UTC+1 Google Ads API Forum Advisor wrote:

	

Hi Dan,

Thank you for sharing the solution to on this thread. This will greatly help the community.

@Will, 

You may check the thread (https://groups.google.com/g/adwords-api/c/LASHwRCl1xQ/m/PegUXzurEAAJ) provided by Dan and let us know if you have further question.

Regards,


	
		
			
			Google Ads API Team
		
	

ref:_00D1U1174p._5004Q2lGnUr:ref




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to a topic in the Google Groups "Google Ads API and AdWords API Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-api/eC6SGX-IgC0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/d29c303f-2227-4350-9f16-6e29b2c16e91n%40googlegroups.com.




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups "Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/36783BF4-F40B-411D-AAC7-0A307658BD95%40shoppingads.today.


Re: application for basic access april 30, no response

2023-05-11 Thread Dan Thies
Thsnk you,

I have been checking spam regularly. The email address assigned as API 
contact is the same I am replying from here.

MCC: 755-686-8003
 
I was able to locate a Case ID for my submission which shows up on 
support.google.com pages: Case ID 7-941933905

On Thursday, May 11, 2023 at 2:42:12 AM UTC-7 Google Ads API Forum Advisor 
wrote:

> Hi Dan,
>
> Thank you for reaching out to the Google Ads API support team. I hope that 
> you are doing well today.
>
> I understand your concern, however, with regards your concern if there are 
> ways to know if the Google Ads API Compliance team received the requests, 
> we cannot answer that as we do not have any visibility in terms of 
> Developer Token application process or anything related to Google Ads API 
> Compliance. However, since you mentioned that you submitted a contact form 
> last Friday, May 5, 2023, have you tried to check your spam folder? If not 
> yet, please check your spam folder for the Compliance team's response. In 
> addition, please make sure that the email address that is assigned in the 
> API contact email in the API center is active as the Compliance team 
> replies on that email address.
>
> However, if in the event that you have checked the spam folder and the 
> email address that you use is active, please provide us the MCC id or 
> account id.
>
> Kind regards, 
> [image: Google Logo] Google Ads API Team 
>
> ref:_00D1U1174p._5004Q2lGjwH:ref
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/dceccab9-6eb1-439f-8df6-24bfad875f86n%40googlegroups.com.


Re: Discrepancies in Historical monthly search volumes between API and web keyword planner

2023-05-10 Thread Dan Thies
Answered here - 
https://groups.google.com/g/adwords-api/c/LASHwRCl1xQ/m/PegUXzurEAAJ

On Wednesday, May 10, 2023 at 1:31:19 PM UTC-7 William Turrell wrote:

> If I add terms to a Keyword Plan and retrieve historical data, it's common 
> for a few months in the web UI (via a CSV download) to have different 
> search volumes to the same data retrieved via the API.
>
> Is this a known issue? Something I'm missing? (The geo_target should be 
> the same for both, not sure what else could be different).
>
> Thanks,
> Willim
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/92c92b56-b2c1-4665-806b-924ddc5af1a6n%40googlegroups.com.


Auth issue

2022-12-02 Thread Dan Willoughby
Hi,

I am getting the below error response:

errors {

  error_code {

authorization_error: USER_PERMISSION_DENIED

  }

  message: "User doesn\'t have permission to access customer. Note: If 
you\'re accessing a client customer, the manager\'s customer id must be set 
in the \'login-customer-id\' header. See 
https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid;

}

request_id: "mQoaR4UejQk7Wn8kh3skMQ"

, 'mQoaR4UejQk7Wn8kh3skMQ')


This seems to be happening randomly, even though the error indicates it is 
not random. I retry this manually on the server (same arguments passed) and 
it returns as expected. But overnight we randomly get errors like the 
above. 

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/cf198911-5773-4589-b51b-7d2feb74c480n%40googlegroups.com.


Aggregated Campaign Data

2022-11-10 Thread 'Dan Williams' via Google Ads API and AdWords API Forum
Hello

I want to get hour of day data for campaigns with names containing certain 
phrases.

My current query is: 
SELECT segments.hour,  metrics.clicks, 
metrics.conversions_value,metrics.cost_micros, metrics.conversions FROM 
campaign WHERE campaign.name REGEXP_MATCH '.*{CAMPAIGN_CONTAINS}.*' AND 
segments.date BETWEEN {STARTDATE} AND ${ENDDATE} 

Despite the fact that I am not including campaign.name or campaign.id in 
the query, the rows that are returned are split by campaign. I don't want 
this. I want them to be grouped. 

I tried to see if I could get this data from the customer report type but 
you predictably can't apply campaign.name filters on a campaign report. 

Do I just need to give up and aggregate the data myself?  

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6f915324-6618-45d3-a8b5-3e755478ad48n%40googlegroups.com.


Permission Denied Error

2022-11-07 Thread Dan Brady
I'm trying to execute a request to get some metrics data from the Ads API 
on behalf of a client.

If I construct a POST request in postman and post to 
https://googleads.googleapis.com/v12/customers/xxx/googleAds:searchStream, 
the response is what would be expected.

However when I execute using the dotNet client library, specifying the same 
paramaters as above, I get the following error:

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

Is there some extra level of authorisation the client needs to provide our 
manager account in order to use the client libraries as opposed to a 
straight http POST request?

Thanks for any help on this one,
Dan

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/bb338276-29a7-4669-bb7a-d31114a0b02cn%40googlegroups.com.


Conversion Tracking

2022-10-12 Thread 'Dan The Developer' via Google Ads API and AdWords API Forum
Good Morning and thank you for helping in advance,

Within the google ads UI - Are conversions tracked on the date of 
conversion or the date of first click?

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f0abb1dd-5293-40c3-9d5a-5ed6b46562d8n%40googlegroups.com.


Partial Failures Occurred

2022-10-11 Thread 'Dan The Developer' via Google Ads API and AdWords API Forum
Good Morning,
Thank you for your help in advance. 

Can you please help me troubleshoot?


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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/bb658bc4-a2c7-488a-bc4a-01d46d30c65cn%40googlegroups.com.


Re: How to determine what is causing RESOURCE_EXHAUSTED?

2022-09-27 Thread Dan Willoughby
Im on using the official python client V11 and my retry time is also 900 
seconds. Identical to other users details.

On Tuesday, September 27, 2022 at 11:20:31 AM UTC+1 Dan Willoughby wrote:

> I am also facing the same issue all of a sudden, (last 12-16 hours 
> roughly). Despite having standard access and no increase in request volume. 
> Is this a temporary issue or should I be changing something?
>
> On Friday, August 5, 2022 at 7:35:10 PM UTC+1 salesmar...@gmail.com wrote:
>
>> How can I see what's causing my API limits to be reached? I get the error 
>> when trying to enable or pause a campaign, but I only do that once/day. So 
>> something else is hitting my API hard - probably a thirrd party service 
>> that monitors my ads.
>>
>> I need to see a report of my API calls so I can confirm what's using up 
>> my quota.
>>
>> Where is there such a report?
>>
>> Thanks.
>>
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2baad8d9-652c-4695-8ce6-41fa705a2e8an%40googlegroups.com.


Re: How to determine what is causing RESOURCE_EXHAUSTED?

2022-09-27 Thread Dan Willoughby
I am also facing the same issue all of a sudden, (last 12-16 hours 
roughly). Despite having standard access and no increase in request volume. 
Is this a temporary issue or should I be changing something?

On Friday, August 5, 2022 at 7:35:10 PM UTC+1 salesmar...@gmail.com wrote:

> How can I see what's causing my API limits to be reached? I get the error 
> when trying to enable or pause a campaign, but I only do that once/day. So 
> something else is hitting my API hard - probably a thirrd party service 
> that monitors my ads.
>
> I need to see a report of my API calls so I can confirm what's using up my 
> quota.
>
> Where is there such a report?
>
> Thanks.
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1f88dd20-8acd-49af-bfb8-1df45774fa90n%40googlegroups.com.


Re: User making changes on account

2022-04-12 Thread Dan Slay
  
  

 That still doesn’t answer my question. I know I can use both of those. If you 
read the question, I want to know the most accurate way and if there’s any 
other way to associate changes with the user making the change or action, other 
than event_details.
  
  
  
  
  
  
  

  
  
>   
> On Apr 11, 2022 at 7:34 pm,   (mailto:adsapi@forumsupport.google)>  wrote:
>   
>   
>   
>
> Hello Dan,
>   
>  Thanks for the clarification. Please find the response to your question.
>  You can use our sample code “GetChangeDetails 
> (https://developers.google.com/google-ads/api/docs/samples/get-change-details?hl=en)”
>  to get specific details about the most recent changes in your account, 
> including which field. And by using the “GetChangeSummary 
> (https://developers.google.com/google-ads/api/docs/samples/get-change-summary?hl=en)”
>  sample code you can get the changes in the account made in the last 7 days. 
> Hope this helps.
>   
>  Best regards,
>
>   
>   
>   
>   
>
>   
>   
>   
>   
>   
> Jakeia Sabrina
>   
>   
>   
> Google Ads API Team
>   
>   
>   
>   
>   
>   
>   
> 
>   
>  ref:_00D1U1174p._5004Q2ZLkOi:ref

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/770487e2-b27f-49f4-bbf4-816982fce7bc%40iPhone.


RE: User making changes on account

2022-04-12 Thread Dan Slay

	Hi,When I say discrepancies, I mean that you are not going to see all the changes made in change history, according to the docs. I'm not talking a comparison between Adwords API and Ads API.Can you respond to my other query please?ThanksDan.
On Mon, Apr 11, 2022 at 3:00pm, Google Ads API Forum Advisor <adsapi@forumsupport.google> wrote:Hello Dan,  Thanks for reaching out to the Google Ads API Forum.Since you mentioned that you are seeing some discrepancies using the change_event, which is to be expected according to the docs, then for us to investigate further data discrepancies between AdWords API and Ads API, could you please provide us with the following details below?Provide XML format report definition or the complete AWQL containing date filtersAs for Google Ads API, complete request and response logs with request ID and request header generated on your endSample comparison of the Ads API and AdWords API where we can see the missing recordsYou may then send the requested information via the Reply privately to the author option. If this option is not available, you may send the details directly to our googleadsapi-supp...@google.com alias by referring to this thread.  ???Best regards, Jakeia SabrinaGoogle Ads API Team ref:_00D1U1174p._5004Q2ZLkOi:ref



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups "Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/abdb8173-b783-446a-9ef2-09c1d8012e61%40heroteam.co.uk.


User making changes on account

2022-04-11 Thread Dan
HI,

Is the only way to find out the user that has made a change on an account 
via the *change_event*?

For instance if we pull a resource, is there no other way to see the user 
and/or ID who added certain keywords etc. for instance? Like is there a 
user ID we can get or filter on?

We are seeing some discrepancies using the *change_event*, which is to be 
expected according to the docs. Just wondering if there is a better, more 
accurate way to find out what users are doing what on an account, maybe 
with a combination of of change_event and change_status or similar?

Thanks

Dan.

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5dd7a361-2df4-4e20-b8ad-1b7fbd8306e0n%40googlegroups.com.


batch job not finishing or returning an exception

2022-04-01 Thread Dan Willoughby
 

Hi,

I'm testing the batch job service and I followed the googleads python 
libraries example, yet I keep getting this response from the 
ListBatchJobResultsRequest service:


Request made: ClientCustomerId: *redacted*, Host: googleads.googleapis.com, 
Method: 
/google.ads.googleads.v10.services.BatchJobService/ListBatchJobResults, 
RequestId: **, IsFault: True, FaultMessage: Results cannot be retrieved 
until batch job is finished.


I simplified the request to be a simple campaign status change, this is the 
operations array I pass:

[campaign_operation {

  update {

resource_name: "customers/*redacted*/campaigns/*redacted*”

status: PAUSED

  }

}

]

I also removed the asyncio sections and made the methods sync rather than 
async as the async version was taking a long time to poll and I didn't want 
to hit any quotas.

This is also the full exception object:

GoogleAdsException(<_InactiveRpcError of RPC that terminated with:

   status = StatusCode.INVALID_ARGUMENT

   details = "Request contains an invalid argument."

   debug_error_string = 
"{"created":"@1648813055.545324000","description":"Error received from peer 
ipv4:*redacted*","file":"src/core/lib/surface/call.cc","file_line":904,"grpc_message":"Request
 
contains an invalid argument.","grpc_status":3}"

>, <_InactiveRpcError of RPC that terminated with:

   status = StatusCode.INVALID_ARGUMENT

   details = "Request contains an invalid argument."

   debug_error_string = 
"{"created":"@1648813055.545324000","description":"Error received from peer 
ipv4:*redacted*,”file":"src/core/lib/surface/call.cc","file_line":904,"grpc_message":"Request
 
contains an invalid argument.","grpc_status":3}"

>, errors {

  error_code {

batch_job_error: RESULTS_NOT_READY

  }

  message: "Results cannot be retrieved until batch job is finished."

}

request_id: "*redacted*"

, '*redacted*')

This makes me think the Results cannot be retrieved until the batch job is 
finished isn't the reason, could this be a package issue?

I have passed resource names of batch jobs I sent the previous day and they 
still return the same issue. Am I missing something, if there were an error 
would it return that exceptions reason rather than this response?

Lastly the class that builds the mutation operations works fine when I send 
a non batch mutation request. It's just limited to the batch job.

Cheers, 

Dan

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/421804e2-a2fe-4ebb-a114-e13005000cb8n%40googlegroups.com.


Test accounts WITH data.

2022-03-16 Thread Dan
Hi,

Is there anyway to populate a test account with a load of data to work 
with? Seems awkward to have to make all the changes in the test account and 
then wait etc.

Or is there a best practice for this sort of thing?

Thanks

Dan.


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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4948b587-f4d0-405b-8231-a7aa7a299c7dn%40googlegroups.com.


Re: campaign_criterion.type empty on removed criterions

2022-02-08 Thread Dan
Hi Ernie,

Thanks, is there a quick way to get you the info you need? I'm using the 
PHP library.

Also, i'm seeing some discrepancies between *change_event* and 
*change_status*? For instance I added a new CAMPAIGN_SHARED_SET via Google 
Ads UI and I can see that change via change_status but its missed out via 
change_event? Is that right? I'm looking for a reliable way to get all 
changes, what's changed and by who. I don't mind doing multiple calls but I 
just need to correct data.

Thanks

Dan.

On Monday, 7 February 2022 at 02:07:55 UTC adsapi wrote:

> Hi Dan,
>
> Thank you for the reply.
>
> Yes, it should be accessible in the *change_event* as REMOVE 
> <https://developers.google.com/google-ads/api/reference/rpc/v9/ResourceChangeOperationEnum.ResourceChangeOperation#remove>
>  ResourceChangeOperation 
> is supported there. With this, please provide the details that my colleague 
> is asking and the screenshot of the keywords in the *Change history* UI. 
> Also, could you confirm what you used to remove the specific keywords, like 
> Google Ads API, AdWords API, UI or others?
>
> "
>
> *For better illustration of what you get when the keyword is removed, can 
> you please provide us with the complete request 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#request>
>  and response 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#response>
>  logs with request 
> ID 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
>  and request 
> header 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers>
>  generated 
> on your end. You may then send the requested information via 
> the Reply privately to the author option. If this option is not available, 
> you may send the details directly to our googleads...@google.com 
> <https://mail.google.com/mail/u/0/?fs=1=cm=mailto=googleadsapi-supp...@google.com>
>  alias 
> instead.*"
>
> Regards,
> [image: Google Logo] 
> Ernie John Blanca Tacata 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2W49gD:ref
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/52581146-d95f-42e6-9e7e-e06fc32973ecn%40googlegroups.com.


Re: campaign_criterion.type empty on removed criterions

2022-02-04 Thread Dan
Thanks but before I do that, should you still be able to access all of the 
*campaign_criterion* details like *type* etc if it's been removed?

Thanks

On Friday, 4 February 2022 at 06:37:59 UTC adsapi wrote:

> Hello Dan,
>
> Thank you for raising this concern to our Google Ads API support team.
>
> For better illustration of what you get when the keyword is removed, can 
> you please provide us with the complete *request* 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#request>
>  and *response* 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#response>
>  logs with *request ID* 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
>  and *request header* 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers>
>  generated 
> on your end.
>
> You may then send the requested information via the *Reply privately to 
> the author option*. If this option is not available, you may send the 
> details directly to our googleads...@google.com 
> <https://mail.google.com/mail/u/0/?fs=1=cm=mailto=googleadsapi-supp...@google.com>
>  alias 
> instead.
>
> Best regards,
> [image: Google Logo] 
> Jinky Mandaya 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2W49gD:ref
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f96afbb3-f0a1-4ea8-bfb1-47c2200c0e73n%40googlegroups.com.


campaign_criterion.type empty on removed criterions

2022-02-03 Thread Dan
I am pulling the change events using change_event but when I come across 
items that are removed and then do a lookup on the resource_name on say a 
keyword thats been removed, it doesn't give me the campaign_criterion.type 
or the actual keyword thats been removed, even though you can see it in the 
Google Ads interface change history.  Is that by design? Or am I querying 
the criterion wrong?

Thanks

Dan.

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f62bef38-a2d0-4656-b122-53e216926600n%40googlegroups.com.


Google Ads API- Not all conversions are being imported back into Google Ads

2021-12-31 Thread Dan The Developer
How can we check to see that accuracy of the API vs. offline conversions 
imported back into Adwords? Also, are there any paid services to help with 
implementation, optimization, and maintenance?

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8455bcbd-27eb-4902-8082-1733633bc55cn%40googlegroups.com.


App unverified after updating client secret etc

2021-10-11 Thread Dan Willoughby
Hi,

We have an app which was fully verified and using the adwords api. We 
changed the client secret and id as part of a security update. We are now 
faced with the app being reverified. Is there a way to speed this up?

Many thanks,
Dan

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/fb8b6ed6-c13c-43b9-b474-10b012b87bc6n%40googlegroups.com.


Re: Suspended Account

2021-06-10 Thread Dan Moore
Hi,

I've done that and the link you provided says my account is in good
standing but then when I got to my control panel it says suspended.
Something is really wrong and I haven't been able to get a hold of ANYONE
to have a conversation with the link you provided.  I get automated
responses that are form letters.  I need this elevated to P0 level bug.  I
need to speak with someone that has the power to actually do something.

[image: image.png]

On Thu, Jun 10, 2021 at 3:39 PM Google Ads API Forum Advisor
 wrote:

> Hi Dan,
>
> Thank you for reaching out to the Google Ads API team. Google Ads Product
> team would be a more appropriate team to reach out to. Please use this
> link <https://support.google.com/google-ads/gethelp> to fill in out your
> concern.
>
> [image: Google Logo]
> Ahmed Salem
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2I1T83:ref
>
> --
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog:
> https://googleadsdeveloper.blogspot.com/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> You received this message because you are subscribed to the Google
> Groups "AdWords API and Google Ads API Forum" group.
> To post to this group, send email to adwords-api@googlegroups.com
> To unsubscribe from this group, send email to
> adwords-api+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/adwords-api?hl=en
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "AdWords API and Google Ads API Forum" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/adwords-api/iPRoJB6A4yE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> adwords-api+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/adwords-api/kGH8r0QUI3XL00uQsM0AHTT66PkxCykXktbw%40sfdc.net
> <https://groups.google.com/d/msgid/adwords-api/kGH8r0QUI3XL00uQsM0AHTT66PkxCykXktbw%40sfdc.net?utm_medium=email_source=footer>
> .
>


-- 
Dan Moore
makeitdoathing.com
@theDANtheMAN
d...@makeitdoathing.com

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

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


Suspended Account

2021-06-09 Thread Dan Moore
Hello,

I was trying to promote my art project Airegan https://www.aire-gan.com which 
is a project about designing machine learning sneakers.  We were suspended 
for selling counterfeit goods, which is not the case.  When you look at our 
store we are only selling posters and sticker packs of artwork and logos we 
designedEven the sneakers that we are eventually going to kickstart 
were commissioned by a us at a sneaker design firm based off machine 
learning generated designs.  HOW CAN THIS BE A CONTERFEIT ITEM?  

I've attempted to rectify this through the account review process and now 
they say we are circumventing systems. Our internet traffic has plummeted 
since the suspension. We were seeing exponential growth but now its near 
zero. 

I haven't been able to speak to anyone or carry on a conversation via email 
with anyone about this.  It is very troubling that Google treats its 
customers this way. 

I feel like this is some automatic system that is being deployed to filter 
out things and it is really getting confused by our content.  

I need someone's help to fix this issue!

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

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


Removing an attribute from feed

2020-10-09 Thread Dan Willoughby
Hi,

I was wondering whether it is possible to remove an attribute from an ad 
customizer feed?

I tried and end up removing the whole feed.

I use this operation:

customizer_feed = {
'feedName': self.feed_name,
'feedId': self.feed_id,
'feedAttributes': column_name,
}

feed_service_operation = {
'operator': 'REMOVE',
'operand': customizer_feed,
}

for the AdCustomiserFeedService mutate call

many thanks,
Dan

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

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


Feed Item Target Service Unmarshalling error

2020-10-06 Thread Dan Willoughby
Hi,

When I run a FeedItemTargetService mutate with the below operator:

campaign_target = {
'xsi_type': 'FeedItemCampaignTarget',
'feedId': ad_customiser_feed['id'],
'feedItemId': ad_customiser_feed_item['feedItemId'],
'campaignId': self.campaigns[unique_id]
}

operation = {'operator': 'ADD', 'operand': campaign_target}

 I get the following error:

Unmarshalling Error: For input string: "3bb08291" 

Any ideas on this?

Many thanks,
Dan

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6f87a9c9-2a15-4512-b41f-d8ed18e5a62dn%40googlegroups.com.


AdCustomizerFeedError.NOT_AD_CUSTOMIZER_FEED

2020-10-06 Thread Dan Willoughby
Hi,

I am currently trying to switch from using the UI to upload ad customiser 
feeds to adwords. I already have accounts where the feed was uploaded via 
the UI. My first approach was:

- Get the feed ID
- Use feed ID to remove Feed
- Create a new feed and populate.

This works with test feeds created using dummy data. But when I use it for 
the feeds which were already present and associated with ad campaigns. I 
get this error,

AdCustomizerFeedError.NOT_AD_CUSTOMIZER_FEED @ operations[0].operand.feedId

When I look on the site in business data it states the feed is of type 'Ad 
customiser data', also other methods work such as removing feed items and 
getting feed id etc. 

I tried a second approach:

- Remove the feeds items completely
- Set the attributes (in case of new columns for the client)
- Populate with the new items/data.

Again this works with feeds that were added using the API. But not for 
these old feeds. The issue here is that when clients needs new columns 
adding, I need to add columns. But when I add columns it reproduces the 
above error.

AdCustomizerFeedError.NOT_AD_CUSTOMIZER_FEED @ operations[0].operand.feedId

I am wondering whether these feeds are a different feed type and require a 
different getservice call?

Is there a way to return the feed type of these older feeds to check if 
this is the issue? Or is it not possible to alter feeds in this way when 
they are being used for live ads?

Cheers,
Dan

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a45117e9-a5ca-4ceb-84fe-8f38f66fe6fan%40googlegroups.com.


Re: Unable to see any documentation on Updating the responsive search ad and expanded text ads in Search Campaign Using Google Ad Words API

2020-07-24 Thread Dan D
Anthony,

Really love how you guys quickly respond - so much respect for that!

So, your answer pointed me in the right direction and I was able to find 
what I was looking for since I'm using the PHP Lib.  

For those of you (like me) that searched and coded for a ton of hours, 
hopefully this helps you for the PHP lib:

https://github.com/googleads/google-ads-php/blob/master/examples/BasicOperations/UpdateExpandedTextAd.php
  

Thanks again,

Dan

On Friday, July 24, 2020 at 12:40:51 PM UTC-7 adsapiforumadvisor wrote:

> Hi Dan,
>
> Examples on how to update ads for Google Ads API can be found in our client 
> library examples 
> <https://developers.google.com/google-ads/api/docs/client-libs>. For 
> example, here is the code 
> <https://github.com/googleads/google-ads-java/blob/master/google-ads-examples/src/main/java/com/google/ads/googleads/examples/basicoperations/UpdateExpandedTextAd.java>
>  
> for updating ads in Java.
>
> Cheers,
>
> Anthony
> Google Ads API Team 
>
> ref:_00D1U1174p._5004Q22Y8r4:ref
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d811cf7c-b9f5-47f2-8a6f-2da42bf0014dn%40googlegroups.com.


Re: Unable to see any documentation on Updating the responsive search ad and expanded text ads in Search Campaign Using Google Ad Words API

2020-07-24 Thread Dan D
Anthony,

That's great for Google AdWords API even there's even a nice example here 
<https://developers.google.cn/adwords/api/docs/samples/php/basic-operations?hl=zh-cn#update-an-expanded-text-ad>
  
for it.  But what about us who took the time and effort to move over to the 
new Google Ads API.  There is no google example of how to update an 
Expanded Text Ad.

Every time I try, I'm getting:

Request with ID 'krnzj15jjMwJnIO8jhwQhg' has failed.

Google Ads failure details:

request_error: Field 'ad.expanded_text_ad.description' cannot be modified 
by 'UPDATE' operation.

request_error: Field 'ad.expanded_text_ad.headline_part1' cannot be 
modified by 'UPDATE' operation.

request_error: Field 'ad.expanded_text_ad.headline_part2' cannot be 
modified by 'UPDATE' operation.

request_error: Field 'ad.final_urls' cannot be modified by 'UPDATE' 
operation.


It would be great if the team could add to the Examples "Updating an 
expanded text ad"  any help in this direction for Google Ad API would be 
appreciated.

Thanks,
Dan

On Wednesday, July 22, 2020 at 6:40:31 AM UTC-7, adsapiforumadvisor wrote:
>
> Hi Gagan,
>
> You can update ads using the AdService 
> <https://developers.google.com/adwords/api/docs/reference/v201809/AdService>. 
> You can find our guide 
> <https://developers.google.com/adwords/api/docs/guides/ad-features#mutating_ads>
>  
> on how to mutate the ads and which ad types support them. You will be able 
> to update your expanded text ads, but not your responsive search ads.
>
> Regards,
> Anthony
> Google Ads API Team
>
> ref:_00D1U1174p._5004Q22Y8r4:ref
>

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

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


Resource Exhausted add keyword

2020-06-10 Thread Dan
Mutate requests to adding keywords return RESOURCE_EXHAUSTED. 
The request contains 500 keywords and i think to respect daily operation 
quota.
what's the problem?
Thanks
Dan

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ec3ecbd4-69fa-43f1-814e-11a27ff68a27o%40googlegroups.com.


Re: Accessing Mobile App Category Exclusions for specific campaigns - Google Ads API - PHP Lib

2020-02-07 Thread Dan GTD
Thanks Bryan thats great.

So how would I get to know what criterion id to use? Does each campaign 
have a criterion id? Because it would let me do this:

SELECT campaign_criterion.mobile_app_category.mobile_app_category_constant"
. "FROM campaign "
. "WHERE campaign.id = 'XXX'

or

SELECT campaign_criterion.mobile_app_category.mobile_app_category_constant"
. "FROM campaign_criterion "
. "WHERE campaign.id = '1011080063'


So do I have to find the criterion id first and then use that in the above? 
How do I get that? Is there only one criterion_id per campaign?

Thanks

Dan,




On Thursday, 6 February 2020 19:29:25 UTC, adsapiforumadvisor wrote:
>
> Hi Dan,
>
> Thank you for reaching out to us. You can use the “Campaign Criterion 
> <https://developers.google.com/google-ads/api/fields/v1/campaign_criterion>” 
> type report to see mobile_app_cateogry_constant 
> <https://developers.google.com/google-ads/api/fields/v1/campaign_criterion#campaign_criterion.mobile_app_category.mobile_app_category_constant>
>  on 
> the campaign level. Let me know if you have further questions.
>
> Thank you,
> Bryan, Google Ads API Team
>
>
> ref:_00D1U1174p._5001UV05Tf:ref
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e859bd5d-c898-4dde-a72c-6e23d8635fe7%40googlegroups.com.


Accessing Mobile App Category Exclusions for specific campaigns - Google Ads API - PHP Lib

2020-02-06 Thread Dan GTD
Hi Guys,

I can access Mobile App Exclusions using:


SELECT mobile_app_category_constant.name
FROM mobile_app_category_constant


But how would I access the mobile app category exclusions by *campaign*? If 
I try and as it to the statement above, it says its not compatible 
combining *Campaign* and *mobile_app_category_constant* data.

Thanks

Dan.

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f0dd336f-0fac-436d-a3aa-302a181b3317%40googlegroups.com.


Re: Getting Errors from a Campaign Mutate - Google Ads API (V2) - PHP

2019-12-02 Thread Dan Slay

Hi Pierrick,
Is there any update to this at all?
Would really appreciate an update as its currently holding up development.
Thanks
Dan.

On Fri, Nov 29, 2019 at 14:21, Dan Slay  wrote:
Hi Pierrick,
Am I doing this correctly? If I do a bulk campaign mutate and there are 
errors it throws an ApiException (see below). Each one of these is 
obviously relating to each campaign that failed but how do I get those 
details e.g. accountLimitType and enclosingId I need to know what campaign 
ids have failed.
Do I have to enable partial failures on mutateCampaignCriteria ? If I do 
that I get another error:
Error occurred during parsing: Class 
google.ads.googleads.v2.errors.GoogleAdsFailure hasn't been added to 
descriptor pool

Am I doing this in the wrong way?
ApiException: {
"message": "Request contains an invalid argument.",
"code": 3,
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": 0,
"data": 
"type.googleapis.com\/google.ads.googleads.v2.errors.GoogleAdsFailure"

},
{
"@type": 0,
"data": [
{
"errorCode": {
"resourceCountLimitExceededError": 
"CAMPAIGN_LIMIT"

},
"message": "Indicates that this request would exceed 
the number of allowed resources in a Campaign. The exact resource type and 
limit being checked can be inferred from accountLimitType, and the numeric 
id of the Campaign involved is given by enclosingId.",

"trigger": {
"stringValue": ""
},
"location": {
"fieldPathElements": [
{
"fieldName": "operations",
"index": "0"
}
]
}
},
{
"errorCode": {
"resourceCountLimitExceededError": 
"CAMPAIGN_LIMIT"

},
"message": "Indicates that this request would exceed 
the number of allowed resources in a Campaign. The exact resource type and 
limit being checked can be inferred from accountLimitType, and the numeric 
id of the Campaign involved is given by enclosingId.",

"trigger": {
"stringValue": ""
},
"location": {
"fieldPathElements": [
{
"fieldName": "operations",
"index": "1"
}
]
}
},
{
"errorCode": {
"resourceCountLimitExceededError": 
"CAMPAIGN_LIMIT"

},
"message": "Indicates that this request would exceed 
the number of allowed resources in a Campaign. The exact resource type and 
limit being checked can be inferred from accountLimitType, and the numeric 
id of the Campaign involved is given by enclosingId.",

"trigger": {
"stringValue": ""
},
"location": {
"fieldPathElements": [
{
"fieldName": "operations",
"index": "2"
}
]
}
},
{
"errorCode": {
"resourceCountLimitExceededError": 
"CAMPAIGN_LIMIT"

},
"message": "Indicates that this request would exceed 
the number of allowed resources in a Campaign. The exact resource type and 
limit being checked can be inferred from accountLimitType, and the numeric 
id of the Campaign involved is given by enclosingId.",

"trigger": {
"stringValue": ""
},
"location": {
"fieldPathElements": [
{
"fieldName": "operations"

Re: Getting Errors from a Campaign Mutate - Google Ads API (V2) - PHP

2019-11-29 Thread Dan Slay
 "resourceCountLimitExceededError": 
"CAMPAIGN_LIMIT"

},
"message": "Indicates that this request would exceed 
the number of allowed resources in a Campaign. The exact resource type and 
limit being checked can be inferred from accountLimitType, and the numeric 
id of the Campaign involved is given by enclosingId.",

"trigger": {
"stringValue": ""
},
"location": {
"fieldPathElements": [
{
"fieldName": "operations",
"index": "9"
}
]
}
},
{
"errorCode": {
"resourceCountLimitExceededError": 
"CAMPAIGN_LIMIT"

},
"message": "Indicates that this request would exceed 
the number of allowed resources in a Campaign. The exact resource type and 
limit being checked can be inferred from accountLimitType, and the numeric 
id of the Campaign involved is given by enclosingId.",

"trigger": {
"stringValue": ""
},
"location": {
"fieldPathElements": [
{
"fieldName": "operations",
"index": "10"
}
]
}
},






On Tue, Nov 12, 2019 at 18:02, Google Ads API Direct Support 
 wrote:

Hi Dan,

My name is Pierrick and I work as a Developer Advocate for Ads API.

Regarding the PHP failure, feel free to open a bug with as much detail as 
possible (environment, etc.) on the associated GitHub project 
[https://github.com/googleads/google-ads-php/issues/new] and we will be 
looking into it.


Concerning the missing information in the Google Ads error, I would like to 
check if this is something specific to the PHP client library or if it is 
generic to the Google Ads API. Do you happen to have the request ID for the 
example you provided?


Thanks,
Pierrick - Ads API Team

ref:_00D1U1174p._5001UMWauF:ref

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

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

To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2095564e-5ad4-44db-a975-786652f966fa%40greatthings.agency.


Re: Getting Errors from a Campaign Mutate - Google Ads API (V2) - PHP

2019-11-12 Thread Dan GTD
You should hopefully have my private response? Please confirm.

Thank

Dan.
 
On Monday, 11 November 2019 15:40:31 UTC, adsapiforumadvisor wrote:
>
> Hi Dan, 
>
> Regret the delay as I was checking this internally with the team. Could 
> you please share the sample logs for both AdWords API and Google Ads API to 
> provide a helpful answer for these errors? You can share the details 
> privately via *Reply privately to author* option. 
>
> Thanks,
> Bharani, Google Ads API Team
>
> ref:_00D1U1174p._5001UMWauF:ref
>

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

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


Re: UserListError.ADVERTISER_NOT_WHITELISTED_FOR_USING_UPLOADED_DATA while uploading the customers to Google Ads

2019-11-12 Thread Dan
Hello,
any news about this issue?

Il giorno lunedì 29 ottobre 2018 15:04:23 UTC+1, Srinivas Giduthuri ha 
scritto:
>
> Hello all,
>
> We are getting the following exception while uploading the customers to 
> Google Ads.
>
> Following is the request and response payloads.
>
> [29 Oct 2018 19:26:48,103-requestInfoLogger:WARN:main] Request made: 
> Service: AdwordsUserListService Method: mutate clientCustomerId: 
> 133-941-2293 URL: 
> https://adwords.google.com/api/adwords/rm/v201809/AdwordsUserListService 
> Request ID: 0005795e70a3d8900a7ef18780075647 ResponseTime(ms): 264 
> OperationsCount: 1 IsFault: true FaultMessage: 
> ApiException{applicationExceptionType=ApiException, 
> errors=[UserListError{apiErrorType=UserListError, 
> errorString=UserListError.ADVERTISER_NOT_WHITELISTED_FOR_USING_UPLOADED_DATA, 
> fieldPath=operations[0].operand, 
> fieldPathElements=[FieldPathElement{field=operations, index=0}, 
> FieldPathElement{field=operand}], reason=USER_LIST_SERVICE_ERROR, 
> trigger=}]}
> [29 Oct 2018 19:26:48,271-soapXmlLogger:INFO:main] SOAP request:
> 
> http://schemas.xmlsoap.org/soap/envelope/; 
> xmlns:xsd="http://www.w3.org/2001/XMLSchema; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance;>
> 
> https://adwords.google.com/api/adwords/rm/v201809; 
> soapenv:mustUnderstand="0">
> https://adwords.google.com/api/adwords/cm/v201809
> ">133-941-2293
> https://adwords.google.com/api/adwords/cm/v201809
> ">REDACTED
> https://adwords.google.com/api/adwords/cm/v201809;>PMM Test Account 
> (AwApi-Java, AdWords-Axis/4.1.0, Common-Java/4.1.0, Axis/1.4, 
> Java/1.8.0_131, maven)
> https://adwords.google.com/api/adwords/cm/v201809
> ">false
> https://adwords.google.com/api/adwords/cm/v201809
> ">false
> 
> 
> 
> https://adwords.google.com/api/adwords/rm/v201809;>
> 
> https://adwords.google.com/api/adwords/cm/v201809;>ADD
> https://adwords.google.com/api/adwords/rm/v201809; 
> xsi:type="ns8:CrmBasedUserList">
> 
> 1a211566-5f85-4f36-9251-ed6e741deb8f
> 
> 1a211566-5f85-4f36-9251-ed6e741deb8f
> OPEN
> 1
> CRM_BASED
> CONTACT_INFO
> 
> 
> 
> 
> 
>
> [29 Oct 2018 19:26:48,271-soapXmlLogger:INFO:main] SOAP response:
> 
> http://schemas.xmlsoap.org/soap/envelope/;>
> 
> https://adwords.google.com/api/adwords/cm/v201809; xmlns:ns2="
> https://adwords.google.com/api/adwords/rm/v201809;>
> 0005795e70a3d8900a7ef18780075647
> AdwordsUserListService
> mutate
> 1
> 264
> 
> 
> 
> 
> soap:Client
> 
> [UserListError.ADVERTISER_NOT_WHITELISTED_FOR_USING_UPLOADED_DATA
>  
> @ operations[0].operand]
> 
> https://adwords.google.com/api/adwords/cm/v201809; xmlns:ns2="
> https://adwords.google.com/api/adwords/rm/v201809;>
> 
> [UserListError.ADVERTISER_NOT_WHITELISTED_FOR_USING_UPLOADED_DATA 
> @ operations[0].operand]
> 
> ApiException
> http://www.w3.org/2001/XMLSchema-instance; xsi:type="ns2:UserListError">
> operations[0].operand
> 
> operations
> 0
> 
> 
> operand
> 
> 
> 
> UserListError.ADVERTISER_NOT_WHITELISTED_FOR_USING_UPLOADED_DATA
> UserListError
> USER_LIST_SERVICE_ERROR
> 
> 
> 
> 
> 
> 
>
> Request failed due to ApiException. Underlying ApiErrors:
>   Error 0: UserListError{apiErrorType=UserListError, 
> errorString=UserListError.ADVERTISER_NOT_WHITELISTED_FOR_USING_UPLOADED_DATA, 
> fieldPath=operations[0].operand, 
> fieldPathElements=[FieldPathElement{field=operations, index=0}, 
> FieldPathElement{field=operand}], reason=USER_LIST_SERVICE_ERROR, trigger=}
>
>

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

Accessing enclosingId= accountLimitType= from Google Ads API (PHP)

2019-11-11 Thread Dan GTD
Hi,

How do you access the enclosingId= accountLimitType= via the new Google Ads 
API? I know how to get it from the Google Adwords API but when I upload a 
load of jobs via mutateCampaignCriteria it says check enclosingId but I 
can't see anywhere how to do it.

Any tips or examples would be great.

Thanks

Dan.

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

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


RE: Getting Errors from a Campaign Mutate - Google Ads API (V2) - PHP

2019-11-07 Thread Dan GTD
Thanks, I’m pretty sure what limits are being hit but I want to know how to 
find that out via the errors. As you can see in my email it doesn’t give 
specifics, like which campaign(s) had the error(s) and what campaign limit 
specifically was hit. The errors just say this:

Indicates that this request would exceed the number of allowed resources in a 
Campaign. The exact resource type and limit being checked can be inferred from 
accountLimitType, and the numeric id of the Campaign involved is given by 
enclosingId.

How do you check the accountLimitType and enclosingId?

Thanks 

Dan

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/20a1b965-c460-4765-8c08-16eab2242880%40googlegroups.com.


Getting Errors from a Campaign Mutate - Google Ads API (V2) - PHP

2019-11-07 Thread Dan GTD
Hi!

So i'm uploading a number of *CampaignCriterionOperations* using 
*mutateCampaignCriteria* and I need to act on any errors for the individual 
operations that may arise. So at the moment i'm getting the following error 
responses:


ApiException was thrown with message '{

"message": "Request contains an invalid argument.",

"code": 3,

"status": "INVALID_ARGUMENT",

"details": [

{

"@type": 0,

"data": 
"type.googleapis.com\/google.ads.googleads.v2.errors.GoogleAdsFailure"

},

{

"@type": 0,

"data": [

{

"errorCode": {

"resourceCountLimitExceededError": "CAMPAIGN_LIMIT"

},

"message": "Indicates that this request would exceed 
the number of allowed resources in a Campaign. The exact resource type and 
limit being checked can be inferred from accountLimitType, and the numeric 
id of the Campaign involved is given by enclosingId.",

"trigger": {

"stringValue": ""

},

"location": {

"fieldPathElements": [

{

"fieldName": "operations",

"index": "7"

}

]

}

},


How do I get the ID of the campaign that had the error and the exact 
resource type and limit? I can't see any way/example to use 
accountLimitType? Or enclosingId?

I have also tried adding ['partialFailure' => true] but that just gives an 
error:

Error occurred during parsing: Class 
google.ads.googleads.v2.errors.GoogleAdsFailure hasn't been added to descriptor 
pool



Any pointers would be great!

Thanks

Dan.

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5f84a8b0-e82b-4fed-96ac-8fe5bf71d9cc%40googlegroups.com.


Object of class Google\Protobuf\StringValue could not be converted to string - PHP - Google Ads API (BETA)

2019-11-04 Thread Dan GTD
Hi,

When I get back a CampaignCriterion using the PHP lib I get the following 
error:

Object of class Google\Protobuf\StringValue could not be converted to string



How do I correctly access that private StringValue object returned from the 
campaign criterion using php? An example would be great.

Thanks

Dan.

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

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


Dev MCC Account Showing as Closed (Google Ads API)

2019-10-25 Thread Dan GTD
Hi Guys,

I've not used my test MCC account for a while and it now it shows as closed 
and it wont let me re-enable it.

I have also tried creating a new test MCC and that doesn't work either.

Any assistance would be appreciated. 

Cheers

Dan

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

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


Retrieving budget changes with Google Ads API

2019-10-22 Thread Dan Zorn
Hey!

Is it possible to get budget changes history for an existing app campaign 
with Google Ads API? On web-interface this info is available in "Change 
History" section.

Thanks in advance.

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6b391d0c-8790-45a4-8e7f-3c076816de62%40googlegroups.com.


Re: Bid strategy for app campaign

2019-10-22 Thread Dan Zorn
 Hi Nikisha!

Thanks for your reply. I found a mistake in my code, now everything is ok.

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5bef7097-a0c3-44bd-a29e-6ec61d83cf40%40googlegroups.com.


Bid strategy for app campaign

2019-10-17 Thread Dan Zorn
Hey!

I'm trying to create app campaign with GoogleAds API. 
If I don't specify *campaign_bidding_strategy* I get error "The required 
field was not present.". If I specify *campaign_bidding_strategy* via 
*BiddingStrategyService* I get another error: "This operation is not 
permitted on this campaign type". Any advice?

Thanks!

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a2e9a8bf-0fed-428d-baf6-877cbea6a11a%40googlegroups.com.


Update Ad

2019-08-09 Thread Dan


I try to update an ad using AdService/MutateAds
if the ad type is EXTENDED_TEXT_AD the service works correctly.
if the ad type is GMAIL_AD the service fails.
By the following the request and the response:
Request

MethodName: google.ads.googleads.v2.services.AdService/MutateAds
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, login-customer-id=XX, 
x-goog-api-client=gl-java/1.8.0_201 gapic/ gax/ grpc/}
Body: customer_id: "XX"
operations {
update {
final_urls {
value: "XX"
}
type: GMAIL_AD
tracking_url_template {
value: "XX"
}
resource_name: "customers/XX/ads/XX"
}
update_mask {
paths: "resource_name"
paths: "final_urls"
paths: "tracking_url_template"
paths: "type"
}
}
Response

Headers: 
Metadata(content-type=application/grpc,request-id=r1ZL8RaOBYJpVdl-3dvpEA,date=Thu,
 
08 Aug 2019 14:54:14 GMT,alt-svc=quic=":443"; ma=2592000; v="46,43,39")
Body: null
Failure message: errors {
error_code {
ad_error: INVALID_AD_TYPE
}
message: "Invalid Ad type. A specific type of Ad is required."
trigger {
string_value: ""
}
location {
field_path_elements {
field_name: "operations"
index {
}
}
field_path_elements {
field_name: "update"
}
field_path_elements {
field_name: "resource_name"
}
}
}

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b7e8be60-d87b-4ac9-ba0b-268469bf8038%40googlegroups.com.


Bug in the lastest version (Google-ads-java 4.0.0)

2019-08-06 Thread Dan
I would report the following bug, changing from Google-ads-java 3.1.0 
to Google-ads-java 4.0.0

[Gax-1] WARN shaded.com.google.ads.googleads.lib.request.summary - FAILURE 
REQUEST SUMMARY. Method: google.ads.googleads.v2.services.
CampaignBudgetService/MutateCampaignBudgets, Endpoint: 
googleads.googleapis.com:443, CustomerID: **, RequestID: null, 
ResponseCode: INTERNAL, Fault: Panic! This is a bug!.
[Gax-1] INFO shaded.com.google.ads.googleads.lib.request.detail - FAILURE 
REQUEST DETAIL.
Request
---
MethodName: google.ads.googleads.v2.services.CampaignBudgetService/
MutateCampaignBudgets
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, login-customer-id=2687763678, 
x-goog-api-client=gl-java/1.8.0_201 gapic/ gax/ grpc/}
Body: customer_id: "**"
operations {
  create {
name {
  value: "Budget #Search ***"
}
amount_micros {
  value: 500
}
delivery_method: STANDARD
  }
}


Response

Headers: null
Body: null
Failure message: null
Status: Status{code=INTERNAL, description=Panic! This is a bug!, 
cause=java.lang.IllegalStateException: Could not find policy 'pick_first'. 
Make sure its implementation is either registered to LoadBalancerRegistry 
or included in META-INF/services/io.grpc.LoadBalancerProvider from your jar 
files.
at io.grpc.internal.AutoConfiguredLoadBalancerFactory$
AutoConfiguredLoadBalancer.(AutoConfiguredLoadBalancerFactory.java:98)
at io.grpc.internal.AutoConfiguredLoadBalancerFactory.newLoadBalancer(
AutoConfiguredLoadBalancerFactory.java:65)
at io.grpc.internal.ManagedChannelImpl.exitIdleMode(
ManagedChannelImpl.java:373)
at io.grpc.internal.ManagedChannelImpl$ChannelTransportProvider$
1ExitIdleModeForTransport.run(ManagedChannelImpl.java:467)
at io.grpc.SynchronizationContext.drain(SynchronizationContext.java:88)
at io.grpc.SynchronizationContext.execute(SynchronizationContext.java:120)
at io.grpc.internal.ManagedChannelImpl$ChannelTransportProvider.get(
ManagedChannelImpl.java:471)
at io.grpc.internal.ClientCallImpl.startInternal(ClientCallImpl.java:255)
at io.grpc.internal.ClientCallImpl.start(ClientCallImpl.java:188)
at io.grpc.internal.CensusTracingModule$TracingClientInterceptor$1.
start(CensusTracingModule.java:394)
at io.grpc.internal.CensusStatsModule$StatsClientInterceptor$1.
start(CensusStatsModule.java:695)
at io.grpc.ForwardingClientCall.start(ForwardingClientCall.java:32)
at shaded.com.google.api.gax.grpc.GrpcHeaderInterceptor$1.
start(GrpcHeaderInterceptor.java:94)
at io.grpc.ForwardingClientCall.start(ForwardingClientCall.java:32)
at shaded.com.google.ads.googleads.lib.logging.LoggingInterceptor$1.start(
LoggingInterceptor.java:78)
at io.grpc.stub.ClientCalls.startCall(ClientCalls.java:310)
at io.grpc.stub.ClientCalls.asyncUnaryRequestCall(ClientCalls.java:282)
at io.grpc.stub.ClientCalls.futureUnaryCall(ClientCalls.java:191)
at shaded.com.google.api.gax.grpc.GrpcDirectCallable.
futureCall(GrpcDirectCallable.java:58)
at shaded.com.google.api.gax.grpc.GrpcUnaryRequestParamCallable.futureCall(
GrpcUnaryRequestParamCallable.java:65)
at shaded.com.google.api.gax.grpc.GrpcExceptionCallable.futureCall(
GrpcExceptionCallable.java:64)
at shaded.com.google.api.gax.rpc.UnaryCallable$1.futureCall(
UnaryCallable.java:126)
at shaded.com.google.ads.googleads.lib.ExceptionTransformingCallable.
futureCall(ExceptionTransformingCallable.java:51)
at shaded.com.google.api.gax.rpc.UnaryCallable$1.futureCall(
UnaryCallable.java:126)
at shaded.com.google.api.gax.rpc.UnaryCallable.futureCall(
UnaryCallable.java:87)
at shaded.com.google.api.gax.rpc.UnaryCallable.call(UnaryCallable.java:112)
at shaded.com.google.ads.googleads.v2.services.CampaignBudgetServiceClient.
mutateCampaignBudgets(CampaignBudgetServiceClient.java:350)
at shaded.com.google.ads.googleads.v2.services.CampaignBudgetServiceClient.
mutateCampaignBudgets(CampaignBudgetServiceClient.java:324)
at com.onetag.frontend.handlers.pagecontent.demand.integration.search.Util.
addCampaignBudget(Util.java:111)
at com.onetag.frontend.handlers.pagecontent.demand.integration.search.Util.
createCampaign(Util.java:147)
at com.onetag.frontend.handlers.pagecontent.demand.integration.search.
GoogleManagement.manageRemoteGoogle(GoogleManagement.java:781)
at com.onetag.frontend.handlers.pagecontent.demand.
CampaignCreateHandler.lambda$handle$13(CampaignCreateHandler.java:1492)
at java.util.concurrent.CompletableFuture$AsyncRun.
run(CompletableFuture.java:1626)
at java.util.concurrent.CompletableFuture$AsyncRun.
exec(CompletableFuture.java:1618)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:
1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(
ForkJoinWorkerThread.java:157)
}.

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

Re: Google Ads Report for all accounts under MCC

2019-04-12 Thread 'Dan Jones' via AdWords API and Google Ads API Forum
Thank you! The Parallel Report Download is an excellent example.

On Thursday, April 11, 2019 at 4:08:07 PM UTC-5, Dan Jones wrote:
>
>
> What is the best way to run a performance report for all accounts under a 
> MCC account/customerid? Does the new Google Ads API support this?
>
> Thank you,
> Dan
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9f2e56f1-64fd-4175-a29a-29dd6d03246a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Google Ads Report for all accounts under MCC

2019-04-11 Thread 'Dan Jones' via AdWords API and Google Ads API Forum

What is the best way to run a performance report for all accounts under a 
MCC account/customerid? Does the new Google Ads API support this?

Thank you,
Dan

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9f8581bf-c22d-48d8-a18b-97339cee5ef2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RATE_EXCEEDED on Standard API account querying once per minute?

2019-02-14 Thread Dan Belkas
Dear Googlers,

We are struggling to figure out what prevents us from normally use Adwords 
API.

We have "Standard Access" API level. Which per description has "unlimited 
number" of API calls.

So we execute 1 API call per minute for targetingIdeaService with 1 
selector.

And it still results in [RateExceededError ].

Retrying after another 60 seconds might through similar error or it might 
work. It's totally random.

Please could you advise if this is happening due to your server load or if 
we do something wrong?

With such frequent errors this is pretty much unusable, unless we ignore 
errors and continue hammering at a rate of 10-100 requests per second to 
get better success ratio?

Thank you
Dan


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b750f7d5-135a-4df6-a1f2-ec1c5a729bf1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ad customizer with IF functions not working

2018-08-03 Thread dan
Hi all,

I had the same issue and it was because I had a comma in the statement so 
it thought there was another argument;


   - {=IF(audience IN(,),welcome back, blah blah 
   blah):optional default text}

Just corrected to


   - {=IF(audience IN(,),welcome back. blah blah 
   blah):optional default text}


On Tuesday, January 31, 2017 at 2:23:19 PM UTC, mark pitchford wrote:
>
> Hi, I can see the roll out now but having an issue with the syntax for 
> audiences, I've followed the exampels from developer blog using;
>
> {=IF(audience IN(12334455,)new text):old text}
>
> I'm getting the error;
>
> One of your functions has invalid if condition. Please check the proper 
> syntax and try again.
>
> Is there any guidance on the syntax/more info?
>
> thanks
>
>
> On Tuesday, January 17, 2017 at 4:09:39 PM UTC, Sreelakshmi Sasidharan 
> (AdWords API Team) wrote:
>>
>> Hi Martin, 
>>
>> This roll out will spread across the next few months. 
>> Unfortunately, the only way to check if your account is enabled for IF 
>> functions would be as described in the blog. 
>>
>> Thanks,
>> Sreelakshmi, AdWords API Team
>>
>>
-- 
*Anicca Digital Ltd*
*Website: *anicca.co.uk 

*Phone: *0116 254 7224
*Main Office:* 1 Abbey Gate, Leicester, LE4 0AA


 






  
       

*Terms and Conditions: 
*Read Here  
*Registered 
Office: *19 Warren Park Way, Enderby, Leicester LE19 4SA. 
*Company No*: 
06984338. *VAT registration number:* 156 864375.





-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f9b09411-680b-4e7c-bb54-1629ff76ccfd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Why CriterionError.CANNOT_BID_MODIFY_CRITERION_TYPE on Keywords?

2018-06-27 Thread Ken Dan Tinio
here is my final code:

*$adGroupCriterionService = $adWordsServices->get($session, 
AdGroupCriterionService::class);*

*$operations = [];*

*$keyword = new Keyword();*
*$keyword->setId($criterionId);*

*$adGroupCriterion = new BiddableAdGroupCriterion();*
*$adGroupCriterion->setAdGroupId($adGroupId);*
*$adGroupCriterion->setCriterion($keyword);*
*$adGroupCriterion->setBidModifier(1.5);*

*// Create ad group criterion operation and add it to the list.*
*$operation = new AdGroupCriterionOperation();*
*$operation->setOperand($adGroupCriterion);*
*$operation->setOperator(Operator::SET);*
*$operations[] = $operation;*

*$result = $adGroupCriterionService->mutate($operations);*

*$adGroupCriterion = $result->getValue()[0];*

*$data = array(*
*"message" => "Keyword with ID %d has updated final URL ",*
*"id"  => $adGroupCriterion->getCriterion()->getId()*
*);*

*array_push(self::$keywords, $data);*

And I am not using SOAP.

The error is:


**
*Fatal error:  Uncaught 
Google\AdsApi\AdWords\v201806\cm\ApiException: 
[CriterionError.CANNOT_BID_MODIFY_CRITERION_TYPE @ 
operations[0].operand.bidModifier] in 
/Applications/MAMP/htdocs/native_adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php:43*
*Stack trace:*
*#0 
/Applications/MAMP/htdocs/native_adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php(43):
 
ReflectionClass-newInstanceArgs(Array)*
*#1 
/Applications/MAMP/htdocs/native_adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsSoapClient.php(202):
 
Google\AdsApi\Common\Util\Reflection-createInstance('Google\\AdsApi\\A...', 
Array)*
*#2 
/Applications/MAMP/htdocs/native_adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsSoapClient.php(164):
 
Google\AdsApi\Common\AdsSoapClient-parseApiExceptionFromSoapFault(Object(SoapFault))*
*#3 
/Applications/MAMP/htdocs/native_adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/AdWords/v201806/cm/AdGroupCriterionService.php(198
 
in*
*/Applications/MAMP/htdocs/native_adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php
 
on line*
*43*
**

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/840a131c-7cd5-4f43-b8a0-b4fe0e41f533%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Why CriterionError.CANNOT_BID_MODIFY_CRITERION_TYPE on Keywords?

2018-06-27 Thread Ken Dan Tinio
here is my final code:

*$adGroupCriterionService = $adWordsServices->get($session, 
AdGroupCriterionService::class);*

*$operations = [];*

*$keyword = new Keyword();*
*$keyword->setId($criterionId);*

*$adGroupCriterion = new BiddableAdGroupCriterion();*
*$adGroupCriterion->setAdGroupId($adGroupId);*
*$adGroupCriterion->setCriterion($keyword);*
*$adGroupCriterion->setBidModifier(1.5);*

*// Create ad group criterion operation and add it to the list.*
*$operation = new AdGroupCriterionOperation();*
*$operation->setOperand($adGroupCriterion);*
*$operation->setOperator(Operator::SET);*
*$operations[] = $operation;*

*$result = $adGroupCriterionService->mutate($operations);*

*$adGroupCriterion = $result->getValue()[0];*

*$data = array(*
*"message" => "Keyword with ID %d has updated final URL ",*
*"id"  => $adGroupCriterion->getCriterion()->getId()*
*);*

*array_push(self::$keywords, $data);*

And I am not using SOAP.

On Wednesday, June 27, 2018 at 3:40:39 PM UTC+8, Ken Dan Tinio wrote:
>
> I have this code that bid adjust on a specific keyword:
>
> *$adGroupCriterionService = $adWordsServices->get($session, 
> AdGroupCriterionService::class);*
>
> *$operations = [];*
>
> *$keyword = new Keyword();*
> *$keyword->setId($criterionId);*
> *$keyword->setText('best science magazines');*
> *$keyword->setMatchType(KeywordMatchType::BROAD);*
>
> *$adGroupCriterion = new BiddableAdGroupCriterion();*
> *$adGroupCriterion->setAdGroupId($adGroupId);*
> *$adGroupCriterion->setCriterion($keyword);*
> *$adGroupCriterion->setBidModifier(1.5);*
>
> *// Create ad group criterion operation and add it to the list.*
> *$operation = new AdGroupCriterionOperation();*
> *$operation->setOperand($adGroupCriterion);*
> *$operation->setOperator(Operator::ADD);*
> *$operations[] = $operation;*
>
> *// Create the ad group criteria on the server and print out some 
> information*
> *// for each created ad group criterion.*
> *// try {*
> *$result = $adGroupCriterionService->mutate($operations);*
> *// } catch (\Exception $e) {*
> *// return array(*
> *//   "status"  => "fail",*
> *//   "message" => 'Caught exception: '.  $e->getMessage()*
> *// );*
> *// }*
>
> *$adGroupCriterion = $result->getValue()[0];*
>
> *$data = array(*
> *"message" => "Keyword with ID %d has updated final URL ",*
> *"id"  => $adGroupCriterion->getCriterion()->getId()*
> *);*
>
> *array_push(self::$keywords, $data);*
>
> The error is:
>
> **
> *Fatal error:  Uncaught 
> Google\AdsApi\AdWords\v201806\cm\ApiException: 
> [CriterionError.CANNOT_BID_MODIFY_CRITERION_TYPE @ 
> operations[0].operand.bidModifier] in 
> /Applications/MAMP/htdocs/native_adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php:43*
> *Stack trace:*
> *#0 
> /Applications/MAMP/htdocs/native_adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php(43):
>  
> ReflectionClass-newInstanceArgs(Array)*
> *#1 
> /Applications/MAMP/htdocs/native_adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsSoapClient.php(202):
>  
> Google\AdsApi\Common\Util\Reflection-createInstance('Google\\AdsApi\\A...',
>  
> Array)*
> *#2 
> /Applications/MAMP/htdocs/native_adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsSoapClient.php(164):
>  
> Google\AdsApi\Common\AdsSoapClient-parseApiExceptionFromSoapFault(Object(SoapFault))*
> *#3 
> /Applications/MAMP/htdocs/native_adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/AdWords/v201806/cm/AdGroupCriterionService.php(198
>  
> in*
> */Applications/MAMP/htdocs/native_adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php
>  
> on line*
> *43*
> **
>

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

Re: Why CriterionError.CANNOT_BID_MODIFY_CRITERION_TYPE on Keywords?

2018-06-27 Thread Ken Dan Tinio
Yes, finally, someone answered, thank you.

Yes this is an existing keyword that I am trying to bid adjust.

On Wednesday, June 27, 2018 at 3:40:39 PM UTC+8, Ken Dan Tinio wrote:
>
> I have this code that bid adjust on a specific keyword:
>
> *$adGroupCriterionService = $adWordsServices->get($session, 
> AdGroupCriterionService::class);*
>
> *$operations = [];*
>
> *$keyword = new Keyword();*
> *$keyword->setId($criterionId);*
> *$keyword->setText('best science magazines');*
> *$keyword->setMatchType(KeywordMatchType::BROAD);*
>
> *$adGroupCriterion = new BiddableAdGroupCriterion();*
> *$adGroupCriterion->setAdGroupId($adGroupId);*
> *$adGroupCriterion->setCriterion($keyword);*
> *$adGroupCriterion->setBidModifier(1.5);*
>
> *// Create ad group criterion operation and add it to the list.*
> *$operation = new AdGroupCriterionOperation();*
> *$operation->setOperand($adGroupCriterion);*
> *$operation->setOperator(Operator::ADD);*
> *$operations[] = $operation;*
>
> *// Create the ad group criteria on the server and print out some 
> information*
> *// for each created ad group criterion.*
> *// try {*
> *$result = $adGroupCriterionService->mutate($operations);*
> *// } catch (\Exception $e) {*
> *// return array(*
> *//   "status"  => "fail",*
> *//   "message" => 'Caught exception: '.  $e->getMessage()*
> *// );*
> *// }*
>
> *$adGroupCriterion = $result->getValue()[0];*
>
> *$data = array(*
> *"message" => "Keyword with ID %d has updated final URL ",*
> *"id"  => $adGroupCriterion->getCriterion()->getId()*
> *);*
>
> *array_push(self::$keywords, $data);*
>
> The error is:
>
> **
> *Fatal error:  Uncaught 
> Google\AdsApi\AdWords\v201806\cm\ApiException: 
> [CriterionError.CANNOT_BID_MODIFY_CRITERION_TYPE @ 
> operations[0].operand.bidModifier] in 
> /Applications/MAMP/htdocs/native_adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php:43*
> *Stack trace:*
> *#0 
> /Applications/MAMP/htdocs/native_adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php(43):
>  
> ReflectionClass-newInstanceArgs(Array)*
> *#1 
> /Applications/MAMP/htdocs/native_adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsSoapClient.php(202):
>  
> Google\AdsApi\Common\Util\Reflection-createInstance('Google\\AdsApi\\A...',
>  
> Array)*
> *#2 
> /Applications/MAMP/htdocs/native_adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsSoapClient.php(164):
>  
> Google\AdsApi\Common\AdsSoapClient-parseApiExceptionFromSoapFault(Object(SoapFault))*
> *#3 
> /Applications/MAMP/htdocs/native_adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/AdWords/v201806/cm/AdGroupCriterionService.php(198
>  
> in*
> */Applications/MAMP/htdocs/native_adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php
>  
> on line*
> *43*
> **
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/cd031193-03f7-4e92-bab2-a6763eb958a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Why CriterionError.CANNOT_BID_MODIFY_CRITERION_TYPE on Keywords?

2018-06-27 Thread Ken Dan Tinio
I have this code that bid adjust on a specific keyword:

*$adGroupCriterionService = $adWordsServices->get($session, 
AdGroupCriterionService::class);*

*$operations = [];*

*$keyword = new Keyword();*
*$keyword->setId($criterionId);*
*$keyword->setText('best science magazines');*
*$keyword->setMatchType(KeywordMatchType::BROAD);*

*$adGroupCriterion = new BiddableAdGroupCriterion();*
*$adGroupCriterion->setAdGroupId($adGroupId);*
*$adGroupCriterion->setCriterion($keyword);*
*$adGroupCriterion->setBidModifier(1.5);*

*// Create ad group criterion operation and add it to the list.*
*$operation = new AdGroupCriterionOperation();*
*$operation->setOperand($adGroupCriterion);*
*$operation->setOperator(Operator::ADD);*
*$operations[] = $operation;*

*// Create the ad group criteria on the server and print out some 
information*
*// for each created ad group criterion.*
*// try {*
*$result = $adGroupCriterionService->mutate($operations);*
*// } catch (\Exception $e) {*
*// return array(*
*//   "status"  => "fail",*
*//   "message" => 'Caught exception: '.  $e->getMessage()*
*// );*
*// }*

*$adGroupCriterion = $result->getValue()[0];*

*$data = array(*
*"message" => "Keyword with ID %d has updated final URL ",*
*"id"  => $adGroupCriterion->getCriterion()->getId()*
*);*

*array_push(self::$keywords, $data);*

The error is:

**
*Fatal error:  Uncaught 
Google\AdsApi\AdWords\v201806\cm\ApiException: 
[CriterionError.CANNOT_BID_MODIFY_CRITERION_TYPE @ 
operations[0].operand.bidModifier] in 
/Applications/MAMP/htdocs/native_adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php:43*
*Stack trace:*
*#0 
/Applications/MAMP/htdocs/native_adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php(43):
 
ReflectionClass-newInstanceArgs(Array)*
*#1 
/Applications/MAMP/htdocs/native_adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsSoapClient.php(202):
 
Google\AdsApi\Common\Util\Reflection-createInstance('Google\\AdsApi\\A...', 
Array)*
*#2 
/Applications/MAMP/htdocs/native_adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsSoapClient.php(164):
 
Google\AdsApi\Common\AdsSoapClient-parseApiExceptionFromSoapFault(Object(SoapFault))*
*#3 
/Applications/MAMP/htdocs/native_adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/AdWords/v201806/cm/AdGroupCriterionService.php(198
 
in*
*/Applications/MAMP/htdocs/native_adwords/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/Reflection.php
 
on line*
*43*
**

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d64ca82b-4944-4855-bc63-568c0c893a1f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Is it possible to Bid adjust in keywords in google adwords console?

2018-06-27 Thread Ken Dan Tinio
can you also help me answer 
this? 
https://groups.google.com/forum/?utm_medium=email_source=footer#!topic/adwords-api/ROf0EnScesY

thanks!



On Wednesday, June 27, 2018 at 12:45:32 PM UTC+8, Ken Dan Tinio wrote:
>
> Is it possible to Bid adjust in keywords in google adwords console?  What 
> I mean is in the UI
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3bd1b60b-20d5-4051-a8f0-3db15f566903%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Is it possible to Bid adjust in keywords in google adwords console?

2018-06-26 Thread Ken Dan Tinio
Is it possible to Bid adjust in keywords in google adwords console?  What I 
mean is in the UI

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e7f1771f-1984-4604-83d4-eb44ce572528%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


is it possible to bid adjust on keywords?

2018-06-26 Thread Ken Dan Tinio
is it possible to bid adjust on keywords?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2f02772a-e430-4bf9-9e03-09bd02e06452%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: convert bid modifier to percentage

2018-05-07 Thread Ken Dan Tinio
Okay thanks! :)

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/45111c13-8122-4d97-ad1b-9e3b0689e8f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to set bid modifier to nothing?

2018-05-07 Thread Ken Dan Tinio
Works perfectly! :)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/841d42d9-396f-4c2a-a1b8-c384dcda058e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to set bid modifier to nothing?

2018-05-04 Thread Ken Dan Tinio
I wanted to set modifier to nothing. But I end up removing the criteria.

This is my code. It removes the criteria. I wanted to make it back to 
nothing (not 0% but just no number)

$biddableAdGroupCriterion = new BiddableAdGroupCriterion();
$biddableAdGroupCriterion->setAdGroupId($adGroupId);
$biddableAdGroupCriterion->setCriterion($target);

$biddableAdGroupCriterionOperation = new AdGroupCriterionOperation();

$biddableAdGroupCriterionOperation->setOperand($biddableAdGroupCriterion);
$biddableAdGroupCriterionOperation->setOperator(Operator::REMOVE);

$operations[] = $biddableAdGroupCriterionOperation;
  
$result = $adGroupCriterionService->mutate($operations);

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/13cc16e3-7819-4af4-a957-53cfd15be62e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: convert bid modifier to percentage

2018-05-04 Thread Ken Dan Tinio
I actually looking for a mathematical way of converting 1.5 to 50%.

like 1.5 * 100 = 150% (this is wrong)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/cf00a470-cf24-41c3-ab37-93505d807cd1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


convert bid modifier to percentage

2018-05-04 Thread Ken Dan Tinio
Example I have 1.5 and I want it display as 100%

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fec0fdd8-aad9-4e08-a39d-f5b3e6bebbcc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to bid adjust in Devices?

2018-04-27 Thread Ken Dan Tinio
Thank you very much! you killed it! you rock!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a9c1e351-9ef2-49d9-88d8-2cf341b20d89%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to bid adjust in Platforms?

2018-04-27 Thread Ken Dan Tinio
So far I have this but doesn't seem to work


$devices = new Platform();
// $devices->setPlatformName('Desktop');
$devices->setId(3);

$biddableAdGroupCriterion = new BiddableAdGroupCriterion();
$biddableAdGroupCriterion->setAdGroupId(52012184360);
$biddableAdGroupCriterion->setCriterion($devices);
$biddableAdGroupCriterion->setBidModifier(1.5);

$adGroupCriterionOperation = new AdGroupCriterionOperation();
$adGroupCriterionOperation->setOperand($biddableAdGroupCriterion);
$adGroupCriterionOperation->setOperator(Operator::SET);
$operations[] = $adGroupCriterionOperation;   

$result = $adGroupCriterionService->mutate($operations);

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/bb50be47-293e-4c8a-90b7-c88ce418b997%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to bid adjust in Devices?

2018-04-26 Thread Ken Dan Tinio
So far I have this but doesn't seem to work


$devices = new Platform();
// $devices->setPlatformName('Desktop');
$devices->setId(3);

$biddableAdGroupCriterion = new BiddableAdGroupCriterion();
$biddableAdGroupCriterion->setAdGroupId(52012184360);
$biddableAdGroupCriterion->setCriterion($devices);
$biddableAdGroupCriterion->setBidModifier(1.5);

$adGroupCriterionOperation = new AdGroupCriterionOperation();
$adGroupCriterionOperation->setOperand($biddableAdGroupCriterion);
$adGroupCriterionOperation->setOperator(Operator::SET);
$operations[] = $adGroupCriterionOperation;   

$result = $adGroupCriterionService->mutate($operations);

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b4d8623d-521e-4640-9396-c8a2c9204f9b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to bid adjust in Devices?

2018-04-26 Thread Ken Dan Tinio
How to increase bid adjust in Devices?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7dbe11ad-af89-4a4a-9304-b54d2ec56fb3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Whats new in v201802?

2018-04-09 Thread Ken Dan Tinio
Can anyone give me a link where to read some update logs on whats new on 
this version v201802?

Thank you very much!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ae4a2f0b-e180-49a6-b9b0-b1caf3ab7df4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Fwd: ADGROUP_PERFORMANCE_REPORT showing odd data

2018-03-21 Thread Ken Dan Tinio
-- Forwarded message --
From: Ken Dan Tinio <ken...@blvnp.com>
Date: Wed, Mar 21, 2018 at 6:06 PM
Subject: Re: ADGROUP_PERFORMANCE_REPORT showing odd data
To: adwordsapiadvisor+luisxan...@google.com


$report = 'ADGROUP_PERFORMANCE_REPORT';
$tableName = 'example_'.$report;
$dateRangeType = 'LAST_6_MONTHS';

$dateRange = [
// 'min' => '20180101',
// 'max' => '20180107',
];

$fields = [
'CpcBid',
'AccountDescriptiveName',
'ExternalCustomerId',
'AdGroupId',
'CampaignId',
'Device',
'AdGroupDesktopBidModifier',
'AdGroupTabletBidModifier',
'AdGroupMobileBidModifier',
'AverageCost',
'Clicks',
'Conversions',
'Cost',
'Date',
];

On Wed, Mar 21, 2018 at 5:51 PM, 'Luis Xander Talag (AdWords API Team)' via
AdWords API Forum <adwords-api@googlegroups.com> wrote:

> Hi Ken,
>
> To further investigate this, could you provide the complete report
> definition
> <https://developers.google.com/adwords/api/docs/guides/reporting#create_a_report_definition>
>  for
> this report as well as your client customer id? Please reply via *Reply
> privately to author*.
>
> Thanks 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 a topic in the
> Google Groups "AdWords API Forum" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/to
> pic/adwords-api/bxzl1ApMewo/unsubscribe.
> To unsubscribe from this group and all its topics, 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/71a12b93-0431-4af6-ba61-661deb4b1344%40googlegroups.com
> <https://groups.google.com/d/msgid/adwords-api/71a12b93-0431-4af6-ba61-661deb4b1344%40googlegroups.com?utm_medium=email_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/CAEpNmqRqA0YB%3DH9QA1g_M296_UrHzfHto7OmtA3LEWUz4eEWFA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


ADGROUP_PERFORMANCE_REPORT showing odd data

2018-03-21 Thread Ken Dan Tinio



This is an ADGROUP_PERFORMANCE_REPORT and I am wondering why there is an 
AdGroupMobileBidModifier 10% in Device Computers


Should it be in AdGroupDesktopBidModifier?




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d44a9fca-c0bb-4d85-a960-2d0618a43633%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: is it possible to get CpcBid in Geo performance report or campaign location target report?

2018-03-19 Thread Ken Dan Tinio
I see, thank you! one last question, we assume that CpcBid does not apply 
in geo and campaign location target?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d790fca0-0b2c-4d15-a9c9-80ed226b6206%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: is it possible to get CpcBid in Geo performance report or campaign location target report?

2018-03-18 Thread Ken Dan Tinio
I can see that there is an AverageCpc field. So that means there is CpcBid 
for each target, correct?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5f7ee7dd-143f-4dd7-8799-c6b4e62e298a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


is it possible to get CpcBid in Geo performance report or campaign location target report?

2018-03-17 Thread Ken Dan Tinio
Why are this reports doesn't have CpcBid?


Also, why is there no BidModifier in Geo table? 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d26a6416-6beb-4eae-bc8b-60563604b903%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to remove an ad schedule using id?

2018-02-26 Thread Ken Dan Tinio
Thanks been look for that! Works amazingly!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/29dcf978-e7c7-4bac-a654-b9a95f67dfe8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to remove an ad schedule using id?

2018-02-22 Thread Ken Dan Tinio

>
> The status is null..
>



  $data[] = array(
  "id"  => 
$campaignCriterion->getCriterion()->getId(),
  "type"=> 
$campaignCriterion->getCriterion()->getType(),
  "dayofweek"   => 
$campaignCriterion->getCriterion()->getDayOfWeek(),
  "starthour"   => $string_start_hour,
  "startminute" => $string_start_min,
  "endhour" => $string_end_hour,
  "endminute"   => $string_end_min,
  "campaign_id" => $campaignCriterion->getCampaignId(),
  "status"  => 
$campaignCriterion->getCampaignCriterionStatus(),
  "result"  => $dayofweek.", 
".$string_start_hour.':'.$string_start_min.' to 
'.$string_end_hour.':'.$string_end_min
  ); 




{
"id": 320096,
"type": "AD_SCHEDULE",
"dayofweek": "WEDNESDAY",
"starthour": "00",
"startminute": "00",
"endhour": 24,
"endminute": "00",
"campaign_id": 175483775,
"status": null,
"result": "Wednesday, 00:00 to 24:00"
},

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/14e9cfd7-317f-4fdf-ab8e-e9646e93248b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to remove an ad schedule using id?

2018-02-21 Thread Ken Dan Tinio
How do I know if its removed status?


so far I have this code:

  $data[] = array(
  "id"  => 
$campaignCriterion->getCriterion()->getId(),
  "type"=> 
$campaignCriterion->getCriterion()->getType(),
  "dayofweek"   => 
$campaignCriterion->getCriterion()->getDayOfWeek(),
  "starthour"   => 
$campaignCriterion->getCriterion()->getStartHour(),
  "startminute" => 
$campaignCriterion->getCriterion()->getStartMinute(),
  "endhour" => 
$campaignCriterion->getCriterion()->getEndHour(),
  "endminute"   => 
$campaignCriterion->getCriterion()->getEndMinute(),
  "campaign_id" => $campaignCriterion->getCampaignId(),
  // "campaign_name"   => 
$campaignCriterion->getCampaign()->getName(),
  );

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d039d9d3-20d6-49f3-bda1-b901e9315533%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to remove an ad schedule using id?

2018-02-20 Thread Ken Dan Tinio

so far I have this code


$adsched = new AdSchedule();
$adsched->setId($ad_schedule_id);

// Create a criterion with modified bid.
$criterion = new CampaignCriterion();
$criterion->setCampaignId($campaign_id);
$criterion->setCriterion($adsched);

// Create a campaign criterion operation and add it to the operations 
list.
$operation = new CampaignCriterionOperation();
$operation->setOperator(Operator::REMOVE);
$operation->setOperand($criterion);
$operations = [$operation];


Then I get this error

[OperationAccessDenied.OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY @ 
operations[0]]

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ec46d12b-8688-4b3c-94b4-4572d78e7d01%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to adjusting bid on an existing ad schedule? its says its already existed.

2018-02-20 Thread Ken Dan Tinio
Thank you! I already figure it all out. Hehe Hope this helps to other 
programmers.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f1d5aea7-97e6-4645-a906-791e44d986eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to adjusting bid on an existing ad schedule? its says its already existed.

2018-02-19 Thread Ken Dan Tinio
this is my code for adjust bid in ad schedule.
// Create a mobile platform. The ID can be found in the documentation.
// https://developers.google.com/adwords/api/docs/appendix/platforms
$adsched = new AdSchedule();
$adsched->setDayOfWeek(strtoupper($day_of_the_week));
$adsched->setStartHour($start_hour);
$adsched->setStartMinute(strtoupper($string_start_min));
$adsched->setEndHour($end_hour);
$adsched->setEndMinute(strtoupper($string_end_min));

// Create a criterion with modified bid.
$criterion = new CampaignCriterion();
$criterion->setCampaignId($campaign_id);
$criterion->setCriterion($adsched);
$criterion->setBidModifier($bid_modifier);

// Create a campaign criterion operation and add it to the operations 
list.
$operation = new CampaignCriterionOperation();
$operation->setOperator(Operator::ADD);
$operation->setOperand($criterion);
$operations = [$operation];

and this is my error

 [CampaignCriterionError.CANNOT_ADD_EXISTING_FIELD @ 
operations[0].operand.bidModifier]

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ecbaee91-a02d-4ee3-814e-31d2ea83cb2a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: is there a way to bid adjust on time or date?

2018-02-19 Thread Ken Dan Tinio
Thank you so much for providing me this answer. I have just figure it all 
out as well. We have the same code. Thank you! thank you!

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

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


Re: is there a way to bid adjust on time or date?

2018-02-19 Thread Ken Dan Tinio
So far I have this..



class SetBidModifier {

  const CAMPAIGN_ID = '1010615735';
  // Bid modifiers are float number, not percentages, e.g., 1.5 means 50% 
more
  // bidding.
  const BID_MODIFIER = '1.5';

  public static function runExample(AdWordsServices $adWordsServices, 
AdWordsSession $session, $campaignId, $bidModifier) 
  {
$campaignCriterionService = $adWordsServices->get($session, 
CampaignCriterionService::class);

// Create a mobile platform. The ID can be found in the documentation.
// https://developers.google.com/adwords/api/docs/appendix/platforms
$mobile = new Platform();
$mobile->setId(30001); // HighEndMobile = 30001

$adsched = new AdSchedule();
$adsched->setDayOfWeek(DayOfWeek::MONDAY);
$adsched->setStartHour(24);
$adsched->setStartMinute(MinuteOfHour::ZERO);
$adsched->setEndHour(24);
$adsched->setEndMinute(MinuteOfHour::ZERO);


// Create a criterion with modified bid.
$criterion = new CampaignCriterion();
$criterion->setCampaignId($campaignId);
$criterion->setCriterion($mobile);
$criterion->setBidModifier($bidModifier);

// Create a campaign criterion operation and add it to the operations 
list.
$operation = new CampaignCriterionOperation();
$operation->setOperator(Operator::SET);
$operation->setOperand($criterion);
$operations = [$operation];

// Update campaign criteria on the server.
$results = $campaignCriterionService->mutate($operations);

// Print out some information about the updated campaign criterion.
foreach ($results->getValue() as $campaignCriterion) {
  printf(
  "Campaign criterion with campaign ID %d, criterion ID %d, "
  . "and type '%s' was modified with bid %.2f.\n",
  $campaignCriterion->getCampaignId(),
  $campaignCriterion->getCriterion()->getId(),
  $campaignCriterion->getCriterion()->getType(),
  $campaignCriterion->getBidModifier());
}
  }

  public static function main() 
  {
// Generate a refreshable OAuth2 credential for authentication.
$oAuth2Credential = (new OAuth2TokenBuilder())
->fromFile()
->build();

// Construct an API session configured from a properties file and the 
OAuth2
// credentials above.
$session = (new AdWordsSessionBuilder())
->fromFile()
->withOAuth2Credential($oAuth2Credential)
->build();
self::runExample(new AdWordsServices(), $session, 
intval(self::CAMPAIGN_ID), floatval(self::BID_MODIFIER));
  }
}


I just don't know how to pass the ad schedule to mutate.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4e9b3104-fbc2-4a55-b19b-1d3802f70565%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: is there a way to bid adjust on time or date?

2018-02-19 Thread Ken Dan Tinio
Thank you very much Vincent, I think this is the one that I'm looking for.

we can set startHour, startMinute, dayOfWeek, endHour and endMinute.

Ive check the example, I don't know which one to replace. I know I will be 
asking too much but, I don't really know how to use it. Can you please 
provide me an example. Please...

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/6df89fb2-2b12-4971-9dbf-5b295c3a7865%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: is there a way to bid adjust on time or date?

2018-02-19 Thread Ken Dan Tinio
is ad schedule available in the API?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b597c788-e9c7-446c-a43a-74e1e75f30b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: is there a way to bid adjust on time or date?

2018-02-19 Thread Ken Dan Tinio
How can I access my scripts via API? The scripts are really interesting. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/00426070-16f1-4a67-a23b-20f22632f7fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


is there a way to bid adjust on time or date?

2018-02-18 Thread Ken Dan Tinio
I know its a weird question. I haven't come across of adjusting bidding on 
time and date. But do you guys think its possible?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/10814c20-c85b-4415-a819-0b281a748394%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How do I retrieve a placement using url?

2018-02-08 Thread Ken Dan Tinio
I already figured that out. Thanks for answering! 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/53f22399-75c1-4587-996b-62445b3566b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How do I retrieve a placement using url?

2018-02-07 Thread Ken Dan Tinio
So far I have this retrieves a placement using Id:

$campaignCriterionService = 
$adwords['adWordsServices']->get($adwords['session'], 
AdGroupCriterionService::class);

// Create a selector to select all campaign criteria for the specified
// campaign.
$selector = new Selector();
$selector->setFields(['Id', 'AdGroupId', 'CriteriaType', 'KeywordText', 
'DisplayName']);
$selector->setPredicates([
new Predicate('Id', PredicateOperator::EQUALS, ['412515468868'])
]);
$selector->setPaging(new Paging(0, self::PAGE_LIMIT));

$totalNumEntries = 0;
do {
  // Retrieve campaign criteria one page at a time, continuing to 
request
  // pages until all campaign criteria have been retrieved.
  $page = $campaignCriterionService->get($selector);

  // Print out some information for each campaign criterion.
  if ($page->getEntries() !== null) {
$totalNumEntries = $page->getTotalNumEntries();
foreach ($page->getEntries() as $campaignCriterion) {
  $data[] = array(
  "id"   => $campaignCriterion->getCriterion()->getId(),
  "type" => $campaignCriterion->getCriterion()->getType()
  );
}
  }

  $selector->getPaging()->setStartIndex(
  $selector->getPaging()->getStartIndex() + self::PAGE_LIMIT);
} while ($selector->getPaging()->getStartIndex() < $totalNumEntries);

$message = "Number of results found: ".$totalNumEntries;
return array(
  "status"  => "success",
  "message" => $message,
  "data"=> $data
);

I do not know which field is it used.

WHat I want to do: 

Select placement where url is equals to 'example.com'




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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/10e4164f-4760-45c0-bce2-763348bf80ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How do I show automatic in placement in New Goolge adwords UI/Console?

2018-02-06 Thread Ken Dan Tinio
How do I show automatic placement in New Goolge adwords UI/Console?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1c7ed6e2-b3e0-4d80-84f3-5de72b6cbdd4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: how to remove placement url's in ad group

2018-02-06 Thread Ken Dan Tinio
what happens if I only have url? How to remove this placement url in an 
adgroup level? without the criterion id..

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

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


Re: How to get all adgroups with campaign status enable and pause?

2018-01-18 Thread Ken Dan Tinio
Magnificent! Thank you very much!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fa99050d-95cd-4506-afb2-926d5d850394%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to get all adgroups with campaign status enable and pause?

2018-01-18 Thread Ken Dan Tinio
Switching back to AWQL haha


This one works good for me
*WHERE AdGroupStatus NOT_IN ["REMOVED"] AND CampaignStatus NOT_IN 
["REMOVED"]*

How do you convert this into Selector Method?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4639176d-99da-4247-9616-a241ea2d8ea9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to get all adgroups with campaign status enable and pause?

2018-01-18 Thread Ken Dan Tinio
Switching back to selector, works fine:
*$selector->setPredicates([new Predicate('CampaignStatus', 
PredicateOperator::NOT_IN, ['REMOVED'])]);*

but adding another Predicate:
  *  $selector->setPredicates(*
*[new Predicate('AdGroupStatus', PredicateOperator::NOT_IN, 
['REMOVED'])], *
*[new Predicate('CampaignStatus', PredicateOperator::NOT_IN, 
['REMOVED'])]*
*);*
Doesn't work. Only the first array works fine. 

I am retrieving adgroups without removed status, but campaign status with 
removed is included.

The thing that I am trying to do is, Fetch adgroup with no removed status 
that are not associated with removed campaign. I don't want to see removed 
status.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/021d7ef1-656d-4512-9f48-c2262f7c2f64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to get all adgroups with campaign status enable and pause?

2018-01-18 Thread Ken Dan Tinio
OKay im using AWQL, works fine. BUt

*WHERE CampaignStatus != 'removed'*

gives me an error Details: [fieldPath: ; trigger: ; errorString: 
QueryError.PARSING_FAILED]


Full code of AWQL:

   * $reportQuery = 'SELECT '.$imploded_fields.' FROM 
'.self::$report_type.' '*
*. 'WHERE CampaignStatus IN [REMOVED]'*
*. 'DURING '.self::$date_range_type.'';*

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/94fbf601-2b53-45fc-9415-6cfa6f265551%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Is there a way to do this? attached image

2018-01-18 Thread Ken Dan Tinio
Yes, thanks for helping me out! :)

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"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/b65b12c4-480c-41c4-81d8-497174be1f84%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to get all adgroups with campaign status enable and pause?

2018-01-18 Thread Ken Dan Tinio
I *getAsString() *method, I have already seen it. 


Thats like sounds difficult... how to do it? can you give me a term or word 
of the function for me to research about.. thanks!


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

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


Re: How to get all adgroups with campaign status enable and pause?

2018-01-18 Thread Ken Dan Tinio
I did try that. But the problem is this:

$reportDefinition->setDownloadFormat(DownloadFormat::CSV);


How do I get reports as array or json? I don't want to generate a csv.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/31d79d29-aff1-468a-87fd-7db7c90eb4f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Is there a way to do this? attached image

2018-01-17 Thread Ken Dan Tinio
I already solved my problem. Here is what I did.


// Create report query to get the data for last 7 days.
$reportQuery = 'SELECT CampaignId, AdGroupId, Id, Criteria, 
CriteriaType, '
. 'Impressions, Clicks, Cost FROM CRITERIA_PERFORMANCE_REPORT '
. 'WHERE Status IN [ENABLED, PAUSED] AND Criteria IN ["fb.com", 
"tinder.com"] DURING LAST_7_DAYS';

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/81a6f652-f9a7-47dc-92fe-1d148833d596%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to get all adgroups with campaign status enable and pause?

2018-01-17 Thread Ken Dan Tinio
$selector = new Selector();
$selector->setFields(['Id', 'Name', 'Status', 'CampaignId', 
'CampaignName']);
$selector->setOrdering([new OrderBy('Name', SortOrder::ASCENDING)]);
$selector->setPaging(new Paging(0, self::PAGE_LIMIT));

I have this so far. I have already retrieved all adgroups using this 
selector.

The problem is that the adgroups that I fetch includes adgroups with 
removed campaign.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/448c4c12-22cd-4be4-9a25-2deecc0b3075%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


is there a way to fetch all campaigns with adgroups?

2018-01-16 Thread Ken Dan Tinio
I want to fetch all campaigns along its adgroups in one API request.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a3941ec6-c333-4879-8803-4985e74e1945%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to generate csv with awql report?

2018-01-12 Thread Ken Dan Tinio
I got it. The correct answer is,

$reportDownloadResult->saveToFile('docs/test.csv')

Thank you!

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

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


Re: How to generate csv with awql report?

2018-01-12 Thread Ken Dan Tinio
Where can I set the path?

On Friday, January 12, 2018 at 4:24:33 AM UTC+8, Ken Dan Tinio wrote:
>
> Download a criteria performance report with AWQL
> Reference: 
> https://developers.google.com/adwords/api/docs/samples/php/reporting#download-a-criteria-performance-report-with-awql
>
> This is my code:
>
> *public static function runExample(AdWordsSession $session, 
> $reportFormat) *
> *{*
> *// Create report query to get the data for last 7 days.*
> *$reportQuery = 'SELECT CampaignId, AdGroupId, Id, Criteria, 
> CriteriaType, '*
> *. 'Impressions, Clicks, Cost FROM CRITERIA_PERFORMANCE_REPORT 
> '*
> *. 'WHERE Status IN [ENABLED, PAUSED] DURING LAST_7_DAYS';*
>
> *// Download report as a string.*
> *$reportDownloader = new ReportDownloader($session);*
> *// Optional: If you need to adjust report settings just for this 
> one*
> *// request, you can create and supply the settings override here. 
> Otherwise,*
> *// default values from the configuration file (adsapi_php.ini) 
> are used.*
> *$reportSettingsOverride = (new ReportSettingsBuilder())*
> *->includeZeroImpressions(false)*
> *->build();*
> *$reportDownloadResult = 
> $reportDownloader->downloadReportWithAwql($reportQuery, $reportFormat, 
> $reportSettingsOverride);*
> 
> *self::$report = $reportDownloadResult->getAsString();*
> *self::$status  = "success";*
> *self::$message = "";*
> *}*
>
> *public static function main() *
> *{*
> *// Generate a refreshable OAuth2 credential for authentication.*
> *$oAuth2Credential = (new OAuth2TokenBuilder())*
> *->fromFile()*
> *->build();*
>
> *// See: AdWordsSessionBuilder for setting a client customer ID 
> that is*
> *// different from that specified in your adsapi_php.ini file.*
> *// Construct an API session configured from a properties file and 
> the OAuth2*
> *// credentials above.*
> *$session = (new AdWordsSessionBuilder())*
> *->fromFile()*
> *->withOAuth2Credential($oAuth2Credential)*
> *->build();*
>
> *try {*
> *self::runExample($session, DownloadFormat::CSV);*
> *} catch (\Exception $e) {*
> *return array(*
> *"status" => "fail",*
> *"message" => $e->getMessage()*
> *);*
> *}*
> 
> *return array(*
> *"status" => self::$status,*
> *"report" => self::$report,*
> *);*
> *}*
>
>
> How do I generate the csv?
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ffbf26bc-8884-4660-8162-720d08dd1617%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


  1   2   >